SoFunction
Updated on 2024-10-30

The pycharm log always pops up "Cannot run Git, Git is not installed".

The pycharm log always pops up "Can't run Git, Git not installed".

The reason for this log prompt is not configured in pycharm git, if you want to get their code into the git repository, to avoid computer problems caused by unexpected events code is gone, then it is recommended that you can upload the git repository, which is very necessary to do large-scale projects, there have been enterprise projects should be very clear that people should be very clear about the experience!

The solution is as follows

If there is no Chinese plugin or English interface:

file -----settings-----version control -----Git----Git path (choose the one you downloaded)---test----- a popup appears click OK-----ok----Apply and you're done!

The Chinese plugin has been installed:

After completing the above 6 steps a pop-up window will appear, just click OK and then

Ock, that solves it, suggest you restart your pycharm again

pycharmconfiguregitreport an error:Can not Run Git::CreateProcess failed with error

The reason for the error is that the Git environment variables are not configured.

After the installation of git is completed, you need to configure environment variables for git, which can be called by cmd.

Use cmd to determine if the git environment has been configured successfully by typing git If a git-related message pops up, the configuration was successful.

Then open pycharm and click on the file menu, which brings up a drop-down menu with settings selected.

When you get to the settings screen, click on the git option in the version control section.

Then browse to the installed path in path to git executable.

After the path browser is complete, click Test. to test if the configuration is successful.

summarize

The above is a personal experience, I hope it can give you a reference, and I hope you can support me more.