View Single Post
Old 03-26-2018, 05:03 PM   #386
DiapDealer
Grand Sorcerer
DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.
 
DiapDealer's Avatar
 
Posts: 28,652
Karma: 205022288
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
Couldn't installing modules to $HOME/.local/lib/pythonx.y/site-packages/ also affect any system installed Pythons? the latest versions of pip allow for a --target parameter that might be better for our needs (or --install-option="--prefix='/blah'"). Not sure.

Another thing to consider is that "pip3 install --user PACKAGENAME" will only install the module to the user's home location. But on Windows, it won't use Sigil's bundled Python environment to determine what dependencies are needed (including any necessary updates). As I said, the Windows bundled Python included with Sigil is not a true standalone version of Python. It is only through the diddling of the process's environment that Sigil's bundled Python is isolated when run on Windows.

There's just more to it on Windows than adding the pip3 binary and utilizing the -u switch.
DiapDealer is offline   Reply With Quote