Created
October 3, 2019 19:32
-
-
Save exarkun/c7e9701b7364e2ddb0cf72c718fcfad9 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[exarkun@baryon:~/Work/PrivateStorage/ZKAPAuthorizer]$ nix-shell | |
DEPRECATION: Python 2.7 will reach the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 won't be maintained after that date. A future version of pip will drop support for Python 2.7. | |
Obtaining file:///home/exarkun/Work/PrivateStorage/ZKAPAuthorizer | |
Installing build dependencies ... done | |
Getting requirements to build wheel ... done | |
Preparing wheel metadata ... done | |
Installing collected packages: Zero-Knowledge-Access-Pass-Authorizer | |
Running setup.py develop for Zero-Knowledge-Access-Pass-Authorizer | |
ERROR: Complete output from command /nix/store/x33p1a0aiy0zgcdhm5y6cj5wb1wk6qmv-python-2.7.16/bin/python2.7 -c 'import setuptools, tokenize;__file__='"'"'/home/exarkun/Work/PrivateStorage/ZKAPAuthorizer/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' develop --no-deps --prefix=/run/user/1000/tmp.p2odacsxDb: | |
ERROR: running develop | |
Checking .pth file support in /run/user/1000/tmp.p2odacsxDb/lib/python2.7/site-packages | |
/nix/store/x33p1a0aiy0zgcdhm5y6cj5wb1wk6qmv-python-2.7.16/bin/python2.7 -E -c pass | |
TEST FAILED: /run/user/1000/tmp.p2odacsxDb/lib/python2.7/site-packages does NOT support .pth files | |
error: bad install directory or PYTHONPATH | |
You are attempting to install a package to a directory that is not | |
on PYTHONPATH and which Python does not read ".pth" files from. The | |
installation directory you specified (via --install-dir, --prefix, or | |
the distutils default setting) was: | |
/run/user/1000/tmp.p2odacsxDb/lib/python2.7/site-packages | |
and your PYTHONPATH environment variable currently contains: | |
'/run/user/1000/pip-build-env-Snlptm/site' | |
Here are some of your options for correcting the problem: | |
* You can choose a different installation directory, i.e., one that is | |
on PYTHONPATH or supports .pth files | |
* You can add the installation directory to the PYTHONPATH environment | |
variable. (It must then also be on PYTHONPATH whenever you run | |
Python and want to use the package(s) you are installing.) | |
* You can set up the installation directory to support ".pth" files by | |
using one of the approaches described here: | |
https://setuptools.readthedocs.io/en/latest/easy_install.html#custom-installation-locations | |
Please make the appropriate changes for your system and try again. | |
---------------------------------------- | |
ERROR: Command "/nix/store/x33p1a0aiy0zgcdhm5y6cj5wb1wk6qmv-python-2.7.16/bin/python2.7 -c 'import setuptools, tokenize;__file__='"'"'/home/exarkun/Work/PrivateStorage/ZKAPAuthorizer/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' develop --no-deps --prefix=/run/user/1000/tmp.p2odacsxDb" failed with error code 1 in /home/exarkun/Work/PrivateStorage/ZKAPAuthorizer/ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment