共 18 篇文章 |
|
因此更改为: echo ''import site; site.addsitedir("/usr/local/lib/python3.5/site-packages")'' >>/Users/Tiger/Library/Python/3.5/lib/python/site-packages/homebrew.pth依然不行。 阅199 转1 评0 公众公开 16-03-14 03:02 |
Install Python3 on OS X, virtualenv &virtualenvwrapper.However, there is one important remark about the version of pyvenv you have installed: only if you installed Python 3.4 or latter, pyvenv will also install pip when creating a new virtual environment.$ mkvirtualenv --python=python3_path myenvwhere python3_path... 阅65 转0 评0 公众公开 15-09-07 10:21 |
OpenCV follows BGR order, while matplotlib likely follows RGB order.when you display an image loaded in OpenCV using pylab functions, you may need to convert it into RGB mode. Below method demonstrate it:split(img)img2 = cv2.imshow(''rgb image'',img2) # expects distorted colorcv2.NB : Please check @Am... 阅113 转0 评0 公众公开 15-04-10 08:24 |
python3.4.3 already installed, it''s just not linked这个是来自于 brew 安装的问题。 阅1127 转0 评0 公众公开 15-04-09 02:40 |
brew install pythonpip3 install virtualenvpip3 install virtualenvwrapperpip3 install numpybrew install gfortranpip3 install scipybrew install freetypepip3 install matplotlibpip3 install ipython # install the QT libraries as described # in the text below before continuingbrew install pyqtbrew install zmqpip3 install py... 阅108 转0 评0 公众公开 15-03-27 03:02 |
Installing OpenCV 3.0.0 on Ubuntu 14.04相对于原文。第一步install dependencies的时候,用的是下面的语句: $ sudo apt-get install build-essential $ sudo apt-get install cmake git libgtk2.0-dev pkg-config libavcodec-dev libavformat-dev libswscale-dev $ sudo apt-get install python-dev python-numpy libtbb2 libtbb-dev l... 阅2062 转21 评0 公众公开 15-03-19 09:41 |
例如: break 10 (在第10行设置断点),break (查看断点信息),condition 1 pression 给断点1设定条件pression, 这里pression是python表达式,当条件满足时在该点停下来disable 1,(禁用断点1), enable 1, (恢复断点1), clear 1,(删除断点1), ignore 1 3,(在执行到断点1第四次时才启用该断点),commands 1,(给断点1设定触发动作,每次运行到该... 阅31282 转24 评0 公众公开 15-03-13 11:11 |
Installing scikit-learn on Ubuntu 14.04 ---------> Python 3Python3 cant work out.And I finally still use python 2.7.Damn it. cost me a whole day. 阅136 转0 评0 公众公开 14-04-29 03:55 |
scikit-learn intallationOnly use the repository from ubuntu 14.04.$ sudo apt-get install python-sklearn.This would install the scikit-learn 0.14.1 (or later) 阅78 转0 评0 公众公开 14-04-28 03:13 |
阅1038 转1 评0 公众公开 14-04-27 14:04 |