Search code examples
pythoncondatabulate

No module named 'tabulate' when running from cmd


I use a conda environment called tf that has all necessary packages installed. If I run the python file in cmd I get the following error:

error

I reinstalled the package multiple times but it did not make any difference. However if I run my file from PyCharm (that also uses the tf conda environment) it works without problems. How is that even possible?

pycharm


Solution

  • Have you tried using conda install -c conda-forge tabulate?

    If this doesn't work, you can try 3 other options through this link: https://anaconda.org/conda-forge/tabulate