当前位置:网站首页>Conda創建虛擬環境報錯,問題解决
Conda創建虛擬環境報錯,問題解决
2022-06-12 07:52: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重複的環境變量,删除就好了。
边栏推荐
- 2021.11.2 scientific research log
- 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
- tar之多线程解压缩
- 20220525 RCNN--->Faster RCNN
- Process terminated
- Voice assistant - Qu - single entity recall
- Voice assistant - overall architecture and design
- xshell安装
- The R language uses the sample The split function divides the machine learning data set into training set and test set
- Numerical calculation method chapter5 Direct method for solving linear equations
猜你喜欢

2022 G3 boiler water treatment recurrent training question bank and answers

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

Process terminated

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

Windows10 configuration database

Some summaries of mathematical modeling competition in 2022

vscode 1.68变化与关注点(整理导入语句/实验性新命令中心等)

What is a good recommendation system?
![[RedisTemplate方法详解]](/img/ef/66d8e3fe998d9a788170016495cb10.png)
[RedisTemplate方法详解]

Thyristor, it is a very important AC control device
随机推荐
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
Classic paper review: palette based photo retrieval
Some summaries of mathematical modeling competition in 2022
经典论文回顾:Palette-based Photo Recoloring
The R language catools package divides the data, the scale function scales the data, the KNN function of the class package constructs a k-nearest neighbor classifier, and compares the model accuracy u
The Poisson regression model (posion) is constructed by GLM function of R language, and the poisgof function of epidisplay package is used to test the goodness of fit of the fitted Poisson regression
Vs 2019 MFC connects and accesses access database class library encapsulation through ace engine
LeetCode笔记:Weekly Contest 295
2021.10.29-30 scientific research log
Chapter 4 - key management and distribution
Leverage contextual information
‘CMRESHandler‘ object has no attribute ‘_ timer‘,socket. gaierror: [Errno 8] nodename nor servname pro
BI技巧丨当月期初
R语言dplyr包mutate_at函数和one_of函数将dataframe数据中指定数据列(通过向量指定)的数据类型转化为因子类型
Exposure compensation, white increase and black decrease theory
Thyristor, it is a very important AC control device
Conda创建虚拟环境报错,问题解决
Voice assistant - overall architecture and design
2022 electrician (elementary) examination question bank and simulation examination
Bi skills - beginning of the month