Eragon danger
Eragon danger

Reputation: 1

I uninstalled Visual Studio and now Pycharm community won't run Python programs

I'm getting two simultaneous error messages one in the console (1) the other as a popup on the de-bugger icon on the left side-bar (2):

  1. No Python at 'C:\Program Files (x86)\Microsoft Visual Studio\Shared\Python39_64\python.exe'

  2. Connection to Python debugger failed Socket closed

The programs I ran were one's I wrote before and run on Anaconda's IDLE

Solutions I've tried:

  1. Re-install Pycharm through Jetbrains Tool box.

Upvotes: 0

Views: 77

Answers (2)

Eragon danger
Eragon danger

Reputation: 1

I created a new env using Anaconda in Pycharm that fixed it. I think it first used the Visual studio file for my last enviroment and when i uninstalled VS it took the program file the env was using with it.

Upvotes: 0

Nmeer Naji
Nmeer Naji

Reputation: 50

reinstall python from https://www.python.org/downloads/

install it and delete your venv folder and recreate it using the new installed python.

Upvotes: 0

Related Questions