Search code examples
pythonpackagefile-format

Python package has been already installed but gets No module error while importing


I installed the fastatocsv successfully after running the following command on Colab:

!pip install fastatocsv

But when I want to import the module, I get this error:

ModuleNotFoundError: No module named 'fastatocsv'

Does someone know anything about what could possibly be happening here?


Solution

  • It seems the README-EXAMPLE was never updated

    try

        import fasta2csv