文章详情页
python - pycharm运行报错unable to load the file system codec ImportError ?
浏览:49日期:2022-07-13 14:44:46
问题描述
我之前装了几个版本的python,感觉太乱就全卸载了,现在新安装好python3.4.3后在cmd输入python都正常
但是在pycharm中运行空文件都报错报错信息:Fatal Python error: Py_Initialize: unable to load the file system codecImportError: No module named ’encodings’
Current thread 0x000033c4 (most recent call first):
问题解答
回答1:在pycharm中的project structure中设置你的python解释器路径,如果还不行再给python的运行添加环境变量。实在不行,可以试试通过pycharm中的install repo来安装这个模块
回答2:用管理员权限安装一次,然后配置对环境变量试试
相关文章:
1. javascript - vue生成一维码?求助!!!!!急2. javascript - js 多维数组的问题3. angular.js - angular2 有什么cool的loading组件么?4. python2.7 - 在Eclipse开发Python,怎么去掉控制台输出的其他消息??5. android - libGDX 显示ttf字体出错6. css - width设置为100%之后列表无法居中7. mysql 一个sql 返回多个总数8. angular.js - angularJs使用iframe,网页内容自适应的问题9. docker镜像push报错10. angular.js - angular ui bootstrap 中文显示问题
排行榜
