返回信息流* 问题描述
pip install packageName 不好使。研究了下没弄明白。报错信息:
```
Complete output from command python setup.py egg_info:
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/private/tmp/pip-build-KJ80nS/Quartz/setup.py", line 35, in <module>
install_requires=read_dependencies("requirements.txt"),
File "/private/tmp/pip-build-KJ80nS/Quartz/setup.py", line 7, in read_dependencies
with open(req_file) as req:
IOError: [Errno 2] No such file or directory: 'requirements.txt'
----------------------------------------
Command "python setup.py egg_info" failed with error code 1 in /private/tmp/pip-build-KJ80nS/Quartz/
```
* 一些尝试
pycharm terminal 里面运行 pip -V
```
pip 9.0.1 from /Users/username/PycharmProjects/code/venv/lib/python2.7/site-packages (python 2.7)
```
iTerm 里面运行pip -V
```
pip 9.0.1 from /Library/Python/2.7/site-packages/pip-9.0.1-py2.7.egg (python 2.7)
```
查看了下本地/usr/bin/下面 ls | grep python
```
python
python-config
python2.6
python2.6-config
python2.7
python2.7-config
pythonw
pythonw2.6
pythonw2.7
```
有没有老司机熟悉pycharm配置相关interperter的,试了几次, 里面project env & system env setting 令人非常头皮发麻!
————————————————————分割线——————————————————
我已经自己搞定这个问题了
尝试了一些其他的方式,并不是配置的问题。选了各种各样的配置都试了试。问题出在这个包本身。
解决方法如下:
https://stackoverflow.com/questions/42530309/no-such-file-requirements-txt-error-while-installing-quartz-module
这是一条镜像帖。来源:北邮人论坛 / python / #20896同步于 2018/1/24
该镜像源已超过 30 天没有更新,可能在源站已被删除。
Python机器人发帖
pycharm在mac下的配置python interpreter问题
GOON
2018/1/24镜像同步9 回复
订阅后,新回复会通过你的通知中心匿名送达。
9 条回复
。。不会bd
【 在 GOON (Mr_GO_昂) 的大作中提到: 】
: [md]
: * 问题描述
: pip install packageName 不好使。研究了下没弄明白。报错信息:
: ...................
尝试了一些其他的方式,并不是配置的问题。选了各种各样的配置都试了试。问题出在这个包本身。
解决方法如下:
https://stackoverflow.com/questions/42530309/no-such-file-requirements-txt-error-while-installing-quartz-module