当前位置:网站首页>Conda创建虚拟环境报错,问题解决
Conda创建虚拟环境报错,问题解决
2022-06-12 07:49:00 【NEOzhuo】
问题描述
Fatal Python error: init_sys_streams: can't initialize sys standard Microsoft Windows [Version 10.0.17134.228] (c) 2018 Microsoft Corporation. All rights reserved. C:\WINDOWS\system32>c: C:\WINDOWS\system32>cd Python37-32 The system cannot find the path specified. C:\WINDOWS\system32>cd \ C:\>cd Python37-32 C:\Python37-32>python Fatal Python error: init_sys_streams: can't initialize sys standard streams
AttributeError: module 'io' has no attribute 'OpenWrapper'
Current thread 0x0000139c (most recent call first):
解决方法
首先尝试在命令行执行python -E,看是否不报错,如果加-E不报错的话,直接执行python报错的话,就用下面的方法解决。
在系统的环境变量里:(我的电脑-属性-高级设置-环境变量)里面存在
PYTHONHOME和PYTHONPATH,两个环境变量,删除这两个就可以了。如果因为使用
snippets所以得用PYTHONHOME的话,那么就在现有的环境变量PATH里找肯定有跟PYTHONHOME重复的环境变量,删除就好了。
边栏推荐
- QT realization tray
- LeetCode笔记:Weekly Contest 296
- Chapter 8 - firewall, Chapter 9 - Intrusion Detection
- Thyristor, it is a very important AC control device
- Modelants II
- Exposure compensation, white increase and black decrease theory
- Voice assistant - Qu - single entity recall
- Velocity autocorrelation function lammps v.s MATALB
- Voice assistant - future trends
- R language uses the sum function of epidisplay package to calculate the descriptive statistical summary information of the specified variables in dataframe under different grouping variables, visualiz
猜你喜欢

Voice assistant - Measurement Indicators

Chapter 2 - cyber threats and attacks

电脑连接上WiFi但是上不了网

The latest hbuilderx editing uni app project runs in the night God simulator

Topic 1 Single_ Cell_ analysis(4)

Seeking for a new situation and promoting development, the head goose effect of Guilin's green digital economy

Federated reconnaissance: efficient, distributed, class incremental learning paper reading + code analysis

经典论文回顾:Palette-based Photo Recoloring

Voice assistant - Introduction and interaction process

Topic 1 Single_Cell_analysis(1)
随机推荐
Topic 1 Single_Cell_analysis(1)
Fcpx plug-in: simple line outgoing text title introduction animation call outs with photo placeholders for fcpx
Web page performance optimization interview questions
Federated reconnaissance: efficient, distributed, class incremental learning paper reading + code analysis
Multithread decompression of tar
WEB页面性能优化面试题
Modelants II
Some summaries of mathematical modeling competition in 2022
The latest hbuilderx editing uni app project runs in the night God simulator
Voice assistant - future trends
R语言e1071包的naiveBayes函数构建朴素贝叶斯模型、predict函数使用朴素贝叶斯模型对测试数据进行预测推理、table函数构建混淆矩阵
MySQL索引(一篇文章轻松搞定)
Thyristor, it is a very important AC control device
Support vector machine (SVM)
Summary of machine learning + pattern recognition learning (II) -- perceptron and neural network
谋新局、促发展,桂林绿色数字经济的头雁效应
Shortcut key modification of TMUX and VIM
Summary of machine learning + pattern recognition learning (VI) -- feature selection and feature extraction
Unity uses shaders to highlight the edges of ugu I pictures
Rnorm function of R language generates positive distribution data, calculates descriptive statistical summary information of vector data using sum function of epidisplay package, and visualizes ordere