HuobiRDCenter / huobi_Python

Python SDK for Huobi Spot API
https://huobiapi.github.io/docs/spot/v1/en
Apache License 2.0
682 stars 333 forks source link

安装失败 #48

Open chenglishi opened 4 years ago

chenglishi commented 4 years ago

zip_safe flag not set; analyzing archive contents... Traceback (most recent call last): File "setup.py", line 9, in install_requires=['requests', 'apscheduler', 'websocket-client', 'urllib3'] File "/usr/lib/python3.7/site-packages/setuptools/init.py", line 129, in setup return distutils.core.setup(**attrs) File "/usr/lib64/python3.7/distutils/core.py", line 148, in setup dist.run_commands() File "/usr/lib64/python3.7/distutils/dist.py", line 966, in run_commands self.run_command(cmd) File "/usr/lib64/python3.7/distutils/dist.py", line 985, in run_command cmd_obj.run() File "/usr/lib/python3.7/site-packages/setuptools/command/install.py", line 67, in run self.do_egg_install() File "/usr/lib/python3.7/site-packages/setuptools/command/install.py", line 109, in do_egg_install self.run_command('bdist_egg') File "/usr/lib64/python3.7/distutils/cmd.py", line 313, in run_command self.distribution.run_command(command) File "/usr/lib64/python3.7/distutils/dist.py", line 985, in run_command cmd_obj.run() File "/usr/lib/python3.7/site-packages/setuptools/command/bdist_egg.py", line 218, in run os.path.join(archive_root, 'EGG-INFO'), self.zip_safe() File "/usr/lib/python3.7/site-packages/setuptools/command/bdist_egg.py", line 269, in zip_safe return analyze_egg(self.bdist_dir, self.stubs) File "/usr/lib/python3.7/site-packages/setuptools/command/bdist_egg.py", line 379, in analyze_egg safe = scan_module(egg_dir, base, name, stubs) and safe File "/usr/lib/python3.7/site-packages/setuptools/command/bdist_egg.py", line 416, in scan_module code = marshal.load(f) ValueError: bad marshal data (unknown type code)

eynzhang commented 3 years ago

@chenglishi 请问您用的SDK的哪个版本?安装的具体步骤是怎样的?

reece762 commented 3 years ago

https://blog.csdn.net/weixin_41103006/article/details/113602600

试试按这篇文章安装