随笔分类 -  Ubuntu

U bug tu
摘要:接上片... 问题 virtualenvwrapper装好后, 发现使用 时, 又找不到virtualenv了... 的virtualenv找不到, 的virtualenv又报缺少python2的path. 解决: 我又想起了上个问题的解决方法, 在 下找到了 文件, 这可能就是 所对应的了, 再将 阅读全文
posted @ 2018-05-06 22:49 默盒 阅读(3241) 评论(1) 推荐(1) 编辑
摘要:"Reference" Ubuntu 18.04 只自带python3.6.5, 因此不想装python2了, 但通过apt install 装virtualenvwrapper时发现必须得装python2, 因此洁癖促使我通过pip安装, 后有了如题的错误. 安装virtualenvwrapper 阅读全文
posted @ 2018-05-06 22:24 默盒 阅读(4398) 评论(3) 推荐(0) 编辑
摘要:"Reference" Solutions: 1. Ctrl+Atl+t 2. Type , which will open an interactive prompt. 3. Type , and so as the password. 4. Type , enter. 5. Type , ent 阅读全文
posted @ 2018-05-06 17:45 默盒 阅读(263) 评论(0) 推荐(0) 编辑
摘要:matplotlib 显示中文 Method_1: Method_2: 先定义myfont变量, 使其获取某个本地的字体, 然后在需要显示相应字体的函数中使用fontproperties参数, 赋值myfont即可: Ubuntu中缺少中文字体: 网上下 "字体下载网站" "下载SimHei入口1" 阅读全文
posted @ 2018-04-13 21:07 默盒 阅读(290) 评论(0) 推荐(0) 编辑
摘要:源是通过 来确定的, 只要将其中的相应文件/相应行删除了, 在apt get update时就不会在寻找它们的源来更新了. 阅读全文
posted @ 2018-04-13 20:45 默盒 阅读(729) 评论(0) 推荐(0) 编辑
摘要:问题: 之前设置的没问题, vscode重装后, 发现vscode里面的设置还在, 但敲代码却无法识别虚拟环境中的包了, 因此相关的内容也无法自动补全. 解决: 后来发现, 实际上设置没有出错, 但重装后忘记重新选定Python解释器了.... 点右下角的Python xxx, 之后在上方出现的下拉 阅读全文
posted @ 2018-04-12 16:43 默盒 阅读(5710) 评论(0) 推荐(0) 编辑
摘要:1. Ubuntu正常开机的情况下: 2. Ubuntu不能正常开下: 进入Ubuntu引导, 不要正常进入, 选Ubuntu高级选项, 进入recovery mode, 选grub那个选项, 点进去, 再选确认, 屏幕下方会出来一小块作为终端, 显示 再重启, 开机就有Windows10 boot 阅读全文
posted @ 2018-04-04 14:25 默盒 阅读(1150) 评论(0) 推荐(0) 编辑
摘要:这里且以opencv为例: 其实很简单, 一个软链接搞定:) 阅读全文
posted @ 2018-03-20 14:48 默盒 阅读(312) 评论(0) 推荐(0) 编辑
摘要:在cmake时粗心了, 要确保有 且该目录下存在Python.h文件. 如果在错误提示中是python2, 那就用PYTHON2_INCLUDE_DIR即可. 阅读全文
posted @ 2018-03-20 10:23 默盒 阅读(703) 评论(0) 推荐(0) 编辑