ModuleNotFoundError: No module named 'pycotools'

Viewed 504

I have created an environment in Anaconda by running:

conda create --name myenv

switched to that environment after creation and added conda-forge to the anaconda channels. Then I ran

conda install pycotools

Installation seem to be successful. When I try to import pycotools in Python

from pycotools import models

I get the error message:

ModuleNotFoundError: No module named 'pycotools'

To verify installation of pycotools, I run

conda list pycotools

But this gives nothing back However, when I run

conda list

I find pycotools in the list.

How can I verify that I have pycotools installed? And if no, how do I properly install pycotools in my conda environment? by

1 Answers

Try to execute pip install pycotools.

Related