Python: PIP install path, what is the correct location for this and other addons?

后端 未结 3 1089
不思量自难忘°
不思量自难忘° 2021-02-12 22:41

I have recently had a few problems with my Python installation and as a result I have just reinstalled python and am trying to get all my addons working correctly as well. I’m g

3条回答
  •  一整个雨季
    2021-02-12 23:17

    Modules go in site-packages and executables go in your system's executable path. For your environment, this path is /usr/local/bin/.

    To avoid having to deal with this, simply use easy_install, distribute or pip. These tools know which files need to go where.

提交回复
热议问题