栏目分类:
子分类:
返回
名师互学网用户登录
快速导航关闭
当前搜索
当前分类
子分类
实用工具
热门搜索
名师互学网 > IT > 软件开发 > 后端开发 > Python

Cannot find reference ‘Digraph‘ in ‘imported module graphviz‘ 错误

Python 更新时间: 发布时间: IT归档 最新发布 模块sitemap 名妆网 法律咨询 聚返吧 英语巴士网 伯小乐 网商动力

Cannot find reference ‘Digraph‘ in ‘imported module graphviz‘ 错误

问题一描述

今天在导包 from graphviz import Digraph 时,Digraph 报红线。
错误:Cannot find reference 'Digraph' in 'imported module graphviz'

问题一解决
conda install -c anaconda python-graphviz

参考链接:https://github.com/quadram-institute-bioscience/albatradis/issues/7

问题二描述

importError: this version of pandas is incompatible with numpy < 1.17.3 your numpy version is 1.16.4. Please upgrade numpy to >= 1.17.3 to use this pandas version

问题二解决
pip install numpy --upgrade --ignore-installed

参考链接:https://stackoverflow.com/questions/28517937/how-can-i-upgrade-numpy
于是又出现问题 ERROR: Could not install packages due to an OSError: [WinError 5] 拒绝访问。: 'D:\Anaconda3\envs\advanced_ai_pytorch\Lib\site-packages\numpy\.libs\libopenblas.XWYDX2IKJW2NMTWSFYNGFUWKQU3LYTCZ.gfortran-wi n_amd64.dll' Consider using the–useroption or check the permissions.

继续解决:

pip install --user numpy --upgrade --ignore-installed

参考链接:https://www.cxyzjd.com/article/weixin_44827418/105443681

转载请注明:文章转载自 www.mshxw.com
本文地址:https://www.mshxw.com/it/286267.html
我们一直用心在做
关于我们 文章归档 网站地图 联系我们

版权所有 (c)2021-2022 MSHXW.COM

ICP备案号:晋ICP备2021003244-6号