Migration problems encountered in the course of the project pycharm

 Debugging encountered three problems:
 the problem 1: Error running 'run_all_test': Can not run program "C: \ Users \ Administrator \ .virtualenvs \ mypython3 \ bin \ python" (in directory "E: \ Program Files \ pycharmproject \ wanwenyc \ WWTest \ man "): CreateProcess error = 2, the system can not find the file specified.
            Problem Cause: python version and python version used locally used in the project due to inconsistent
 question 2: The directory E: \ Program Files \ wanwenyc is registered as a Git root, but no Git repositories were found there.
            Problem Cause: Project created when with git property (ie, the project was created by gibhub user, no local git program)
 issue 3: Error running 'run_all_test': Can not run program "D: \ myenv \ myfirstenv \ Scripts \ python.exe" (in directory "E : \ Program files \ wanwenyc \ WWTest \ man "): CreateProcess error = 2, the system can not find the file specified.
            Cause of the problem: create a project using the virtual directory virtual environment using a local directory environment caused by inconsistent procedures
 
 Three or more unified approach to solve the problem:
 Create a new project locally, copy the files in the original project directory in addition to other documents .idea files to the new project next to

Guess you like

Origin www.cnblogs.com/jingzaixin/p/11543581.html