NVIDIA-linux.run安裝後,會出現登陸頁面循環,解決辦法是在運行命令後加入-no-opengl-fileshtml
打開nvidia x server Settings軟件,顯示:You do not appear to be using the NVIDIA X driver. Please edit your X configuration file (just run `nvidia-xconfig` as root), and restart the X server.
運行sudo nvidia-xconfig,重啓後,致使屏幕分辨率變爲688×688.恢復方法爲刪去/etc/X11/xorg.conf文件。python
更新grub:爲防止系統自動修改此文件,打開文件 /etc/default/grub, 在 GRUB_CMDLINE_LINUX_DEFAULT 中增長選項 "nogpumanager",以後更新 grub 便可,
http://www.cnblogs.com/gaowengang/p/6068788.htmllinux
$:/etc/X11$ sudo nvidia-xconfigbootstrap
WARNING: Unable to locate/open X configuration file.ubuntu
Package xorg-server was not found in the pkg-config search path.
Perhaps you should add the directory containing `xorg-server.pc'
to the PKG_CONFIG_PATH environment variable
No package 'xorg-server' found
New X configuration file written to '/etc/X11/xorg.conf'bash
最後,這個問題放棄解決,中間修改了/ect/module文件,裏面爲空,後面改過來了,沒什麼用,之因此改,是看的ubuntu官網上的nvidia-manual.app
安裝cudnn 7.0,安裝openblas.python2.7
opencv是經過apt-get在前置條件中安裝的,經過apt-get install下載的文件位置在/var/cache/apt/archives下。opencv相關的頭文件在/usr/include目錄下,動態連接庫文件和靜態庫文件在/usr/lib/x86_64linux_gnu下。
http://blog.csdn.net/tina_ttl/article/details/52745807ui
使用pip安裝一些依賴庫遇到問題,報Python PIP Install throws TypeError: unsupported operand type(s) for -=: 'Retry' and 'int'這樣的錯誤。
解決方法:http://www.itwendao.com/article/detail/186752.html
上面的連接是一系列ubantu問題的解決方法。
apt-get remove python-pip python3-pip
wget https://bootstrap.pypa.io/get-pip.py
python get-pip.py
python3 get-pip.py
結果是下載了pip9.0.1,原始版本爲8.0.1。
通過一下午嘗試,而且覺得是網線的問題,換了網線後,沒用。
最終方法:sudo pip install.
python各安裝包所在路徑:/usr/local/lib/python2.7/dist-packages.net
遇到的錯誤:
1.有一些依賴沒安裝,好比glog,lmdb,。hdf5因爲安裝的是hdf5-serial-dev,因此在Makefile.config頭文件庫路徑須要加入/usr/include/hdf5/serial.。
2.nvcc fatal : Unsupported gpu architecture 'compute_20'
Makefile:594: recipe for target '.build_release/cuda/src/caffe/util/math_functions.o' failed
在Makefile.config裏修改CUDA_ARCH ,將其中的'compute_20'的兩項註釋掉。
3.錯誤:/usr/bin/ld: 找不到 -lhdf5_hl
/usr/bin/ld: 找不到 -lhdf5
解決辦法: locate libhdf5_hl,查找庫的位置,修改LIBRARY_DIRS,增長該庫所在的路徑。
pycaffe:pythonpath配置:sudo gedit /etc/profile, export PYTHONPATH=~/Documents/caffe-master/python:$PYTHONPATH在~/.bashrc中配置應該也行。