本文介绍了Spyder IDE无法启动WinPython-64bit-2.7.10.2的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我一直在使用Anaconda发行版中提供的Spyder IDE。由于某些原因,它就是不能启动我做了几次卸载和重新安装,尝试从命令提示符启动它,但都没有用。我运行的是64位Windows 8.1。我尝试安装WinPython-64bit-2.7。当我尝试从命令提示符启动Spyder时,我遇到了这个错误。
C:WinPython-64bit-2.7.10.2python-2.7.10.amd64>spyder.exe
Splitting and Joining Strings
Traceback (most recent call last):
File "C:WinPython-64bit-2.7.10.2python-2.7.10.amd64lib
unpy.py", line 162,
in _run_module_as_main
"__main__", fname, loader, pkg_name)
File "C:WinPython-64bit-2.7.10.2python-2.7.10.amd64lib
unpy.py", line 72,
in _run_code
exec code in run_globals
File "C:WinPython-64bit-2.7.10.2python-2.7.10.amd64Scriptsspyder.exe\__mai
n__.py", line 5, in <module>
File "C:WinPython-64bit-2.7.10.2python-2.7.10.amd64libsite-packagesspyder
libstart_app.py", line 11, in <module>
from spyderlib.cli_options import get_options
File "C:WinPython-64bit-2.7.10.2python-2.7.10.amd64libsite-packagesspyder
libcli_options.py", line 7, in <module>
import optparse
File "C:WinPython-64bit-2.7.10.2python-2.7.10.amd64liboptparse.py", line 7
7, in <module>
import textwrap
File "C:WinPython-64bit-2.7.10.2python-2.7.10.amd64lib extwrap.py", line 4
0, in <module>
class TextWrapper:
File "C:WinPython-64bit-2.7.10.2python-2.7.10.amd64lib extwrap.py", line 8
2, in TextWrapper
whitespace_trans = string.maketrans(_whitespace, ' ' * len(_whitespace))
AttributeError: 'module' object has no attribute 'maketrans'
我通过Python(x,y)让Spyder工作,但当我尝试运行任何脚本时,在控制台中收到错误消息
Splitting and Joining Strings
'import sitecustomize' failed; use -v for traceback
Traceback (most recent call last):
File "D:USCRAJSON to CSVGP_apps_SQL-4 Sentiments.py", line 15, in <module>
import urllib2
File "C:Python27liburllib2.py", line 94, in <module>
import httplib
File "C:Python27libhttplib.py", line 1241, in <module>
import ssl
File "C:Python27libssl.py", line 90, in <module>
import textwrap
File "C:Python27lib extwrap.py", line 40, in <module>
class TextWrapper:
File "C:Python27lib extwrap.py", line 82, in TextWrapper
whitespace_trans = string.maketrans(_whitespace, ' ' * len(_whitespace))
AttributeError: 'module' object has no attribute 'maketrans'
推荐答案
对于WinpythonPart,您可以尝试以下操作:
点击"Winpython命令提示符"
类型:
spyder --reset&&spyder
(根据您的计算机,最多可能需要两分钟)
这篇关于Spyder IDE无法启动WinPython-64bit-2.7.10.2的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持编程学习网!
本站部分内容来源互联网,如果有图片或者内容侵犯您的权益请联系我们删除!