Closed Ninjagod1251 closed 2 years ago
@sabotagebeats and I were working on getting this to work and found some issues
i think this might be conflicting because of venv because at some point you installed venv
we put together a nice little script that mostly works though so that's cool 😅
is this the same error @Ninjagod1251
Running setup.py develop for eth-ape
ERROR: Command errored out with exit status 1:
command: /usr/bin/python3 -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/home/sabotage/ape/ape/setup.py'"'"'; __file__='"'"'/home/sabotage/ape/ape/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 --user --prefix=
cwd: /home/sabotage/ape/ape/
Complete output (18 lines):
running develop
WARNING: The user site-packages directory is disabled.
error: can't create or remove files in install directory
The following error occurred while trying to add or remove files in the
installation directory:
[Errno 2] No such file or directory: '/usr/lib/python3.8/site-packages/test-easy-install-26570.write-test'
The installation directory you specified (via --install-dir, --prefix, or
the distutils default setting) was:
/usr/lib/python3.8/site-packages/
This directory does not currently exist. Please create it and try again, or
choose a different installation directory (using the -d or --install-dir
option).
----------------------------------------
ERROR: Command errored out with exit status 1: /usr/bin/python3 -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/home/sabotage/ape/ape/setup.py'"'"'; __file__='"'"'/home/sabotage/ape/ape/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 --user --prefix= Check the logs for full command output.
Yes thats the same error
fix documented in https://github.com/pyenv/pyenv-installer/issues/112
Environment information
WSL Ubuntu 20.04
What went wrong?
pip install -e .[dev]
has soms issues when installing. I did a fresh install of Ubuntu and created a virtual env to run the command:Here is the first error code:
Here is the main error line:
Please include information like:
what command you ran:
the code that caused the failure (see this link for help with formatting code)
full output of the error you received
How can it be fixed?
Fill this in if you have ideas on how the bug could be fixed.