after pip successful installed: ModuleNotFoundError

后端 未结 5 1740
孤街浪徒
孤街浪徒 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:35

    Wherever you're running your code, try this

    import sys
    
    sys.path
    sys.executable
    

    It might be possible you're running python in different environment and the module is installed in different environment.

提交回复
热议问题