import pandas Python3 on Synology DiskStation

my goal is to run a script on a Synology DiskStation using python3. I've installed Python 3 via the software center and tried to install Python pandas using pip. However, I'm having trouble with that. Whenever I run as root

pip install pandas

i get

File "/usr/local/python3/lib/python3.4/site.py", line 176 file=sys.stderr) ^ SyntaxError: invalid syntax

Previously I had Python 2.7 running but uninstalled it and I have the feeling my problem might be related to the fact that I had two version of Python installed. But I'm not sure about it.

Variable PYTHONHOME is set to /usr/local/python3

Variable PYTHONPATH is set to /usr/local/python3/lib/python3.4

What am I doing wrong?

Thanks!

链接地址: http://www.djcxy.com/p/72018.html

上一篇: 使用EPPlus将图像添加到Excel中

下一篇: 在Synology DiskStation上导入pandas Python3