You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When running hatch install -l, the following error appears:
Installing...
Obtaining file:///Users/pblair/views/test-project
Installing collected packages: test-project
Running setup.py develop for test-project
Complete output from command /opt/local/bin/python3 -c "import setuptools, tokenize;__file__='/Users/pblair/views/test-project/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:
running develop
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 13] Permission denied: '/opt/local/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/test-easy-install-67789.write-test'
The installation directory you specified (via --install-dir, --prefix, or
the distutils default setting) was:
/opt/local/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/
Perhaps your account does not have write access to this directory? If the
installation directory is a system-owned directory, you may need to sign in
as the administrator or "root" account. If you do not have administrative
access to this machine, you may wish to choose a different installation
directory, preferably one that is listed in your PYTHONPATH environment
variable.
For information on other options, you may wish to consult the
documentation at:
https://setuptools.readthedocs.io/en/latest/easy_install.html
Please make the appropriate changes for your system and try again.
The problem appears to be in the virutualenv handling:
When running
hatch install -l
, the following error appears:The problem appears to be in the
virutualenv
handling:Further investigation seems to indicate that the culprit is the
__PYENV_LAUNCHER__
variable:And, sure enough, unsetting it manually fixes the issue:
Would it be possible to add a
del os.environ["__PYVENV_LAUNCHER__"]
in thevenv
code to remedy this problem?The text was updated successfully, but these errors were encountered: