pip中缺少依赖项设置.py

2024-09-28 23:10:01 发布

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

我尝试使用pip来设置一个环境,而从项目的根目录运行pip install-e/并不能获得所有信息。我有一个设置.py包含requires节的文件如下所示:

requires = [
'phonenumbers',
'inflect',
'repoze.sendmail==4.1',
'pyramid',
'pyramid_chameleon',
'pyramid_debugtoolbar',
'pyramid_mailer',
'pyramid_tm',
'transaction',
'zope.sqlalchemy',
'waitress',
'pyramid_beaker',
'cryptacular',
'pycrypto',
'webtest',
'alembic',
'psycopg2',
'python-dateutil',
'sqlalchemy-utils',
'cryptacular',
'arrow',
'jsonpickle',
'sqlalchemy',
'pyramid_storage',
'boto',
'requests'
]

运行该命令时,某些库(如boto)将不会安装。有人知道为什么会错过这些包裹吗?在

编辑:这里有一个设置调用设置.py,删除了一些无关的部分:

^{pr2}$

Tags: installpip文件项目pypyramid信息环境