如果我制作了一个名为Testfile.py
的文件,然后简单地放入import seaborn
然后放入help(seaborn)
,并在终端中调用文件,则显示帮助信息,因此可以正常工作。但是,当我进入文本编辑器时,升华文本3并尝试在编辑器(ctrl + b)中对其进行构建,我得到了一个错误列表:
Traceback (most recent call last):
File "C:\Program Files (x86)\Python37-32\TestFile.py", line 37, in <module>
import seaborn
File "C:\Program Files (x86)\Python37-32\lib\site-packages\seaborn\__init__.py", line 6, in <module>
from .rcmod import *
File "C:\Program Files (x86)\Python37-32\lib\site-packages\seaborn\rcmod.py", line 5, in <module>
from . import palettes, _orig_rc_params
File "C:\Program Files (x86)\Python37-32\lib\site-packages\seaborn\palettes.py", line 12, in <module>
from .utils import desaturate, set_hls_values, get_color_cycle
File "C:\Program Files (x86)\Python37-32\lib\site-packages\seaborn\utils.py", line 7, in <module>
from scipy import stats
File "C:\Program Files (x86)\Python37-32\lib\site-packages\scipy\stats\__init__.py", line 345, in <module>
from .stats import *
File "C:\Program Files (x86)\Python37-32\lib\site-packages\scipy\stats\stats.py", line 171, in <module>
from . import distributions
File "C:\Program Files (x86)\Python37-32\lib\site-packages\scipy\stats\distributions.py", line 13, in <module>
from . import _continuous_distns
File "C:\Program Files (x86)\Python37-32\lib\site-packages\scipy\stats\_continuous_distns.py", line 113, in <module>
class norm_gen(rv_continuous):
File "C:\Program Files (x86)\Python37-32\lib\site-packages\scipy\stats\_continuous_distns.py", line 175, in norm_gen
'optimizer' argument is ignored.\n\n""")
File "C:\Program Files (x86)\Python37-32\lib\site-packages\scipy\misc\doccer.py", line 159, in _doc
start_of_notes = cls_docstring.find(notes_header)
AttributeError: 'NoneType' object has no attribute 'find'
[Finished in 2.0s with exit code 1]
我可以在Sublime Text 3中进行任何构建吗?