Issue with setup.py install if adcc is a dependency
maxscheurer opened this issue · 1 comments
maxscheurer commented
If one uses adcc
as a dependency (e.g. install_requires
) in a project's setup.py
, the installation fails with:
Downloading libtensorlight from https://github.com/adc-connect/libtensor/releases/download/v3.0.0/libtensorlight-3.0.0-macosx_10_15_x86_64.tar.gz to /Users/maxscheurer/.local ...
error: SandboxViolation: mkdir('/Users/maxscheurer/.local', 511) {}
The package setup script has attempted to modify files on your system
that are not within the EasyInstall build area, and has been aborted.
This package cannot be safely installed by EasyInstall, and may not
support alternate installation locations even if you run its setup
script by hand. Please inform the package's author and the EasyInstall
maintainers to find out if a fix or workaround is available.
Could we come up with some workaround to fix this? I have no idea right now to be honest 😄
mfherbst commented
Puh ... perhaps first find out what locations the "sandbox" covers and adapt the default location for libtensor? Or alternatively provide a small script in the libtensor repo which basically installs to ~/.local and tell people to run that in the abort message?