



Python2 /home/ec2-user/anaconda3/envs/python2 Mxnet_p36 /home/ec2-user/anaconda3/envs/mxnet_p36 Mxnet_p27 /home/ec2-user/anaconda3/envs/mxnet_p27 JupyterSystemEnv * /home/ec2-user/anaconda3/envs/JupyterSystemEnvĪmazonei_mxnet_p27 /home/ec2-user/anaconda3/envs/amazonei_mxnet_p27Īmazonei_mxnet_p36 /home/ec2-user/anaconda3/envs/amazonei_mxnet_p36Īmazonei_tensorflow2_p27 /home/ec2-user/anaconda3/envs/amazonei_tensorflow2_p27Īmazonei_tensorflow2_p36 /home/ec2-user/anaconda3/envs/amazonei_tensorflow2_p36Īmazonei_tensorflow_p27 /home/ec2-user/anaconda3/envs/amazonei_tensorflow_p27Īmazonei_tensorflow_p36 /home/ec2-user/anaconda3/envs/amazonei_tensorflow_p36Ĭhainer_p27 /home/ec2-user/anaconda3/envs/chainer_p27Ĭhainer_p36 /home/ec2-user/anaconda3/envs/chainer_p36 Sh-4.2$ conda env list conda environments: How does one remove and reinstall conda environment? NameError: name ‘graphviz’ is not defined > 44 def gv(s): return graphviz.Source(‘digraph G’)Ĥ6 def get_image_files_sorted(path, recurse=True, folders=None): ~/anaconda3/envs/python3/lib/python3.6/site-packages/fastbook/ init.py in gv(s) NameError Traceback (most recent call last)ĥ gv(’’‘program
GRAPHVIZ IN JUPYTER NOTEBOOK INSTALL
Initially I had the same problem, but removing all existing python modules and doing a pip install -user fastai followed by pip install -user graphviz gave me back a workable environment. On another system (Fedora based) I installed fastai using pip. And then the environment was operational again.

Python 3.8.5-hcff3b4d_0 -> 3.8.2-hcf32534_0Īfter that I installed jupyter notebook of course. Python-graphviz pkgs/main/noarch::python-graphviz-0.14-py_0 The following packages will be downloaded: After that the fastbook module was not installed and I installed it with conda install -c fastai fastbook $ conda install -c fastai fastbookĬollecting package metadata (repodata.json): doneĮnvironment location: /home/herald/anaconda3/envs/fastai When I run a conda install -c fastai fastbook, it was able to find and install the module, but still same error.įinally I fixed it by removing and recreating the conda environment and installed fastai again with conda install -c fastai -c pytorch fastai. When I run conda install fastbook the result is a PackagesNotFoundError. home/herald/anaconda3/envs/fastai/lib/python3.8/site-packages/fastbook/_init_.py:21: UserWarning: Missing `graphviz` - please run `conda install fastbook`Įxcept ModuleNotFoundError: warn("Missing `graphviz` - please run `conda install fastbook`") Importing fastbook in python raises this error: $ echo "import fastbook" | python3 Ii graphviz 2.42.2-3build2 amd64 rich set of graph drawing toolsīut the grahviz python module is missing (I checked with conda list | fgrep graphviz). However, in my case, the graphviz package was already installed: $ dpkg -list | fgrep graphviz
