-1
何が起きているのか分かりませんが、私が試したことが何であれ、import bs4
に行くとモジュールが見つかりません。私はパッケージを見つけるためにそれをどうやって得ることができるかについては迷っています。複数の再インストール後に美しいスープが見つからない
Traceback (most recent call last):
File "/Users/tonywinglau/Desktop/print('hello LeChristopher').py", line 1, in <module>
import bs4 as bs
ImportError: No module named bs4
[Finished in 0.1s with exit code 1]
[cmd: ['/usr/bin/python2.7', "/Users/tonywinglau/Desktop/print('helloLeChristopher').py"]]
[dir:/Users/tonywinglau/Desktop]
[path:/Library/Frameworks/Python.framework/Versions/3.6/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/opt/X11/bin]
可能[複製](http://stackoverflow.com/questions/11783875/importerror-no-module-named-bs4-beautifulsoup)。 – blacksite
importを試すことができますBeautifulSoup –
'import BeautifulSoup'は動作しません。 –