ERROR: The executable C:\PycharmProjects\untitled4\venv\Scripts\python.exe is not functioning
Using base prefix 'C:\\Program Files\\Python安装目录'New python executable in C:\PycharmProjects\untitled4\venv\Scripts\python.exeERROR: The executable C:\PycharmProjects\untitled4\venv\Scripts\python.exe is not functioningERROR: It thinks sys.prefix is 'c:\\users\\汪汪\\appdata\\local\\temp\\tmpg65stq5bpycharm-management\\virtualenv-15.1.0' (should be 'c:\\pycharmprojects\\untitled4\\venv')ERROR: virtualenv is not compatible with this system or executableNote: some Windows users have reported this error when they installed Python for "Only this user" or have multiple versions of Python installed. Copying the appropriate PythonXX.dll to the virtualenv Scripts/ directory may fix this problem.Failed to import the site moduleTraceback (most recent call last): File "C:\PycharmProjects\untitled4\venv\lib\site.py", line 703, in main() File "C:\PycharmProjects\untitled4\venv\lib\site.py", line 670, in main virtual_install_main_packages() File "C:\PycharmProjects\untitled4\venv\lib\site.py", line 554, in virtual_install_main_packages sys.real_prefix = f.read().strip()UnicodeDecodeError: 'gbk' codec can't decode byte 0xa3 in position 27: illegal multibyte sequence pycharm edu 版本 新建项目时出现这个错误。忽略它,写好代码运行时说找不到解释器。但我明明已经安装了Python3.64,解释器也能够使用。
最满意答案
这是配置的问题: 1。跟python有关的,路径里最好不要有中文(容易出各种意料之外的错误) 2。环境变量设置了吗?cmd里面能运行python吗? 3。pycharm的file菜单里可以设置python路径的 4。实在不行就找人帮你看一下或者远程一下更多推荐
发布评论