conda

Error installing pyzbar with Conda on Mac OS X

别说谁变了你拦得住时间么 提交于 2021-01-29 04:18:46
问题 I am attempting to convert a project from a Python 3 venv to Conda. However, it doesn't work with Conda, apparently because there is no repository that supports macOS. This is disappointing because using brew and pip to install zbar and pyzbar in the original project works fine. So clearly the files exist but are not available through Conda repos. Am I missing a repo somewhere? If not, is there a way to crowbar the packages downloaded with pip and brew into a Conda environment? Here's what I

Activating a new Conda env through shell from within Jupyter Notebook

浪尽此生 提交于 2021-01-29 03:17:53
问题 I'm working with a Jupyter Notebook written in Python 3, and I would like to run Python 2 scripts from within that Notebook. I was wondering if it's possible to run Shell commands from within the Notebook, and have these Shell commands running under a different environment. For example, if env2 is a Conda environment that runs Python 2, and env3 runs Python 3, and my Jupyter Notebook runs in env3, maybe I could write within my Notebook: ! source activate env2 ! script_that_uses_python2.py and

Package not found error while installing CuSpatial or CuDf library

让人想犯罪 __ 提交于 2021-01-29 03:00:48
问题 So, to calculate Hausdorff Distance in a short time I found a CuSpatial library or cudf library. But while trying to install it through the Anaconda Promt conda install -c rapidsai-nightly cuspatial i get the following: PackagesNotFoundError: The following packages are not available from current channels: cuspatial Current channels: https://conda.anaconda.org/rapidsai-nightly/win-64 https://conda.anaconda.org/rapidsai-nightly/noarch https://conda.anaconda.org/conda-forge/win-64 https://conda

Pandas Module Not Found even though it's installed

℡╲_俬逩灬. 提交于 2021-01-28 21:04:26
问题 I am using anaconda for this. I have downloaded pandas using both: pip install pandas and conda install pandas They successfully install, and doing the installation again shows that they are already installed. However, when writing this line alone import pandas as pd I get this error message: ModuleNotFoundError Traceback (most recent call last) <ipython-input-3-7dd3504c366f> in <module> ----> 1 import pandas as pd ModuleNotFoundError: No module named 'pandas' I have no idea what to do. 回答1:

Pandas Module Not Found even though it's installed

南楼画角 提交于 2021-01-28 20:26:08
问题 I am using anaconda for this. I have downloaded pandas using both: pip install pandas and conda install pandas They successfully install, and doing the installation again shows that they are already installed. However, when writing this line alone import pandas as pd I get this error message: ModuleNotFoundError Traceback (most recent call last) <ipython-input-3-7dd3504c366f> in <module> ----> 1 import pandas as pd ModuleNotFoundError: No module named 'pandas' I have no idea what to do. 回答1:

lxml installed with conda: “ImportError: DLL load failed: The specified procedure could not be found”

给你一囗甜甜゛ 提交于 2021-01-28 18:56:00
问题 I am using anaconda on windows 10 with the lastest version of conda 4.5.12 . I am creating a very simple test env to try to install lxml with python 3.6.6 . Here my environment.yml file: channels: - defaults dependencies: - python=3.6.6 - lxml Then I create an env using conda: conda env create -f environment_test.yml -n test26 Here the list of packages after the installation: (test26) C:>conda list # packages in environment at C:\Program Files\Anaconda3\envs\test26: # # Name Version Build

How to constrain package versions in conda?

我的梦境 提交于 2021-01-28 09:01:01
问题 I'm working in a conda environment with a bunch of packages preinstalled (conda list has 360 packages, a lot of ML tools and some bioconda). I sometimes need to add a package; however, I find that conda install newpackage is often extremely slow (hours or days spent at "Solving environment"), and if it ever finishes, it often suggests updates to packages I really don't want to touch. I'd like to pin the current versions of some of the core packages (python, numpy, scipy, etc) so that

Conda activate and deactivate not working

感情迁移 提交于 2021-01-28 08:35:16
问题 I have a autoscript.py module where I have this code snippet: import subprocess subprocess.run('/root/anaconda3/bin/conda info --envs', shell=True, stdout=subprocess.PIPE, stderr=subprocess.STDOUT) The above code runs fine and gives me a response as follows: CompletedProcess(args='/root/anaconda3/bin/conda info --envs', returncode=0, stdout=b'# conda environments:\n#\nbase /root/anaconda3\nO9PythonUnitTests * /root/anaconda3/envs/O9PythonUnitTests\npy36 /root/anaconda3/envs/py36\n\n') However

Why are there multiple install commands on Anaconda Cloud?

假如想象 提交于 2021-01-28 07:30:56
问题 When searching a package in Anaconda Cloud, there are often multiple commands one could use to install a package. For example, conda install -c conda-forge xxx conda install -c conda-forge/label/gcc7 xxx conda install -c conda-forge/label/cf201901 xxx What's the difference between them? 回答1: Labels Channel maintainers have an option to add labels to their package builds. Anaconda Cloud suggests using labels as a tool for organizing the development cycle. What the labels mean is totally up to

Use pip package inside Conda environment

笑着哭i 提交于 2021-01-28 07:08:40
问题 I am confused about how the packages installed through pip and conda work together. What I do know: pip and conda install different package format. What are the implications here except that pip can not install the conda package format? (which is fine for the purpose of this question since you can always use the appropriate command to install a package; I am interested in the part that follows) Say, package A is installed via pip ; package B installed via conda in an isolated conda