问题描述:
Q1:在创建项目时,选择使用虚拟环境,如下图操作步骤,切换至选中的python解释器—>点击保存,页面弹窗报错:ERROR: The executable D:\python_learn\untitled\venv\Scripts\python.exe is not functioning
目前已经尝试的处理方法:
1.百度过,说可能是因为路径中存在中文所致,所以将Temp目录(存放系统缓存的目录)更改至D盘,但仍未解决;
2. 提示:D:\Temp\tmpuu_spaq_pycharm-management\virtualenv-15.1.0\virtualenv.py:1039: DeprecationWarning: the imp module is deprecated in favour of importlib; see the module’s documentation for alternative uses
import imp
No pyvenv.cfg file 但是在D:\Temp\未找到该文件。
操作截图如下:
图一