biopython no module named Bio

前端 未结 11 1383
夕颜
夕颜 2021-01-17 10:15

FYI: this is NOT a duplicate!

Before running my python code I installed biopython in the cmd prompt:

pip install biopython

I then

11条回答
  •  庸人自扰
    2021-01-17 10:44

    I could not import biopython when running python on windows.

    I tried several solutions by changing the directory names to upper/lower case as https://stackoverflow.com/a/60753930/10884907 and also different way of calling when import using "Bio", "bio", "biopyhton". None was working.

    But, It works in linux as simple as in manual guideliens, I did pip3 install biopython and with import Bio works!

提交回复
热议问题