【发布时间】:2019-09-26 17:36:47
【问题描述】:
在 Jupyter 笔记本上,运行 Python 3 代码。正在尝试构建一个 squarify Tree 地图。
当我运行代码时:
import squarify as sq
ModuleNotFoundError 出现。 “没有名为 'squarify' 的模块。”
虽然我知道有这样的模块。
有人可以帮我吗?
我试过了
path/to/python -m pip install squarify
和
install squarify
在牢房中,但无济于事。
import squarify as sq 结果:
ModuleNotFoundError Traceback (most recent call last)
<ipython-input-43-d5603c2d6e58> in <module>
6 #Put a title on the chart
7
----> 8 import squarify as sq
9
10 #determine count for each type weathersit
ModuleNotFoundError: No module named 'squarify'
【问题讨论】:
标签: python-3.x