SoFunction
Updated on 2024-11-15

Question about changing the path name after PyCharm installation to make it reopenable

My PyCharm installation path isG:\PyCharm 2019.1.1, the presence of a space in the middle caused me to run a certain python file without being able to detect the presence of an absolute path in the code, and the error was recognized asG:\PyCharm\PycharmProjects

0. Modify the installation path nameG:\PyCharm 2019.1.1because ofG:\PyCharm2019.1.1
1. InG:\PyCharm2019.1.1\binFind the crack file .vmoption, which contains the path of the crack package, once you modify the path of PyCharm, you will not be able to find the crack package.

在这里插入图片描述

Open the file using Notepad and finalize the text:

-javaagent:G:\PyCharm 2019.1.1\bin\

Change to the current name:

-javaagent:G:\PyCharm2019.1.1\bin\

At this point, clicking Run PyCharm still doesn't work and you need to continue.
2. Carry out the corresponding user folder on the system disk:

C:\Users\DELL\.PyCharm2019.1\config

在这里插入图片描述

Find the crack file .vmoption again, open it and again change the text last to the current name:

-javaagent:G:\PyCharm2019.1.1\bin\

3. Click Run to start successfully

To this article on the installation of PyCharm to modify the path name so that it can re-open the issue of the article is introduced to this, more related to PyCharm to modify the path to re-open the contents of the search for my previous articles or continue to browse the following related articles I hope that you will support me more in the future!