当前位置:网站首页>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重複的環境變量,删除就好了。
边栏推荐
- Support vector machine (SVM)
- Numerical calculation method chapter6 Iterative method for solving linear equations
- 20220526 yolov1-v5
- Chapter 8 - firewall, Chapter 9 - Intrusion Detection
- FPGA based communication system receiver [packet detection] development document
- R语言将dataframe数据中指定数据列的数据从小数转化为百分比表示、数据转换为百分数
- Meter Reading Instrument(MRI) Remote Terminal Unit electric gas water
- Latex usage problems and skills summary (under update)
- Leetcode notes: Weekly contest 296
- 2021.11.2 scientific research log
猜你喜欢

Scoring prediction problem
![[tutorial] deployment process of yolov5 based on tensorflow Lite](/img/d0/c38f27ad76b62b27cdeb68728e9c8c.jpg)
[tutorial] deployment process of yolov5 based on tensorflow Lite

vscode 1.68变化与关注点(整理导入语句/实验性新命令中心等)
![[redistemplate method details]](/img/ef/66d8e3fe998d9a788170016495cb10.png)
[redistemplate method details]

Summary of machine learning + pattern recognition learning (IV) -- decision tree

Summary of semantic segmentation learning (I) -- basic concepts

谋新局、促发展,桂林绿色数字经济的头雁效应

2022r2 mobile pressure vessel filling test question simulation test platform operation

BI技巧丨当月期初

Bi skills - beginning of the month
随机推荐
Leetcode notes: Weekly contest 295
Xshell installation
Ecmascript6 interview questions
Search and rescue strategy of underwater robot (FISH)
xshell安装
Topic 1 Single_Cell_analysis(2)
数值计算方法 Chapter6. 解线性方程组的迭代法
2D visualization of oil storage, transportation and production, configuration application enables intelligent development of industry
Chapter V - message authentication and digital signature
LeetCode笔记:Weekly Contest 295
Voice assistant - Multi round conversation (process implementation)
[tutorial] deployment process of yolov5 based on tensorflow Lite
Vs 2019 MFC connects and accesses access database class library encapsulation through ace engine
Numerical calculation method chapter6 Iterative method for solving linear equations
20220525 RCNN--->Faster RCNN
Voice assistant - future trends
Vs2019 MFC IP address Control Control inherit cipaddressctrl class redessine
Voice assistant - Multi round conversation (theory and concept)
LeetCode笔记:Weekly Contest 296
R language uses rstudio to save visualization results as PDF files (export--save as PDF)