环境搭建
Hong.1948
这个作者很懒,什么都没留下…
展开
-
安装lua,编译时报错: lua.c:82:31: fatal error: readline/readline.h: No such file or directory
安装lua,编译时报错: lua.c:82:31: fatal error: readline/readline.h: No such file or directory 解决方案: sudo apt-get install libreadline-dev原创 2019-06-19 19:11:16 · 873 阅读 · 0 评论 -
安装Torch
** 安装Torch7,按照官网操作,运行./install.sh时报错: ** 参考:http://www.pianshen.com/article/5473287386/ 2 errors detected in the compilation of "/tmp/tmpxft_00001b24_00000000-6_THCTensorMath.cpp1.ii". CMake Error at ...原创 2019-06-21 21:03:23 · 1145 阅读 · 0 评论 -
python3下 import ssl 出现undefined symbol for SSLv2_method的错误
装了anaconda后,python3 import ssl 出现undefined symbol for SSLv2_method的错误,但是在linux 系统自带的python2和python3下import ssl 却没有问题 最惨的是,pip install 会提示需要TPS/SSL,缺少SSL之类的,反正就是不能在线安装各种包了…… 尝试了网上各种解决办法,包括这里的,折腾了2天,但就...原创 2019-07-14 18:43:00 · 2081 阅读 · 0 评论 -
Anaconda使用教程
Anaconda使用教程 创建虚拟环境 conda create --name env_name package_names 说明 --name 可以简写为-n env_name为创建的环境名 package_names为安装的包名,多个包时,用list of packages names即可,各个包名之前空格隔开 例如 conda create -n QG python=3.5.2 sp...原创 2019-07-14 20:00:57 · 733 阅读 · 1 评论 -
使用清华镜像
使用清华镜像 pip install -i https://pypi.tuna.tsinghua.edu.cn/simple/ package_name==verion # 安装指定版本的包 用清华镜像安装requirements.txt里的包 pip install -i https://pypi.tuna.tsinghua.edu.cn/simple/ -r requirements.t...原创 2019-07-14 20:35:32 · 1527 阅读 · 0 评论