Open k1wiosm opened 8 years ago
Same occurred for me. I am running on Ubuntu 14.04 and used virtualenv before I ran the requirements.
I wonder if this error about libyaml that I am seeing when I run the requirements is innocuous, or if it related to this problem:
$ cd ~/Projects/mapping/maproulette
$ virtualenv env
New python executable in env/bin/python
Installing setuptools, pip...done.
ray@ubu01:~/Projects/mapping/maproulette$
ray@ubu01:~/Projects/mapping/maproulette$
ray@ubu01:~/Projects/mapping/maproulette$ source env/bin/activate
(env)ray@ubu01:~/Projects/mapping/maproulette$
(env)ray@ubu01:~/Projects/mapping/maproulette$ pip install -r requirements.txt
Downloading/unpacking requests>=2.4.1 (from -r requirements.txt (line 1))
Downloading requests-2.7.0-py2.py3-none-any.whl (470kB): 470kB downloaded
Downloading/unpacking geojson>=1.0.9 (from -r requirements.txt (line 2))
Downloading geojson-1.3.0-py2.py3-none-any.whl
Downloading/unpacking PyYAML>=3.11 (from -r requirements.txt (line 4))
Downloading PyYAML-3.11.tar.gz (248kB): 248kB downloaded
Running setup.py (path:/home/ray/Projects/mapping/maproulette/env/build/PyYAML/setup.py) egg_info for package PyYAML
Downloading/unpacking voluptuous>=0.8.6 (from -r requirements.txt (line 5))
Downloading voluptuous-0.8.7.tar.gz
Running setup.py (path:/home/ray/Projects/mapping/maproulette/env/build/voluptuous/setup.py) egg_info for package voluptuous
WARNING: Could not locate pandoc, using Markdown long_description.
Requirement already satisfied (use --upgrade to upgrade): setuptools in ./env/lib/python2.7/site-packages (from geojson>=1.0.9->-r requirements.txt (line 2))
Installing collected packages: requests, geojson, PyYAML, voluptuous
Running setup.py install for PyYAML
checking if libyaml is compilable
x86_64-linux-gnu-gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -I/usr/include/python2.7 -c build/temp.linux-x86_64-2.7/check_libyaml.c -o build/temp.linux-x86_64-2.7/check_libyaml.o
build/temp.linux-x86_64-2.7/check_libyaml.c:2:18: fatal error: yaml.h: No such file or directory
#include <yaml.h>
^
compilation terminated.
libyaml is not found or a compiler error: forcing --without-libyaml
(if libyaml is installed correctly, you may need to
specify the option --include-dirs or uncomment and
modify the parameter include_dirs in setup.cfg)
Running setup.py install for voluptuous
WARNING: Could not locate pandoc, using Markdown long_description.
Successfully installed requests geojson PyYAML voluptuous
Cleaning up...
(env)ray@ubu01:~/Projects/mapping/maproulette$
I did not have an account on http://master.apis.dev.openstreetmap.org. Was this necessary?
Is there somewhere that I need to register my authorization info for this server so that the mmm.py will work?
I keep getting a 401 error after introducing the initial data. This is the error message that I am getting: