PostgreSQL环境配置出现的问题(windows)
- pip install virtualenv
- virtualenv.exe venv
- venv\Scripts\activate
pip install -r requirements.txt -i https://pypi.douban.com/simple 在这出错
网上说这句话要更新metadate
Preparing metadata (setup.py) ... error
- 更新完出现,模块冲突,删掉和跟新完,依然报报错
- 如下原因为subprocess
error: subprocess-exited-with-error
note: This error originates from a subprocess, and is likely not a problem with pip. 这句话说issue包有问题,稳定版怎么有问题,而且刚下载的呀,但not pip不用pip
error: metadata-generation-failed
note: This is an issue with the package mentioned above, not pip.整体错误
Preparing metadata (setup.py) ... error
error: subprocess-exited-with-error
× python setup.py egg_info did not run successfully.
│ exit code: 1
╰─> [1 lines of output]
error in feedparser setup command: use_2to3 is invalid.
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
error: metadata-generation-failed
× Encountered error while generating package metadata.
╰─> See above for output.
note: This is an issue with the package mentioned above, not pip.
hint: See above for details.
回答:
请参考:
PostgreSQL windows 安装指导
使用 Python 访问 PostgreSQL 数据库
以上是 PostgreSQL环境配置出现的问题(windows) 的全部内容, 来源链接: utcz.com/p/938287.html