Hi,
Is there a way to install serpentTools 0.8.0 in a personal directory without administrative privileges? Essentially, I would like to setup the classes and functions in a local/personal manner and just call them as if I had written and placed them there myself so that I do not have to get an HPC admin to create a global library of it.
Thanks,
Aaron Burkhardt
HPC Install w/o Admin
Moderator: drewejohnson
-
- Posts: 56
- Joined: Thu Oct 20, 2016 4:25 pm
- Security question 1: No
- Security question 2: 84
Re: HPC Install w/o Admin
Hi Aaron,
You should be able to install in an almost identical manner on the HPC, using
If you are using the develop version, there are two ways. First, with the setup script:
or as an editable "development" version with
Note these last two must take place in the source code directory, e.g. where setup.py is found.
With the latter, I've found that the commands --no-deps and --prefix <dir> commands are helpful if your system has conflicting package versions (something we're working on). The command
should work.
Please let me know what you end up going with and how it works. Cheers,
Andrew
You should be able to install in an almost identical manner on the HPC, using
Code: Select all
pip install --user serpentTools
Code: Select all
python setup.py install --user
Code: Select all
pip install --user -e .
With the latter, I've found that the commands --no-deps and --prefix <dir> commands are helpful if your system has conflicting package versions (something we're working on). The command
Code: Select all
pip install --user --prefix=/path/to/home/.local --no-deps -e .
Please let me know what you end up going with and how it works. Cheers,
Andrew
Re: HPC Install w/o Admin
So we had to upgrade pip to 19.3.1.
Then,
works for each user.
Then,
Code: Select all
pip3 install --user -e