pip install --user is installing to python/site-packages instead of python2.7/site-packages -



pip install --user is installing to python/site-packages instead of python2.7/site-packages -

i'm trying pip install --user work prebuilt python scheme little awkward. have working, reason pip install --user installing ~/.casa/lib/python/site-packages (where .casa replaces .local installation of python), can't understand how beingness set.

how pip install --user select directory? perchance have set cause pick python/site-packages instead of pythonx.y/site-packages?

the source code pip installer @ package: https://github.com/radio-astro-tools/casa-python far can tell, there no situation in python/site-packages occurs in code; aways pythonx.y/site-packages should be.

edit: pip i'm using called next script. in here @ fault, cannot determine what:

$home/.casa/bin/casa-python $home/.casa/bin/pip $* --user

which in turn using casa-python, i.e. script:

#!/bin/sh installpath=/applications/casa.app/contents proot=$installpath/frameworks/python.framework/versions/2.7 pbind=$proot/macos plibd=$proot/lib/python2.7 ppath=$pbind:$plibd:$plibd/plat-mac:$plibd/plat-darwin ppath=$ppath:$pbind/lib-scriptpackages:$plibd/lib-tk ppath=$ppath:$plibd/lib-dynload:$plibd/site-packages ppath=$ppath:$plibd/site-packages/numeric:$plibd/site-packages/pyobjc ppath=$installpath/resources/python:$ppath export pythonuserbase=$home/.casa export pythonhome=$proot export pythonpath=/users/adam/.casa/lib/python2.7/site-packages:$ppath export pythonexecutable=$proot/resources/python.app/contents/macos/python export dyld_framework_path="$installpath/frameworks" exec -a pythonw $installpath/macos/pythonw -w ignore::deprecationwarning "$@"

python pip

Comments

Popular posts from this blog

java - How to set log4j.defaultInitOverride property to false in jboss server 6 -

c - GStreamer 1.0 1.4.5 RTSP Example Server sends 503 Service unavailable -

Using ajax with sonata admin list view pagination -