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.

1
vote
0answers
14 views

Why does adding `--no-update-dependencies` add more updates with conda?

When I do conda install spacy --no-update-dependencies, conda wants to make more updates than when I do conda install spacy. Why? However, I read on https://conda.io/docs/commands/conda-install.html: ...
0
votes
0answers
13 views

Docker image conda environment and flask

I would like to make a Flask API running into docker with a conda environment. It seems that I can install the conda environment from the .yml file. But I can't run the app when I do docker run. I ...
0
votes
0answers
15 views

Wrong pip version for anaconda's environments. What should I do to correct the pip version when activate a env using `conda activate`?

I have 4 envs in my anaconda as listed below. >>> conda info --envs base /home/gph/anaconda3 py36_torch0.4 * /home/gph/anaconda3/envs/py36_torch0.4 py37_torch1.1 ...
0
votes
2answers
33 views

How to source an entry point script with Docker?

I have an Docker image and I can run it: docker run -it --entrypoint="/bin/bash" gcr.io/docker:tag Then I can source a script in the following way: [email protected]:/# source entrypoint.sh The ...
0
votes
0answers
13 views

R - Installing conda dependecy from R interpreter

Assume an R package (myRpackage) that has a conda package (condaDependecy) as a system requirement. The file DESCRIPTION of the R package would read like: Package: myRpackage SystemRequirements: ...
0
votes
0answers
8 views

I was messing with Visual Studio Code and now all terminals open with (base) environment

As the title says I was messing with Visual Studio Code while I was checking the debugging functionality. I obviously did something wrong because since then every new terminal I open, both on VSC ...
1
vote
0answers
10 views

Show top level dependencies for a conda managed environment

Just as an example, if I created a new environment. conda install python conda create --name foo_environment conda activate foo_environment conda install python conda install jupyter conda env export ...
0
votes
0answers
10 views

PackagesNotFoundError when deploying Conda app to Heroku

I have been trying to deploy an app I created using a Conda environment to Heroku. I have created the Heroku app using a Conda buildpack because creating it using the regular python buildpack wasn't ...
0
votes
1answer
36 views

How can I set temporary path variables for conda running on windows inside of WSL

I am trying to make it so I can execute my windows anaconda's conda command from WSL. However it cannot connect because the correct path variables are not set up. Where the alias is just defined in ...
0
votes
0answers
11 views

Conda version not displaying by anaconda command prompt

whenever I tried to input conda --version or install any package using conda then an error occurs I have tried to update conda but nothing happened Error is : C:\Users\UDIT DEO>conda --version ...
0
votes
1answer
15 views

Unsetting the Proxy in Conda

I know we can set the proxy in conda using the following command conda config --set proxy_servers.http <proxy> conda config --set proxy_servers.https <proxy> But how do I unset these ...
0
votes
1answer
15 views

Conda Dependencies in Apache Beam Pipeline

Beam's documentation lays out how to supply remote execution runners with dependencies here; however, PyPI seems to be the only built package manager supported. Is it possible to specify conda ...
0
votes
1answer
25 views

Installing Python Package Based on OS

For my environment.yml file I have a list of dependencies. One package is only available on Windows based systems, but it needed for the package when in that environment. The other packages can be ...
0
votes
0answers
16 views

I can't import the chalk module

I have installed the chalk package via conda install chalk. In order to be able to do that, I had to first add the conda-forge channel via conda config --append channels conda-forge. Now, when I run ...
0
votes
1answer
12 views

Is there a way to configure my code-runner to set my Python interpretor from my conda? I am using a virtualenv from conda in the VSCode terminal

Am trying to find a quick keyboard shortcut to execute Python scripts on VSCode while using conda virtual environment on a Mac. I have not been able to find the settings of code-runner to do this.
0
votes
0answers
9 views

Deploying Python App created in Conda environment to Heroku

I have created a chatbot using Tensorflow in a conda environment and want to deploy it to Heroku I first tried deploying the app to Heroku using Terminal and the Heroku CLI, but after detecting a ...
0
votes
0answers
9 views

Problem with Jenkins Jobs Activating Same Conda Environment

I have multiple jobs running from the same conda environment. They all conda activate my_env before executing a python script. I currently have 2 jobs that start at the same time, one always fails ...
0
votes
1answer
11 views

