当前位置:网站首页>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重複的環境變量,删除就好了。
边栏推荐
- 20220525 RCNN--->Faster RCNN
- 2021.11.3-7 scientific research log
- In depth learning - overview of image classification related models
- Topic 1 Single_ Cell_ analysis(3)
- Chapter 2 - cyber threats and attacks
- Summary of machine learning + pattern recognition learning (VI) -- feature selection and feature extraction
- R language uses neuralnet package to build neural network regression model (feedforward neural network regression model) and calculate MSE value (mean square error) of the model on the test set
- 2021.10.26 scientific research log
- The computer is connected to WiFi but can't connect to the Internet
- VS2019 MFC IP Address Control 控件继承CIPAddressCtrl类重绘
猜你喜欢

Vs 2019 MFC connects and accesses access database class library encapsulation through ace engine

Chapter 4 - key management and distribution

Topic 1 Single_Cell_analysis(4)

Rich dad, poor dad Abstract

Unity uses shaders to highlight the edges of ugu I pictures

Some summaries of mathematical modeling competition in 2022

Windows10 configuration database

2022 electrician (elementary) examination question bank and simulation examination

Multithread decompression of tar

Fcpx plug-in: simple line outgoing text title introduction animation call outs with photo placeholders for fcpx
随机推荐
LeetCode笔记:Weekly Contest 295
2022r2 mobile pressure vessel filling test question simulation test platform operation
Work summary of the week from November 22 to 28, 2021
‘CMRESHandler‘ object has no attribute ‘_ timer‘,socket. gaierror: [Errno 8] nodename nor servname pro
2、 Eight, ten and hexadecimal conversion
Windows10 configuration database
Meter Reading Instrument(MRI) Remote Terminal Unit electric gas water
20220525 RCNN--->Faster RCNN
Summary of machine learning + pattern recognition learning (VI) -- feature selection and feature extraction
LeetCode34. 在排序数组中查找元素的第一个和最后一个位置
2021.10.31-11.1 scientific research log
20220526 损失函数
Leverage contextual information
Numerical calculation method chapter6 Iterative method for solving linear equations
解决逆向工程Mapper重复问题
Connect to the database but cannot modify the data
Chapter V - message authentication and digital signature
Rich dad, poor dad Abstract
MSE (mean square error) calculation package function
经典论文回顾:Palette-based Photo Recoloring