Cant create virtual new project

Answered

Hi, 

I'm no expert with Pycharm , so go easy on me. 

I have done something in the past whilst trying to learn virtual environments that seems to be stopping me from creating a new project with Pychram community edition 2024.1.1 in windows.

To get things going, i have tried uninstalling absolutely everything, and then installed Pycharm and allow Pycharm to install Python 3.12.3

Every time i try to create a new project with the interpreter type as “Project venv”, it fails and the root cause seems to 

"PermissionError: [Errno 13] Permission denied: 'C:\\Users\\Dean\\AppData\\Local\\pypa\\virtualenv\\wheel\\3.12\\embed\\3\\pip.json'
PermissionError(13, 'Permission denied')"

This also appears at the bottom:

File "C:\Program Files\JetBrains\PyCharm Community Edition 2024.1.4\plugins\python-ce\helpers\virtualenv-20.24.5.pyz\virtualenv\seed\embed\via_app_data\via_app_data.py", line 128, in _get_seed_wheels
RuntimeError: seed failed due to failing to download wheels pip
 

I have tried related solutions on this site but i am at a loss on how to solve it short of factory resetting my computer !

Appreciate any help !

I have uploaded my log files with upload ID 2024_07_23_259on9KU3ZZhuH4dn1DVTH

 

 

0
1 comment

It looks like the issue is with permissions. More specifically, you don't have permission to run pip.

I recommend trying to reinstall the Python System interpreter on your machine with your current user and then try to recreate the virtual environment usem this version.

Check out https://www.jetbrains.com/help/pycharm/configuring-local-python-interpreters.html

0

Please sign in to leave a comment.