vn.py量化社区
By Traders, For Traders.
Member
avatar
加入于:
帖子: 6
声望: 0

但是用Anaconda3 在bash install.sh的时候报以下错误,求大神指教啊, 我下载的是2018.12的版本, 干净的18.04 ubuntu,求指点:
writing dependency_links to vnpy.egg-info/dependency_links.txt
Traceback (most recent call last):
File "setup.py", line 64, in <module>
ext_modules=ext_modules
File "/home/chase/anaconda3/lib/python3.7/site-packages/setuptools/init.py", line 143, in setup
return distutils.core.setup(**attrs)
File "/home/chase/anaconda3/lib/python3.7/distutils/core.py", line 148, in setup
dist.run_commands()
File "/home/chase/anaconda3/lib/python3.7/distutils/dist.py", line 966, in run_commands
self.run_command(cmd)
File "/home/chase/anaconda3/lib/python3.7/distutils/dist.py", line 985, in run_command
cmd_obj.run()
File "/home/chase/anaconda3/lib/python3.7/site-packages/setuptools/command/install.py", line 67, in run
self.do_egg_install()
File "/home/chase/anaconda3/lib/python3.7/site-packages/setuptools/command/install.py", line 109, in do_egg_install
self.run_command('bdist_egg')
File "/home/chase/anaconda3/lib/python3.7/distutils/cmd.py", line 313, in run_command
self.distribution.run_command(command)
File "/home/chase/anaconda3/lib/python3.7/distutils/dist.py", line 985, in run_command
cmd_obj.run()
File "/home/chase/anaconda3/lib/python3.7/site-packages/setuptools/command/bdist_egg.py", line 163, in run
self.run_command("egg_info")
File "/home/chase/anaconda3/lib/python3.7/distutils/cmd.py", line 313, in run_command
self.distribution.run_command(command)
File "/home/chase/anaconda3/lib/python3.7/distutils/dist.py", line 985, in run_command
cmd_obj.run()
File "/home/chase/anaconda3/lib/python3.7/site-packages/setuptools/command/egg_info.py", line 289, in run
writer(self, ep.name, os.path.join(self.egg_info, ep.name))
File "/home/chase/anaconda3/lib/python3.7/site-packages/setuptools/command/egg_info.py", line 665, in write_toplevel_names
for k in cmd.distribution.iter_distribution_names()
File "/home/chase/anaconda3/lib/python3.7/site-packages/setuptools/command/egg_info.py", line 664, in <listcomp>
k.split('.', 1)[0]
File "/home/chase/anaconda3/lib/python3.7/site-packages/setuptools/dist.py", line 951, in iter_distribution_names
name = ext.name
AttributeError: 'list' object has no attribute 'name'

Administrator
avatar
加入于:
帖子: 1468
声望: 69

v2.0.1-DEV已经修复

Member
avatar
加入于:
帖子: 6
声望: 0

谢谢大神。
我装成功了。不过还是有个bug, requirements缺少 tigeropen这个模块。。。我 fix了,能让我commit不?:)

Administrator
avatar
加入于:
帖子: 1468
声望: 69

可以啊

© 2015-2019 上海韦纳软件科技有限公司
备案服务号:沪ICP备18006526号-3