PIP install and Python path

前端 未结 1 915
一生所求
一生所求 2021-02-07 15:46

I am using pip install on a mac to get my python requirements for a django website.

I got pip from MacPorts

port install pip-2.7

Now t

相关标签:
1条回答
  • 2021-02-07 16:03

    After a few attempts, setting the PYTHONPATH environmental var worked.

    Best way to achieve this is to add the following to the ~/.bash_profile:

    export PYTHONPATH=<bogus path here>
    

    Don't forget to open a new terminal after changing.

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