![](https://img-blog.csdnimg.cn/20201014180756757.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
ubuntu
一只小白的进阶
这个作者很懒,什么都没留下…
展开
-
linux:gcc编译出“error: ld returned 1 exit status”
运行某书上给的线程创建与结束的例子,在linux下用gcc编译代码,出现如下问题/tmp/cclpFs9V.o: In function `main':test.cpp:(.text+0x52): undefined reference to `pthread_create'test.cpp:(.text+0x89): undefined reference to `pthread_jo...原创 2020-03-02 15:04:33 · 2806 阅读 · 2 评论 -
ubuntu安装jupyter—zsh: command not found: jupyter
ubuntu上使用pip安装jupyter,运行jupyter出现:zsh:command not found:jupyter解决方法:终端运行~/.local/bin/jupyter-notebook之后出现下图,直接粘贴所给网址在网页打开即可...原创 2020-02-29 16:04:53 · 760 阅读 · 0 评论 -
linux运行shell脚本出现Syntax error: "(" unexpected**
原因:兼容性问题,linux将sh默认指向了dash,而不是bash解决方法:在root下执行以下代码,并选择no,再次运行shell脚本,即可sudo dpkg-reconfigure dash原创 2020-02-29 07:33:58 · 3476 阅读 · 0 评论 -
ubuntu设置环境变量export LIB_LIBNARY_PATH=$LIB_LIBNARY_PATH:../lib/
用export设置环境变量第一种:export PATH=$PATH:/要添加的路径export LIB_LIBNARY_PATH=$LIB_LIBNARY_PATH:../lib/第二种:export PATH=/要添加的路径:$PATHexport LIB_LIBNARY_PATH=../lib/:$LIB_LIBNARY_PATH...原创 2020-02-29 07:29:41 · 4199 阅读 · 2 评论 -
ubuntu下编译Mxnet并用C++训练用例
使用环境是WSL(Ubuntu 18.04),g++ 7.5.01、下载Mxnet源码git clone --recursive https://github.com/apache/incubator-mxnet mxnet 此处一定要把recursive确保把子模块一同下载下来,解压,如果下载速度较慢或者网络连接不顺利时,比如出现建议使用mxnet的镜像,网址链接:http...原创 2020-02-28 15:39:36 · 559 阅读 · 0 评论