在Django位置安装的第三方应用程序

2024-04-18 15:40:04 发布

您现在位置:Python中文网/ 问答频道 /正文

所以我在我的django项目中安装了django消息和django通知,当时我在src中使用pip install django messages等。但是我可以找到文件的位置,我搜索了整个文件夹,但是什么也没有,我在lib/site包中查找过,但是什么也没有。它们是在我的文件夹里还是在其他地方托管,真是令人困惑。在

请帮忙


Tags: installpip文件项目djangosrc文件夹消息
1条回答
网友
1楼 · 发布于 2024-04-18 15:40:04

来自https://virtualenv.pypa.io/en/stable/userguide/

Where ENV is a directory to place the new virtual environment.

...

Packages installed in this environment will live under ENV/lib/pythonX.X/site-packages/.

...

Some paths within the virtualenv are slightly different on Windows: scripts and executables on Windows go in ENV\Scripts\ instead of ENV/bin/ and libraries go in ENV\Lib\ rather than ENV/lib/.

ENV\Lib\python2.7\site packages\在本例中,ENV是创建虚拟环境的位置。在

编辑: 或者试试看

pip freeze

这将显示pip安装的所有包。获取您感兴趣的包的名称,例如django notifications,然后运行:

^{pr2}$

这将输出位置数据。在

相关问题 更多 >