Anaconda

utuntu16.04安装caffe+Matlab2017a+opencv3.1+CUDA8.0+cudnn6.0

邮差的信 提交于 2020-01-23 09:27:05
上午把tensorflow安装好了,下午和晚上装caffe的确很费劲。 默认CUDA,cuDNN可以用了 caffe官方安装教程 有些安装顺序自己也不清楚,简直就是碰运气 1. 安装之前依赖项 General dependencies sudo apt-get install libprotobuf-dev libleveldb-dev libsnappy-dev libopencv-dev libhdf5-serial-dev protobuf-compiler sudo apt-get install --no-install-recommends libboost-all-dev 安装matlab见后面: 为什么需要安装Matlab? caffe有Matlab的接口,因此如果需要使用Matlab调用caffe,进行编程,就需要安装Matlab。如果你觉得使用C或Python编程比较难,就请安装Matlab。当然如果不需要,并且后面不会编译caffe生成Matlab的接口,就不需要安装Matlab了。这个纯粹根据个人需求来定。 为什么需要安装OpenCV? caffe是用来做深度学习的,深度学习的一大应用对象就是图像和视频。而OpenCV是目前最火的开源计算机视觉库,非常多的项目多用到了OpenCV,当然caffe也依赖OpenCV。所以,需要安装OpenCV

Anaconda (Python) - Cmder integration on Windows 10

余生颓废 提交于 2020-01-23 08:32:11
问题 I'm having some troubles in having Cmder working with Python through Anaconda on Windows 10 64bit. I got Anaconda working pretty well, tested to plot something with matplotlib and it works just great with Anaconda Prompt. However, if I try to run the same .py file under Cmder, I got the following error: Traceback (most recent call last): File "C:\ProgramData\Anaconda3\lib\site-packages\numpy\core\__init__.py", line 16, in <module> from . import multiarray ImportError: DLL load failed: The

Anaconda/Python site-packages subfolders with tilde in name - what are they?

﹥>﹥吖頭↗ 提交于 2020-01-23 07:52:26
问题 Today, I went to change the config of matplotlib. Searching matplotlibrc revealed I have two of them: Looking at the site-packages folder, I found a lot of packages have a tilde in their name: ~klearn is sklearn , but there is another sklearn . ~atplotlib is matplotlib too, changed date is 2018-11 ~-tplotlib 's changed date is 2019-3.15 matplotlib 's changed date is 2019-3.28 (I did update matplotlib recently) What are these tilde name packages used for? Can I delete them safely? 回答1: Is it

How does one fix the issue of not writable paths with conda?

人盡茶涼 提交于 2020-01-23 06:29:25
问题 Why do I see the following error when using conda (usually when installing packages or making new envs) and how do I fix it: Verifying transaction: | WARNING conda.core.path_actions:verify(963): Unable to create environments file. Path not writable. environment location: /Users/brandomiranda/.conda/environments.txt or Preparing transaction: done Verifying transaction: - WARNING conda.core.path_actions:verify(963): Unable to create environments file. Path not writable. environment location:

Can't use PySide with Anaconda

人走茶凉 提交于 2020-01-23 05:57:29
问题 I have just installed Anaconda for Python 3 and then installed PySide by sudo apt-get install python3-pyside Then I tried to use it throw Anaconda's version of python and typed import PySide but gave me this error ImportError: No module named 'PySide' But when I try the normal Interpreter of Python it works fine, So how could I make it work with Anaconda? 回答1: You need to install it with conda : conda install -c conda-forge pyside 来源: https://stackoverflow.com/questions/41708923/cant-use

Conda list shows a package but cannot import it

五迷三道 提交于 2020-01-23 04:26:26
问题 Here an issue i'm having on a conda Virtual env. I'm using ubuntu 64b guest on windows 7 host with Virtual Box. So when i'm doing : source activate MyVirtEnv conda list |grep visdom visdom 0.1.05 0 conda-forge Seems to be installed right ? Next step : python Python 3.5.3 |Anaconda custom (64-bit)| (default, Mar 6 2017, 11:58:13) [GCC 4.4.7 20120313 (Red Hat 4.4.7-1)] on linux Type "help", "copyright", "credits" or "license" for more information. >>> import visdom Traceback (most recent call

XGBoost crashing kernel in jupyter notebook

∥☆過路亽.° 提交于 2020-01-23 03:07:13
问题 I don't know how to make the XGBoost classifier work. I am running the code below on jupyter notebook, and it always generates this message "The kernel appears to have died. It will restart automatically." from xgboost import XGBClassifier model = XGBClassifier() model.fit(X, y) There is no problem with importing the XGBClassifier, but it crashes upon fitting it to my data. X is a 502 by 33 all-numeric dataframe, y is the set of 0 or 1 labels for each row. Does anyone know what could be the

Conflicts when installing Anaconda Python

我与影子孤独终老i 提交于 2020-01-23 02:34:45
问题 I have recently installed the Anaconda distribution of Python. I then inserted the following line into my .bashrc file: export PATH=/home/karnivaurus/Libraries/Anaconda/bin:$PATH So, there are now two python binary files: one in /usr/bin/ , and one in /home/karnivaurus/Libraries/Anaconda/bin . I also have a python script, which attempts to import a module named caffe , with the line import caffe . Now, if I run python caffe from the terminal, the script runs fine. However, if I open the

How to build libraries via conda on colab.research?

泄露秘密 提交于 2020-01-22 12:20:10
问题 So I want to use python-occ library. It requires conda-forge to be build. I try to install it in basic notebook !wget -c https://repo.continuum.io/archive/Anaconda3-5.1.0-Linux-x86_64.sh !chmod +x Anaconda3-5.1.0-Linux-x86_64.sh !bash ./Anaconda3-5.1.0-Linux-x86_64.sh -b -f -p=conda3 !export PYTHONPATH=./conda3/lib/python !export PATH=./conda3/bin/:$PATH !conda install -y -c conda-forge -c dlr-sc -c pythonocc -c oce pythonocc-core Yet it will install a package into condas python. How to make

pip packages not included in “conda env export”

回眸只為那壹抹淺笑 提交于 2020-01-22 10:40:55
问题 My python project runs on a conda virtual environment. I install packages on the environment with conda install whenever that package is available for installing that way, otherwise, I install it with pip install . To make the project installation easier for other developers, I export the list of packages that are used on the conda environment to a file: conda env export > conda_environment_export.yml . However, since a while, the package export does no longer contain the packages installed