conda

conda python isn't using the numpy version I try install if I also specify that it should use python 2

↘锁芯ラ 提交于 2019-12-24 05:54:06
问题 I am trying to use condas to install an environment that uses python 2.7 and numpy version 1.10 I try to create such an environment conda create -n test2 python=2.7 numpy=1.10 It contends it is going to install the software I specified The following NEW packages will be INSTALLED: mkl: 11.3.3-0 numpy: 1.10.4-py27_2 openssl: 1.0.2l-0 pip: 9.0.1-py27_1 python: 2.7.13-0 readline: 6.2-2 setuptools: 27.2.0-py27_0 sqlite: 3.13.0-0 tk: 8.5.18-0 wheel: 0.29.0-py27_0 zlib: 1.2.8-3 and then activate it

anaconda安装opencv(python)

谁都会走 提交于 2019-12-24 04:26:22
1、win10 win10没有安装python,只安装了anaconda,然后使用pip安装opencv-python,版本很新,opencv_python4.0.0的。 网速有点莫名其妙,时快时慢 可以使用 2、ubuntu16.04 ①使用该方法安装失败( https://www.pyimagesearch.com/2016/10/24/ubuntu-16-04-how-to-install-opencv/ ) 卸载也很麻烦。。。。orz,可能还不是很干净 ②使用conda install --channel https://conda.anaconda.org/menpo opencv,一直在检查环境。直接下载包到中途也中断了。 参考: https://blog.csdn.net/dcrmg/article/details/77972123 https://yq.aliyun.com/ziliao/276132 https://blog.csdn.net/pursuit_zhangyu/article/details/79450865 conda云的opencv包: https://anaconda.org/menpo/opencv3 ③最后其实conda install opencv就可以搞定了,版本是3.4.2的,这里同样需要sudo -i进入root模式。 conda

python 下 安装openCV

只愿长相守 提交于 2019-12-24 04:25:58
安装openCV openCV是Intel 创建的计算机视觉库,用于计算机图像处理。 安装anaconda,在命令行中输入conda install cv2/opencv 报错汇总 网络连接问题 报错描述: 在输入下载安装命令后出现网络连接问题 C:Usersning0>conda install numpy Fetching package metadata ... CondaHTTPError: HTTP None None for url https://repo.continuum.io/pkg ... Elapsed: None An HTTP error occurred when trying to retrieve this URL. HTTP errors are often intermittent, and a simple retry will get you on your way. ProxyError(MaxRetryError("HTTPSConnectionPool(host='repo.continuum.io', port=443): Max retries exceeded with url: /pkgs/free/win-64/repodata.json.bz2 (Caused by ProxyError('Cannot connect

Best practices with pip and conda for consistency

强颜欢笑 提交于 2019-12-24 03:20:46
问题 I know there are a lot of questions on the coexistence and interchangeability/non-interchangeability of pip and conda . That is not my question: I know I need both for my work, I use both, and for the most part, my conda envs are a manageable mess. But here's the thing: there's many ways to install pip . I happened to get conda going first, so my pip is through anaconda/bin/pip . It is the only pip on my machine. Here are my questions: Is this sensible? Do I want my pip to be usr/bin/pip and

Can't import soundfile

家住魔仙堡 提交于 2019-12-24 01:20:18
问题 I'm using Anaconda and I'm trying to import soundfile/pysoundfile. I installed the package by running conda install -c conda-forge pysoundfile and I think it succeeded because when I run conda list it shows up: pyopenssl 17.2.0 py36h5d7bf08_0 pyparsing 2.2.0 py36hb281f35_0 pyqt 5.6.0 py36he5c6137_6 pysocks 1.6.7 py36hfa33cec_1 pysoundfile 0.10.1 py_0 conda-forge pytables 3.4.2 py36hfbd7ab0_2 pytest 3.2.1 py36h9963153_1 To make sure I'm running the "right" python, I've tried running which

Installing Mayavi into Anaconda

和自甴很熟 提交于 2019-12-24 01:10:54
问题 I want to install Mayavi into my anaconda installation for that I ran the following commands, but got an error message I am not sure how to deal with: user@Kubuntu:~$ source activate myenv (myenv)user@Kubuntu:~$ conda install mayavi Using Anaconda Cloud api site https://api.anaconda.org Fetching package metadata: .... Solving package specifications: .... The following specifications were found to be in conflict: - anaconda-client (target=anaconda-client-1.6.0-py35_0.tar.bz2) -> python 2.7*|3

Install extras with conda

一世执手 提交于 2019-12-24 00:37:38
问题 With pip we can install subpackages using square brackets. For example with Apache Airflow: pip install airflow[all] Is there something similar in conda or do I have to use pip for packages containing sub-packages? 回答1: It appears that the issue has been raised but not resolved 回答2: There is no direct equivalent of this in conda Closest alternative would be to create your own matapackages that describe list of dependencies. Although this is not exactly what pip provides here. Another option

Anaconda Python Conda pipbuild failed with WindowsError cannot find file

不羁的心 提交于 2019-12-23 18:07:21
问题 I recently switched to the Anaconda Python distribution and I'm trying to get the hang of things. I wanted to install this yaml-related package and since there isn't already a conda recipe for it, I tried conda pipbuild layered-yaml-attrdict-config which resulted in the following output (I removed non-relevant entries of my system path): C:\Anaconda>conda install layered-yaml-attrdict-config Fetching package metadata: .. Error: No packages found matching: layered-yaml-attrdict-config C:

conda 'source deactivate' produces error: too many arguments

有些话、适合烂在心里 提交于 2019-12-23 17:04:32
问题 I'm trying to test out creating virtual envs through conda create on OS X. It's my first real foray into virtual envs so I'm still wrapping my mind around how to tool them. My first test was $ conda create -p /users/me/anaconda/envs/envtest $ source activate /users/me/anaconda/envs/envtest But when I go to take it down via source deactivate , I get: Error: too many arguments. Some googling seems to indicate that there is some configuration in my .profile file that's affecting this but that

Conda build unsatisfiable dependencies error with pint

可紊 提交于 2019-12-23 16:00:34
问题 I have a valid pip package that I am trying to put onto the Anaconda.org server. I created the meta.yaml file with conda skeleton, which includes the requirement for pint (no particular version selected, so it should default to the latest.) However, when I attempt to build the package with conda build, conda raises this error: raise DependencyNeedsBuildingError(exc, subdir=subdir) conda_build.exceptions.DependencyNeedsBuildingError: Unsatisfiable dependencies for platform osx-64: ['pint']