Having problems with pip install in WSL

Hello I am trying to install cysignals to a conda environment (miniconda3) on Windows10 pro. But I keep getting this error: (venv) C:\Users\ezgie\albatrosscraper>pip install cysignals Collecting ...
0
votes
0answers
8 views

Conda cannot find other Conda versions in any of the channels

I currently have conda 4.6.14 installed in Anaconda3. I trying to upgrade to 4.7.0 (or x.1 or x.2). If I run: conda update conda It says that All requested packages are already installed. If I ...
0
votes
1answer
28 views

VS Code: Can't load anaconda environment on Python Interactive

I am using VS Code in Windows 10. I am able to use the dependencies in my conda environment if I Run the Python Script in Terminal. However, I am not able to use the environment in the Python ...
0
votes
0answers
14 views

bash script to deactivate conda environment

After a user suggestion, I'm revising the question to more narrowly focus on the question "why can't I run conda commands from a shell script". My default conda environment is named "py37". Shell ...
0
votes
0answers
8 views

Can't import NormR library from bioconda, number of columns must match

I'm trying to use the normR package (an R library) from bioconda as part of a snakemake workflow. My conda environment looks like this: channels: - bioconda - conda-forge - defaults ...
0
votes
0answers
16 views

How to solve Anaconda and Conda update NoBaseEnvironmentError?

Anaconda's current version is 1.8.7. Version 1.9.7 is now available but I cannot update it due to this error: NoBaseEnvironmentError. For Conda, current is 4.6.1 and error is: NoBaseEnvironmentError: ...
-1
votes
0answers
19 views

How do i set a totally new python path on Google Colab in order not to have packages conflicts?

