New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
pip install error #74
Comments
Looks like something may be missing in your system. Probably related: https://unix.stackexchange.com/questions/504139/installing-python-modules-fail-limits-h-missing Can you try installing |
I had the same error and installed the ujson package with the
|
When I tried to reproduce the error using a docker image, I also tried @sipemu's workaround by installing |
Closing this now. If you have any further questions, feel free to open this again. |
For me this helped: I would suggest to add it to documntation or readme. |
I will open a ticket to add documentation for this. Just for clarity: The issue is that some dependencies might need to be built locally, and thus installing gluonts requires a build system to be installed. |
When I run 'pip install gluonts' I am continuously receiving the following error 'Building wheel for ujson (setup.py) ... error' Following this attempts to run 'setup.py clean for ujson' which fails and then attempted "setup.py install for ujson" which also has an error. I have read through a few of the threads and am not sure exactly where to post this question. |
Hey @to-morrow, we depend on Once you can run |
I ended up removing everything and starting from scratch, I made sure to install ujson prior to gluonts however I am now receiving this error when trying to install gluonts. ERROR: Command errored out with exit status 1:
ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output. |
I get compilation error during pip install process on 18.04 when it build the ujson extension:
Running setup.py bdist_wheel for ujson ... error
Complete output from command /home/captain/anaconda3/bin/python -u -c "import setuptools, tokenize;file='/tmp/pip-install-74754z_z/ujson/setup.py';f=getattr(tokenize, 'open', open)(file);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, file, 'exec'))" bdist_wheel -d /tmp/pip-wheel-puziaq_8 --python-tag cp36:
running bdist_wheel
running build
running build_ext
building 'ujson' extension
creating build
creating build/temp.linux-x86_64-3.6
creating build/temp.linux-x86_64-3.6/python
creating build/temp.linux-x86_64-3.6/lib
gcc -pthread -B /home/captain/anaconda3/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I./python -I./lib -I/home/captain/anaconda3/include/python3.6m -c ./python/ujson.c -o build/temp.linux-x86_64-3.6/./python/ujson.o -D_GNU_SOURCE
In file included from /home/captain/anaconda3/lib/gcc/x86_64-unknown-linux-gnu/4.8.5/include-fixed/syslimits.h:7:0,
from /home/captain/anaconda3/lib/gcc/x86_64-unknown-linux-gnu/4.8.5/include-fixed/limits.h:34,
from /home/captain/anaconda3/include/python3.6m/Python.h:11,
from ./python/py_defines.h:39,
from ./python/ujson.c:39:
/home/captain/anaconda3/lib/gcc/x86_64-unknown-linux-gnu/4.8.5/include-fixed/limits.h:168:61: fatal error: limits.h: No such file or directory
#include_next <limits.h> /* recurse down to the real one */
The text was updated successfully, but these errors were encountered: