astropy/halotools

Can halotools be installed as root?

Firestar-Reimu opened this issue · 1 comments

I use Archlinux and I want to pack halotools as an AUR package, which will be installed into /usr/lib/python3.11/site-packages/

but halotools use pip to install, and pip will say:

Defaulting to user installation because normal site-packages is not writeable

When I'm installing onto a cluster I always write to a path within my own user domain to avoid permissions problems. Are you able to specify the path where you install? You might also try installing from source, although that will require cython to be installed (and the build time takes several minutes).