pip - Requirement already satisfied?

前端 未结 2 1620
谎友^
谎友^ 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.

    0 讨论(0)
  • 2020-12-08 23:35

    Already satisfied means that you already install "it".

    try: pip uninstall simplejson

    and then: pip install simplejson

    0 讨论(0)
提交回复
热议问题