pip - Requirement already satisfied?

前端 未结 2 1624
谎友^
谎友^ 2020-12-08 23:14

pip recognize global installed packages..?! :-(

I\'ve used virtualenvwrapper preactivate hook to clean PYTHONPATH,

export PYTHONPATH=\"\" 
         


        
2条回答
  •  暖寄归人
    2020-12-08 23:34

    You are using sudo to install simplejson, but if you use sudo your $PATH may be changed, and that seems to be the problem.

    Just use pip install simplejson (no sudo included) and it is probably going to work.

    Use sudo only when you want to affect your whole system.

提交回复
热议问题