- 积分
- 139
- 贡献
-
- 精华
- 在线时间
- 小时
- 注册时间
- 2012-3-18
- 最后登录
- 1970-1-1
|
发表于 2020-3-3 17:14:08
|
显示全部楼层
本帖最后由 wak2311 于 2020-3-3 17:16 编辑
求助楼主,pyart模块是不是支持python2啊?一直装不上去,怎么解决啊,谢谢~~
PS C:\Users\wak-m\Documents> pip install pyart
Collecting pyart
Downloading pyart-0.2.3.tar.gz (47 kB)
|████████████████████████████████| 47 kB 6.2 kB/s
ERROR: Command errored out with exit status 1:
command: 'd:\users\wak-m\anaconda3\python.exe' -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\Users\\wak-m\
\AppData\\Local\\Temp\\pip-install-pz6ahfza\\pyart\\setup.py'"'"'; __file__='"'"'C:\\Users\\wak-m\\AppData\\Local\\Temp\\pip-i
nstall-pz6ahfza\\pyart\\setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"'
, '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' egg_info --egg-base 'C:\Users\wak-m\AppData\Local\Tem
p\pip-install-pz6ahfza\pyart\pip-egg-info'
cwd: C:\Users\wak-m\AppData\Local\Temp\pip-install-pz6ahfza\pyart\
Complete output (11 lines):
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "C:\Users\wak-m\AppData\Local\Temp\pip-install-pz6ahfza\pyart\setup.py", line 139, in <module>
kwargs['sources'] = prepare_sources(kwargs['sources'])
File "C:\Users\wak-m\AppData\Local\Temp\pip-install-pz6ahfza\pyart\setup.py", line 121, in prepare_sources
return [to_string(source) for source in sources]
File "C:\Users\wak-m\AppData\Local\Temp\pip-install-pz6ahfza\pyart\setup.py", line 121, in <listcomp>
return [to_string(source) for source in sources]
File "C:\Users\wak-m\AppData\Local\Temp\pip-install-pz6ahfza\pyart\setup.py", line 118, in to_string
if isinstance(s, unicode):
NameError: name 'unicode' is not defined
----------------------------------------
ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.
|
|