-
Notifications
You must be signed in to change notification settings - Fork 2.3k
Pip3 install failing on jsonnet #1969
Comments
I am getting the same stacktrace on Ubuntu 14.04, Python 3.6.5, gcc 4.8.4, Pytorch version 1.1.0a0+7f053b2 (latest unstable). Any tips to resolve? |
I am getting the same trouble on Windows 10, Python 3.6.5, gcc 7.1.0, Pytorch 1.0.0. And I failed this jsonnet package so allennlp treats my .json file as python json and meets json.decoder.JSONDecodeError when i train your scibert model. |
@sarahwie can you try with a more recent Ubuntu and gcc? @dearchill windows is not officially supported (and I'm not sure if jsonnet will even install on windows), you'll probably have to remove the jsonnet-specific features from the config file |
@sarahwie try to install jsonnet separately using |
I resolved this by installing the latest version of anaconda on my ubuntu 16.04 instance |
It looks like the AllenNLP version on Anaconda is now out of date: https://anaconda.org/allennlp |
I solved it by installing the older version of scikit-learn: |
@Ravibth you need to install jsonnet using |
Describe the bug
I am getting the following stacktrace error when attempting to install with the command
pip install allennlp
. It is failing on jsonnet package but I don't know why.Command "/usr/local/bin/python3.6 -u -c "import setuptools, tokenize;file='/private/var/folders/sp/4bfpfrfd4m3bx3nl84rvwd5w0000gn/T/pip-install-s0sa1az1/jsonnet/setup.py';f=getattr(tokenize, 'open', open)(file);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, file, 'exec'))" install --record /private/var/folders/sp/4bfpfrfd4m3bx3nl84rvwd5w0000gn/T/pip-record-akb978cv/install-record.txt --single-version-externally-managed --compile" failed with error code 1 in /private/var/folders/sp/4bfpfrfd4m3bx3nl84rvwd5w0000gn/T/pip-install-s0sa1az1/jsonnet/
System (please complete the following information):
Additional context
If there are any workarounds, I am very willing to try them. I am blocked by something until I can resolve this issue. Thanks so much.
The text was updated successfully, but these errors were encountered: