Pycharm gets error “can't find '__main__' module”

后端 未结 7 722
轻奢々
轻奢々 2021-02-02 14:21

Whenever I try to run script via Virtualenv in pycharm, i get this error:

C:\\Users\\Costello\\PycharmProjects\\test\\venv\\Scripts\\python.exe C:/Users/Costello         


        
7条回答
  •  长情又很酷
    2021-02-02 14:44

    I encountered this problem when my cmd was forced to "End Task" by "Task Manager". My problem solved when I restart my IDE.

提交回复
热议问题