pycharm- AttributeError: module 'sysconfig' has no attribute '_get_default_scheme'

I tried to upgrade my python version from 3.7.9 to 3.10.8 and tried to create a new project in pycharm and got this error: pycharm- AttributeError: module 'sysconfig' has no attribute '_get_default_scheme' see the attached image for more info on error. 

评论操作 固定链接
Hi, could you please provide logs from **Help | Collect Logs and Diagnostic Data** after reproducing the issue?
0
评论操作 固定链接

Same issue here when trying to add python 3.10:

 

0
评论操作 固定链接

Hello @Nadavb

 

Could you please submit a  request at https://youtrack.jetbrains.com/issues/PY and attach your logs from **Help | Collect Logs and Diagnostic Data**? 

I am also wondering if you are able to create a new interpreter manually from the command line out of PyCharm with the same base interpreter, please see https://docs.python.org/3/library/venv.html 

0

请先登录再写评论。