作者firewind (羽翼狼)
看板Python
标题[问题] python套件安装到Synology NAS上
时间Tue Dec 18 14:50:32 2018
各位前辈好
想请各位帮忙
我想在群晖的nas上安装套件(DS115)
有先安装nas上python3
再来安装virtualenv分开我的安装环境
到这里来都是OK的
接下来进入virtualenv後我要安装套件pymysql
却发生我没办法解决的问题
LOG上出现
Command "python setup.py egg_info" failed with error code 1
in /tmp/pip-install-vlmc6ucg/cffi/
----------------------------------------
Command "/volume1/python/myenv/python3/bin/python3.5 -m pip install
--ignore-installed --no-user --prefix /tmp/pip-build-env-c0_zw0lo
--no-warn-script-location --no-binary :none:
--only-binary :none: -i
https://pypi.org/simple
-- setuptools>=18.5 wheel "cffi>=1.7,!=1.11.3;
python_implementation != 'PyPy'"" failed with error code 1 in None
我查了一下google 有人说是pip跟setuptools 太旧 可是我查了一下我的list
都是最新的套件
https://i.imgur.com/fkRgVcR.png
想请问有人会知道怎麽解决吗
我另外一台nas DS712+却可以安装
所以很苦恼要怎麽解决
谢谢各位前辈
--
※ 发信站: 批踢踢实业坊(ptt.cc), 来自: 122.117.210.131
※ 文章网址: https://webptt.com/cn.aspx?n=bbs/Python/M.1545115835.A.E2B.html
1F:推 tacovirus: 可以用 NAS 内建的 Docker 环境去做,也比较不会弄坏机 12/18 20:39
2F:→ tacovirus: 器 12/18 20:39
3F:→ virginbear: 原来有docker,学到一招 12/18 23:24
4F:→ firewind: 感谢建议 可是DS115内建没有docker 只能想其他办法 12/19 07:34