I am using anaconda and spyder as environment, and running it on a mac computer. I get this error:
Traceback (most recent call last):
File "/.../.../.../.../...", line 25, in <module>
import graphviz
ModuleNotFoundError: No module named 'graphviz'
Even though I have installed the package with conda install graphviz
and then when I check with conda list
for package 'graphviz', the package is installed, but I still get the same error. Any suggestions on how I can fix this?
$ pip install graphviz
. Sometimes there can be bugs where a module is not fully installed.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.