PYTHONUSERBASE = directory where to install --user means install to user’s directory (specified before), not the default location --ignore-installed is not needed if you’re gonna be using on the same machine, it signals to download all the dependencies there too, no matter if they’re already installed on your system
and to run it:
PYTHONPATH = “directory it’s installed in” + “python version” + “/site_packages/”, don’t guess, ls /tmp/jrnl/lib/ if you’re not sure
You can explictly call pip2 and python2, or pip3 and python3 if you want to specify that, sometimes, like with jrnl, they can be in the same directory without conflicts, just use correct PYTHONPATH and python version
this should be installed globally on ~team
this is pretty cool, also, if you ever need to
pip install
in a portable directory:PYTHONUSERBASE
= directory where to install--user
means install to user’s directory (specified before), not the default location--ignore-installed
is not needed if you’re gonna be using on the same machine, it signals to download all the dependencies there too, no matter if they’re already installed on your systemand to run it:
PYTHONPATH
= “directory it’s installed in” + “python version” + “/site_packages/”, don’t guess,ls /tmp/jrnl/lib/
if you’re not sureYou can explictly call pip2 and python2, or pip3 and python3 if you want to specify that, sometimes, like with jrnl, they can be in the same directory without conflicts, just use correct PYTHONPATH and python version