-
Notifications
You must be signed in to change notification settings - Fork 9.8k
无法安装项目依赖包项目依赖包 requirements.txt #91
Comments
切到仓库requirement.txt所在目录再pip install或者pip install -r /path/to/requirements.txt |
将项目clone下来,进到根目录,直接 pip install -r requirements.txt |
报错了。。Command "c:\users\king\appdata\local\programs\python\python37-32\python.exe -u -c "import setuptools, tokenize;file='C:\Users\King\AppData\Local\Temp\pip-install-py9olb6f\Pillow\setup.py';f=getattr(tokenize, 'open', open)(file);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, file, 'exec'))" install --record C:\Users\King\AppData\Local\Temp\pip-record-kbpq4da3\install-record.txt --single-version-externally-managed --compile" failed with error code 1 in C:\Users\King\AppData\Local\Temp\pip-install-py9olb6f\Pillow\ |
run.py运行出现没有名为yaml #111的模块 |
sudo python -m pip install --upgrade --force pip 可以参考 |
已解决~3q |
试试 |
我装了python 3.7的,好像有影响,我在pycharm中重新弄了下环境就好了
[email protected]
发件人: tonghua2587
发送时间: 2019-01-11 15:13
收件人: testerSunshine/12306
抄送: Aline992; Comment
主题: Re: [testerSunshine/12306] 无法安装项目依赖包项目依赖包 requirements.txt (#91)
run.py运行出现没有名为yaml #111的模块
试试
pip install pyyaml
如果用pycharm运行的话可能会出现相对路径绝对路径的问题,win可以尝试用cmd运行
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or mute the thread.
|
怎么我的pycharm就运行不了。。里面环境都切到2.7了 |
Cannot uninstall 'six'. It is a distutils installed project and thus we cannot accurately determine which files belong to it which would lead to only a partial uninstall. |
解决了吗?我在MAC上也是这个问题。 |
试试 : sudo pip install six --upgrade --ignore-installed six |
对,我也是用的这个命令,应该是版本冲突了 six这个依赖 |
Cannot uninstall 'PyYAML'. It is a distutils installed project and thus we cannot accurately determine which files belong to it which would lead to only a partial uninstall |
你用的是Python2吗 |
我也遇到了这个问题,直接在requirements.txt中屏蔽掉 six 那一行就行了,出这个问题好像是six依赖的版本冲突了 |
|
Python2.7已解决问题 |
/Users/fujexlay/Downloads/tikicts/12306-master/venv/bin/python /Users/fujexlay/Downloads/tikicts/12306-master/run.py Process finished with exit code 1 运行run.py总是保这个错怎么解? |
[root@centos2 12306-master]# python3 run.py 这是什么情况? 总是一直提示这个问题,运行不了,求助 |
@151438611 你这个是TensorFlow没装 |
搜索出来直接删除就可以了 |
老哥解决了没 |
os.path.basename(self.path), self.start_error_message) |
Traceback (most recent call last): |
你得去那个文件的目录啊 |
我是python3.6.5,也有这个问题,怎么解决呢? |
报错了:AttributeError: module 'tensorflow' has no attribute 'get_default_graph',怎么回事? |
Python 3.7.0 无法安装 tensorflow怎么办,很多方法都试过 |
在线安装经常因网络超时断开,建议离线安装,先下载再安装亲测完全没有问题
…------------------ 原始邮件 ------------------
发件人: "CharmImgBoy"<[email protected]>;
发送时间: 2019年12月9日(星期一) 晚上9:44
收件人: "testerSunshine/12306"<[email protected]>;
抄送: "Jun"<[email protected]>;"Mention"<[email protected]>;
主题: Re: [testerSunshine/12306] 无法安装项目依赖包项目依赖包 requirements.txt (#91)
Python 3.7.0 无法安装 tensorflow怎么办,很多方法都试过
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or unsubscribe.
|
需要安装图形界面,我自己做Centos7.7-Gnome Python36-pip 亲测没有使用正常说明:
Centos7.7-Desktop默认浏览器是Firefox,
需要修改config/getCookies.py --- webdriver.Firefox() 来使用selenium自动获取Cookies_RAIL_DEVICEID,RAIL_EXPIRATION值
…------------------ 原始邮件 ------------------
发件人: "wen999di"<[email protected]>;
发送时间: 2019年12月9日(星期一) 晚上7:16
收件人: "testerSunshine/12306"<[email protected]>;
抄送: "Jun"<[email protected]>;"Mention"<[email protected]>;
主题: Re: [testerSunshine/12306] 无法安装项目依赖包项目依赖包 requirements.txt (#91)
报错了:AttributeError: module 'tensorflow' has no attribute 'get_default_graph',怎么回事?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or unsubscribe.
|
我之前也是这个问题,后来找到原因了:
CPU不支持AVX指令集,无解,更换新主板新CPU运行正常
…------------------ 原始邮件 ------------------
发件人: "Jun"<[email protected]>;
发送时间: 2019年9月12日(星期四) 下午3:41
收件人: "testerSunshine/12306"<[email protected]>;
主题: 回复: [testerSunshine/12306] 无法安装项目依赖包项目依赖包 requirements.txt (#91)
没有,我是用debian 10 服务器版Python3.7.3
也是出现这种错误
root@debian:/media/10gtek/12306# python3 run.py
Using TensorFlow backend.
Illegal instruction
root@debian:/media/10gtek/12306#
------------------ 原始邮件 ------------------
发件人: "loveY"<[email protected]>;
发送时间: 2019年9月9日(星期一) 下午5:01
收件人: "testerSunshine/12306"<[email protected]>;
抄送: "Jun"<[email protected]>;"Mention"<[email protected]>;
主题: Re: [testerSunshine/12306] 无法安装项目依赖包项目依赖包 requirements.txt (#91)
[root@centos2 12306-master]# python3 run.py
Using TensorFlow backend.
Illegal instruction
这是什么情况? 总是一直提示这个问题,运行不了,求助
老哥解决了没
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.
|
C:\Users\v_wbtli\python12306\12306-master>pip3 install -i https://pypi.tuna.tsinghua.edu.cn/simple -r requirements.txt |
win10上面pip为啥连不上呀 |
|
C:\Users\admin\Desktop\12306>python run.py r 大神们,看看啥情况 |
ERROR: Could not install packages due to an EnvironmentError: [WinError 145] 目录不是空的。: 'c:\users\administrator\appdata\local\programs\python\python37 |
大佬我遇到和你一样的问题,可是我单独下载却出现 |
pip3 install -i https://pypi.tuna.tsinghua.edu.cn/simple -r requirements.txt ,安装依赖一直不动是怎么回事 |
Using TensorFlow backend. 什么鬼? |
Could not find a version that satisfies the requirement beautifulsoup4==4.5.3 (from -r requirements.txt (line 1)) (from versions: ) |
你的问题解决了吗? |
安装依赖报错:ERROR: Could not install packages due to an EnvironmentError: [Errno 2] No such file or directory: 'C:\Users\wj\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.8_qbz5n2kfra8p0\LocalCache\local-packages\Python38\site-packages\sklearn\datasets\tests\data\openml\292\api-v1-json-data-list-data_name-australian-limit-2-data_version-1-status-deactivated.json.gz'。怎么解决呢 |
mac |
请问解决了吗? |
没有,我换用服务器就能安装了,但是一直提示python版本不对,我装的就是3.6.12的给我提示我装的是3.7的 |
Traceback (most recent call last): During handling of the above exception, another exception occurred: Traceback (most recent call last): Failed to load the native TensorFlow runtime. See https://www.tensorflow.org/install/install_sources#common_installation_problems for some common reasons and solutions. Include the entire stack trace what's happend? |
小白今天尝试,也是依赖无法安装,找不到文件,怎么弄? |
Collecting wrapcache==1.0.8 以上是我本地cd到12306-master目录下运行:pip3 install -i https://pypi.tuna.tsinghua.edu.cn/simple -r requirements.txt,后报错。 |
pip install的时候,显示no such file
The text was updated successfully, but these errors were encountered: