Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

no python at "C:\Users\AccountName\AppData\Local\Programs\Python\Python38-32\python.exe" error in VsCode

I was running the Django project without any problems. Until I reinstalled Windows and then reinstalled vscode! Now that I am running the Django project, vscode shows the following error:

Error: no python at C:\Users\AccountName\AppData\Local\Programs\Python\Python38-32\python.exe 

enter image description here

like image 308
Remo Avatar asked Apr 23 '26 07:04

Remo


1 Answers

Edit pyvenv.cfg

home = C:\Users\UserName\AppData\Local\Programs\Python\Python38-32
include-system-site-packages = false
version = 3.8.3

When I edited this file after checking the file path on my computer, it worked for me.

like image 118
Adnan Kocatürk Avatar answered Apr 24 '26 19:04

Adnan Kocatürk



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!