ERROR: The executable C:\PycharmProjects\untitled4\venv\Scripts\python.exe is no

Posted

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了ERROR: The executable C:\PycharmProjects\untitled4\venv\Scripts\python.exe is no相关的知识,希望对你有一定的参考价值。

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 <module> 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。实在不行就找人帮你看一下或者远程一下
参考技术A 可能由于中文名称或者空格引起的 参考技术B 我也出现了这样的错误,你的解决了吗 参考技术C 我也碰到类似的问题,安装一下vc2015后问题解除。你可以试试。

以上是关于ERROR: The executable C:\PycharmProjects\untitled4\venv\Scripts\python.exe is no的主要内容,如果未能解决你的问题,请参考以下文章

npm i安装包依赖时 gyp ERR! stack Error: Can‘t find Python executable “python“, you can set the PYTHON env(

npm i安装包依赖时 gyp ERR! stack Error: Can‘t find Python executable “python“, you can set the PYTHON env

命令行运行mvn test后报错[ERROR] Error executing Maven. [ERROR] 1 problem was encountered while building the

maven配置时出现:[ERROR] Error executing Maven. [ERROR] 1 problem was encountered while building the effec

maven配置时出现:[ERROR] Error executing Maven. [ERROR] 1 problem was encountered while building the effec

Java Error: Failed to validate certificate. The application will not be executed