那些年我遇到过的问题
mark__tuwen
这个作者很懒,什么都没留下…
展开
-
plugin requires missing class loader for ‘Python‘
plugin requires missing class loader for 'Python'原由解决原由linux上删除原有pycharm,重新安装tar.zip,运行bin目录下pycharm.sh后报错解决原因是在删除pycharm时有残留的文件。删除 ~/.local/share/JetBrains 和 ~/.cache/JetBrains 这两个文件夹之后,重新运行pycharm.sh就ok了。...原创 2021-06-24 22:55:07 · 143 阅读 · 2 评论 -
File “D:\Anaconda3\envs\loushi\lib\ntpath.py“, line 85, in join result_path = result_path + p_pa
File "D:\Anaconda3\envs\loushi\lib\ntpath.py", line 85, in join result_path = result_path + p_pa报错原因解决报错原因pip安装Python包会加载目录包含中文字符,ascii不能编码解决python 对应环境下 \Lib\site-packages 建一个文件sitecustomize.py,内容如下:import sys sys.setdefaultencoding('gbk') 重启环原创 2020-10-29 16:45:54 · 989 阅读 · 1 评论 -
error: Microsoft Visual C++ 9.0 is required. Get it from http://aka.ms/vcpython27
error: Microsoft Visual C++ 9.0 is required. Get it from http://aka.ms/vcpython27解决办法:解决办法:下载 VCForPython27.msi 并安装,重启环境使用pip。地址: http://www.microsoft.com/en-us/download/confirmation.aspx?id=44266原创 2020-10-29 16:39:30 · 250 阅读 · 0 评论 -
fatal: unable to access ‘https://github.com/golang/tools.git/‘: Encountered end of file
fatal: unable to access 'https://github.com/golang/tools.git/': Encountered end of file解决解决 git config --global --unset https.proxy原创 2020-10-22 16:48:05 · 7943 阅读 · 5 评论 -
“cluster_block_exception“,“reason“:“blocked by: [FORBIDDEN/12/index read-only /
"cluster_block_exception","reason":"blocked by: [FORBIDDEN/12/index read-only /问题问题用es搭建的代理服务器,代理ip存不进去,后来发现是es数据库在你的磁盘使用达到95%以后,会自动把索引设定为只读与删除。...原创 2020-09-10 19:58:40 · 559 阅读 · 0 评论 -
安装centos7:please update microcode to vertion :0x22(or later)
please update microcode to vertion :0x22问题解决参考文献:https://blog.csdn.net/sonoface/article/details/84980738问题利用软碟通烧录的系统U盘安装centos7的时候出现固件错误,提示更新微指令。解决点此下载win32diskimager利用上述软件进行烧录,再进行安装的时候,虽然一开始仍会跳出firmware的问题,但是能够正常安装。...原创 2020-09-10 19:47:09 · 2743 阅读 · 0 评论 -
remote: error: insufficient permission for adding an object to repository database ./objects
remote: error: insufficient permission for adding an object to repository database ./objects往自建的git服务器push的时候报错往自建的git服务器push的时候报错在往自建的git服务器push的时候报了如下错误:原因是放在git服务器上的空仓库的所有者不是git用户。在服务器上查看仓库所有者(命令ls -la):其中两个git仓库的所有者是root,需要修改。sudo chown -R git:原创 2020-09-07 10:51:45 · 963 阅读 · 0 评论 -
jupyternotebook无法使用autopep8
jupyternotebook:name 'autopep8' is not defined说明解决说明在使用jupyternotebook过程中,在Nbextensions中勾选了autopep8,但是在notebook中点击autopep8的插件按钮,报了:name 'autopep8' is not defined的错。解决使用autopep8需要单独下载。利用pip或者conda下载即可。conda install autopep8...原创 2020-05-29 18:25:00 · 5112 阅读 · 1 评论 -
jupyter notebook没有Nbextensions一栏
jupyter notebook不显示Nbextensions一栏说明说明在我们安装jupyternotebook的时候会遇到这个问题,另一个Nbextensions一栏原创 2020-05-19 11:28:33 · 14170 阅读 · 6 评论 -
jupyter nbextensions configurator不显示插件
jupyter nbextensions configurator不显示插件说明解决说明参考资料:爬坑记录–jupyter nbextensions不显示拓展今天装jupyternotebook插件。在Jupyter-contrib/jupyter_nbextensions_configurator的Install栏目看了安装方法。因为我用的conda(也有pip的方法),所以只需要在命令行输入以下命令:conda install -c conda-forge jupyter_nbextensio原创 2020-05-19 11:09:50 · 14114 阅读 · 6 评论 -
selenium.common.exceptions.WebDriverException错误解决
selenium.common.exceptions.WebDriverException错误解决参考资料说明解决讨论参考资料https://blog.csdn.net/mango_ZZY/article/details/105138176https://selenium-python.readthedocs.io/installation.html#drivers说明今天在python3.7环境下用snapshot_selenium渲染pyecharts的图片,报了以下错:selenium.c原创 2020-05-13 00:44:24 · 2568 阅读 · 0 评论 -
jupyter notebook增加或删除kernel
jupyter notebook增加或删除kernel增加kernel删除kernel今天用jupyternotebook来学习github上的一个项目,发现运行时报ModuleNotFoundError的错。检查了一下发现问题应该处在notebook的kernel上。因为我在电脑上装了不同的python环境,所以想要用特定的包就需要切换python环境。这里通过kernel实现。增加kernel第一步:打开cmd,进入想要使用的python环境下。在该环境下利用pip安装ipykernel。(p原创 2020-05-10 12:08:45 · 899 阅读 · 0 评论 -
更改jupyter notebook/lab的工作路径以及默认浏览器
更改jupyter notebook/lab的工作路径以及默认浏览器更改jupyter notebook/lab的工作路径更改jupyter notebook/lab的默认浏览器插一句:创建jupyterlab的快捷方式今天装了anaconda3,准备使用jupyter notebook做接下来的工作。但是从开始菜单启动jupyter notebook后,只弹出了一个命令框,告诉你打开notebook的网址,需要手动在浏览器中输入网址才能真正打开notebook。网上查了一下资料,发现为了更好地使用no原创 2020-05-10 00:53:59 · 2950 阅读 · 2 评论