我已经在python3.3中安装了一个python库。当我在Dreampie中运行解释器时,它找不到我新安装的库,导致如下错误:
>>> from bs4 import BeautifulSoup
Traceback (most recent call last):
File "<pyshell#4>", line 1, in <module>
from bs4 import BeautifulSoup
ImportError: No module named 'bs4'发布于 2013-05-15 16:55:09
这是一个梦幻派1.2.1的bug。要解决此问题,请在Edit | Preferences | Shell下,将以下行添加到黑框中的自动运行代码中:
import site
site.main()https://stackoverflow.com/questions/16560723
复制相似问题