<p>我对python很陌生,需要一些帮助。
我认为它来自路径,但我不知道如何修复它。请帮忙。在</p>
<p><a href="http://i.stack.imgur.com/QDSqq.png" rel="nofollow">Once I type in import split and it keeps popping up</a></p>
<blockquote>
<p>runfile('/Users/zhihaowang/Desktop/untitled1.py',
wdir='/Users/zhihaowang/Desktop') Traceback (most recent call last):</p>
<p>File "", line 1, in
runfile('/Users/zhihaowang/Desktop/untitled1.py', wdir='/Users/zhihaowang/Desktop')</p>
<p>File
"/Users/zhihaowang/anaconda3/lib/python3.5/site-packages/spyderlib/widgets/externalshell/sitecustomize.py",
line 714, in runfile
execfile(filename, namespace)</p>
<p>File
"/Users/zhihaowang/anaconda3/lib/python3.5/site-packages/spyderlib/widgets/externalshell/sitecustomize.py",
line 89, in execfile
exec(compile(f.read(), filename, 'exec'), namespace)</p>
<p>File "/Users/zhihaowang/Desktop/untitled1.py", line 8, in
from string import split</p>
<p>ImportError: cannot import name 'split'</p>
</blockquote>