问题一描述
今天在导包 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