I am tring to install a new package on google colab, but when i call some of its functions it seems i have some packages conflicts. I want to build my own python environment in one folder (for example ...
0
votes
0answers
14 views

pyinstaller can not work with some lib not find: is this because outlook reason?

The pyinstaller isn't working certain libaries which are not find: import win32com.client from datetime import datetime as dt from datetime import timedelta,timezone import pytz ...
0
votes
2answers
30 views

How to fix: Conda activation is not working?

installed Python 3.7.3 and Anaconda and tried to activate it in the Anaconda Prompt. activate %PATH% but i get the error activate does not accept more than one argument What can I do about it ?
0
votes
0answers
9 views

Unusal deletion of python.exe from Anaconda enviroment

I have installed Anaconda 3 on my Windows 10 64-bit PC. Soon, I created a new environment using PyCharm. Installed packages like Keras and TensorFlow. To cross-check whether the environment has been ...
0
votes
0answers
26 views

Continuing issue installing GDAL for use with Python (Mac User)

For an upcoming research project I am going to need to use Python with GIS data (mostly rasters). I have experience using Matlab and R; however, Python is still a relative unknown to me. I've been ...
0
votes
0answers
9 views

Can I synchronize the conda configuration incl. environments?

I'm using Miniconda on a Debian machine to develop in Python (using PyCharm). I would like to have the same installation on another Debian machine and would like to keep the installations synchronized....
0
votes
1answer
22 views

Best practice for Anaconda install in a directory that requires root access

I am running Arch Linux and I have just installed anaconda2 via the AUR. Anaconda is installed in /opt/anaconda2. I can activate anaconda via this command source /opt/anaconda2/bin/activate root I ...
1
vote
0answers
15 views

How can I pass command line arguments when activating a conda environment in a shell script

I am on Linux, Python 3.6. I have a shell script that looks like this: #!/bin/bash instance=$1 export instance echo "Instance is" $instance . /home/xyz/setenvvars.sh source activate myenv echo ...
0
votes
0answers
15 views

Python imports system wide tensorflow instead of the active conda's environment version

I have a conda environment that, while active, keeps importing the system wide tensorflow version. I've tried uninstalling and reinstalling the environment specific version (with both pip and conda),...
0
votes
0answers
23 views

How to solve PyLint ‘import’ flaws on a conda environment?

PyLint seems to turn a blind eye to my conda environment, although it is on PYTHONPATH. I have recently created this conda environment to get way from pip-conda issues as recommended by https://www....
0
votes
0answers
27 views

Are Anaconda’s best practices the way to set a python environment that needs financial functions found at Anaconda?

My (Mac) environment has evolved into an unusable state after adding Flask-Login and Flask-Migrate, just like Anaconda illustrates here: https://www.anaconda.com/using-pip-in-a-conda-environment/. ...
0
votes
0answers
10 views

Can I install a conda environment in a server (that has no access to internet) by copying a local conda environemnt to the server?

I want to install software in a cluster that has no access to internet. I would like to use conda and it's environments. I have thought that I can create the desired environment locally and then rsync ...
-2
votes
0answers
30 views

Python can't get into the PATH

Usually add python to my path so I can use cmd to pip install packages and other features. I had to uninstall python from my pc and I noticed after add it to path. I just can't access python from cmd. ...
0
votes
1answer
30 views

Why doesn't VSCode activate conda before starting the debugger?

When I start the debugger in VSCode, the conda environment only gets activated after the debugging process has stopped with a "Missing required dependencies" import error. Immediately restarting the ...
1
vote
1answer
43 views

How to fix conda “ResolvePackageNotFound” when building a conda recipe

I downloaded a conda package from github to bring a few modifications and would like to build this local package in a conda environment and test my changes. The problem is that the building of the ...
1
vote
3answers
49 views

Can you export a created python conda environment for others to activate on their machines?

I do the following: conda create -n myenv -c conda-forge jupyter xarray cmocean numpy matplotlib netCDF4 cartopy pandas conda activate myenv jupyter notebook Is there a way that I can export this ...
0
votes
0answers
14 views

pip freeze miss wxPython==3.0 installed by conda

So I installed wxpython=3.0 using the following command in cmd. conda install wxpython=3.0 But when I was making the requirement.txt using pip freeze > requirements.txt, I found wxpython is ...
1
vote
1answer
27 views

How to set a Python codebase to use another Python codebase and package it to production?

I have multiple Python codebases, 4 git repos, that use a common set of functionality that is copied in all 4 repos. When I modify one, I need to make the change in all 4 repos manually. The repos ...
0
votes
1answer
20 views

specify python version in azureml image

I'm deploying a model using azureml. The databricks environment uses python 3.5.2 and the deployed image 3.6.8 and causes the model to crash. When creating the image, I define my conda_environment ...
-1
votes
0answers
31 views

pip install packages error, No matching distribution found

1. my problem Hello, today I update my conda and then all my python packages broken. For example: import pandas as pd dir(pd) Output: ['__doc__', '__file__', '__loader__', '__name__', '...
0
votes
0answers
23 views

h5py package clashes with numpy

I have installed h5py using conda install h5py. However when importing the package by import h5py , I come along the following error: ----------------------------------------------------------------...
0
votes
0answers
14 views

How to install a package from existing conda environment to a new environment?

I downloaded Anaconda and have a lot of packages in the base environment. Can't I just install a package from my base environment to the new environment. Because, every time I type 'conda install ...
0
votes
1answer
17 views

Install R in conda environment offline

I have access to a headless, air-gapped server, where I have Anaconda installed. The default R on server is located at /usr/local/bin/R with version 3.1.2. On one of my environments, I wish to ...
0
votes
1answer
11 views

Will installing IRkernel via CRAN work in my conda environment?

I'm trying to set up an R kernel to work in Jupyter Notebook and Jupyter Lab. I have miniconda3 installed and when I activate base environment, then type jupyter-kernelspec list I see python3 C:...
0
votes
0answers
22 views

Identify SHELL Mac

I tried to activate a conda environment that I created but I got an error saying your shell isn't initialised and I ran conda init zsh then conda init bash and then conda init zsh. I then restarted ...
0
votes
1answer
10 views

Conda Skeleton Installing Same Package For Different Python Versions

I want to install sklearn-pandas for data science on my conda environments so I switch to my Python2 Conda environment and use skeleton to build it in: conda skeleton pypi sklearn-pandas conda-build ...
0
votes
1answer
24 views

Activate conda environment on execution of Singularity container in Nextflow

I am using Singularity containers to run commands from Nextflow workflow management system. I have a conda environment inside Singularity which I can activate when I shell into the container ...