Questions tagged [conda]

Conda is a package management and environment management system. It is open-source, cross-platform and language-agnostic. Written in Python, conda is included in Miniconda and the Anaconda Python distribution.

The conda documentation is available online. conda as a system command is available through Miniconda or the larger Anaconda distribution, made by Anaconda Inc.

7926 questions
3
votes
1 answer

In Conda environment, how to upgrade a package that is pip installed?

I use AWS SageMaker for ML software development. In SageMaker, there are several conda environments to choose from. I need to upgrade some packages in a conda environment that are pip installed. From my research, pip and conda are not compatible. So…
David293836
  • 1,165
  • 2
  • 18
  • 36
3
votes
0 answers

Install glumpy (or other non-conda packages) in conda environment

I have an Anaconda (newest version) environment with Python 3.7.5 installed, it is my only environment so far. Now I want to install glumpy, which is not listed in the anaconda cloud and channels, but it is cloneable via GitHub und installable via…
JustAGuy
  • 129
  • 1
  • 11
3
votes
2 answers

condaEnviromentError: cannot remove current enviroment . deactivate and run conda remove again

I tried to uninstall conda enviroment base by typing below, conda env remove -n base As suggested i tried to deactivate base by using conda deactivate base Again I tried to remove that enviroment but again throws same error CondaEnviromentError:…
user11585758
3
votes
1 answer

How to change Python interpreter path in Anaconda environment?

I have created an environment for a specific Python version using conda create --name my_env python=3.6 when I list all the environments using conda env list I get a correct list of environments: # conda environments: # base …
Tomasz Bartkowiak
  • 12,154
  • 4
  • 57
  • 62
3
votes
0 answers

'ffmpy' cannot find 'ffmpeg' when running in PyCharm on Mac using conda env

When I ran the following piece of code in PyCharm on MacOS Catalina within conda environment: import ffmpy ff = ffmpy.FFmpeg( inputs={'download/v_5c80f6ac3e28a_7BumyNgu/video.m3u8': ['-protocol_whitelist', 'crypto,file,http,https,tcp,tls']}, …
3
votes
1 answer

how to set up the temp dir path in Python?

I am using the latest Anaconda Python distribution and I wonder how can I tell Python to unzip/store all the temporary output to a specific folder (instead of the /tmp directory). Any ideas? Thanks!
ℕʘʘḆḽḘ
  • 18,566
  • 34
  • 128
  • 235
3
votes
1 answer

Cannot find conflict in Conda UnsatisfiableError message

Trying to install pytorch in conda in Docker, and get UnsatisfiableError. However, I cannot find any actual conflict in the error message or I may not understand it correctly. The Docker image used is nvidia/cuda:10.1-cudnn7-devel-ubuntu18.04. There…
W332
  • 65
  • 7
3
votes
3 answers

unable to activate existing conda environments

I have created a Conda environment in Pycharm called Practice using Python3.7. I am using a Mac and using the Pycharm terminal (fish) however i receive the same error using iterm2. when i type conda activate Practice i receive the following error: …
3
votes
2 answers

conda why create new environment for install

I was suggested to conda create a new environment for installing tensorflow First question, in general: Why do environment exist in conda or in Python ? (Why) is it preferable to install a new library in a new environment ? Here, in practice: After…
kiriloff
  • 25,609
  • 37
  • 148
  • 229
3
votes
1 answer

Symbol not found _PyByteArray_Type in SO when running UWSGI

When following the quickstart UWSGI guide and attempting to start the server, the following error occurs: ImportError: dlopen(/Users/xxxxxxxx/anaconda3/lib/python3.7/lib-dynload/_struct.cpython-37m-darwin.so, 2): Symbol not found: _PyByteArray_Type …
Genono
  • 41
  • 3
3
votes
1 answer

How to send commands to command window programmatically in MATLAB?

In matlab I can change to another shell by the bang (!) Notation. Example: I enter a conda Environment in MATLAB by the following command: !cmd '"%windir%\System32\cmd.exe" /K ""C:\Program Files\Anaconda3\Scripts\activate_.bat"…
Aliakbar Ahmadi
  • 366
  • 3
  • 14
3
votes
3 answers

python conda: created a environment, but it is not using conda's python

I have been using anaconda for a while, and its Python executable is located at /Users/ufo/opt/anaconda3/bin/python. I have tried to create an environment with conda, and the new environment would use copy this Python to environment's bin. However,…
Cuteufo
  • 501
  • 6
  • 15
3
votes
1 answer

How to use a yaml file with dockerfile to activate conda environment

I'm trying to create a docker image with a new conda environment specified in an environment.yml file which is then automatically activated on calling docker run. I've followed the workflow from this post exactly, and am now stumped after much…
JmeCS
  • 497
  • 4
  • 17
3
votes
0 answers

Collecting package metadata (current_repodata.json): Never ends

I'm trying to upgrade my anaconda python from 2.7 to 3.6, however when I run: conda install python=3.6 It stays forever in: Collecting package metadata (current_repodata.json): | Then, I tried updating anaconda with conda update conda and also with…
panky_is
  • 61
  • 2
  • 9
3
votes
2 answers

conda environment: does each new conda environment needs a new kernel to work? How can I have specific libraries for all my environments?

I use ubuntu (through Windows Subsystem For Linux) and I created a new conda environment, I activated it and I installed a library in it (opencv). However, I couldn't import opencv in Jupyter lab till I created a new kernel that it uses the path of…
1 2 3
99
100