after pip successful installed: ModuleNotFoundError

后端 未结 5 1798
孤街浪徒
孤街浪徒 2021-01-07 23:36

I am trying to install the SimPy module so that I can use it in IDLE. However, everytime I try to import in IDLE, I got an error. I already tried reinstalling Python and Pip

5条回答
  •  忘掉有多难
    2021-01-08 00:29

    I had same problem (on Windows) and the root cause in my case was ANTIVIRUS software! It has "Auto-Containment" feature, that wraps running process with some kind of a virtual machine.
    Symptoms are the same: pip install works fine in one cmd line window and import fails when executed from another process.

提交回复
热议问题