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.
6,680
questions
0
votes
1
answer
13
views
Miniconda: issue with shell configuration/initialization
I installed miniconda on our CentOS cluster and it all went fine. Then I asked miniconda to create a python 3.8 environment, and it went fine. However, when I try to activate the environment, I get ...
0
votes
1
answer
13
views
Removing Conda "base" environment
I'm trying to remove my entire Conda "base" environment. Every time I go into my terminal on my Mac, it says (base) ______________@_____________'s MacBook Pro. I did conda deactivate, then ...
-1
votes
0
answers
23
views
Weird behaviour when executing Snakemake pipeline in cluster mode
I need your input regarding an issue I'm experiencing when I'm running my snakemake pipeline on the university cluster.
So, I made a snakemake pipeline that has a lot of steps and deals with different ...
0
votes
0
answers
15
views
create conda environment from an existing interpreter
Is it possible to use conda to manage the environment from an existing python installation? I want to use conda with python that comes with an app (the foudry's nuke). The app has a custom python with ...
1
vote
0
answers
35
views
Run makefile from setup.py
I have a package that uses c++ code. The c++ has a makefile and the python code in the package imports from a .so that is created by the makefile. I succeeded in running the makefile on pip install ...
-1
votes
0
answers
33
views
zsh: command not found: anaconda-clean but condo install worked
so I tried to do a clean uninstall of anaconda from my MacBook Air m1.
I have followed this steps on the official site(Option B): https://docs.anaconda.com/anaconda/install/uninstall/
The first ...
0
votes
0
answers
26
views
No module named 'urlib' [closed]
I'm trying to build a web scraper and cannot get urlib to load. Tried importing urlib, then urlib.request, then downloaded urlib3 through Anaconda. Nothing seems to work.
This is what I have:
from bs4 ...
0
votes
1
answer
28
views
Conda cannot set up a specific version of Python
I am creating a conda env with conda create -n env python==3.8. But when I activate it and do python -V, it shows Python 3.6.8. Outside of the activated conda env python -V outputs Python 3.8.13.
I've ...
0
votes
1
answer
17
views
How to update all in all conda environments?
Instead of manually typing conda update -n envname --all for every environment, How can I update them all at once?
Is there a better way than what I've come up with?
0
votes
0
answers
17
views
Conda cannot create environment from a .yml file
I have reinstalled conda and now trying to recreate an environment from previously exported env.yml.
With
conda env create --name mapping --file=env.yml
The only promt I get is
[y/N]:
and nothing ...
0
votes
0
answers
25
views
No matching distribution found for torch==1.9.0+cu111
I am trying to install Codegen in my machine.
At the time of installing using virtualenv, I am getting the following error:
pip3 install -r requirements.txt
Looking in links: https://download.pytorch....
0
votes
0
answers
9
views
I installed anaconda but now this error is popping up. It is the same for petitRADTRANS and the other envs as well.:sweat_smile:
keshav@dev:~/Data/JWST-Sim/NIRSpec$ conda activate eureka
Could not find conda environment: eureka
You can list all discoverable environments with `conda info --envs`.
keshav@dev:~/Data/JWST-Sim/...
1
vote
1
answer
47
views
conda activate in WSL2 | both / and \
Goal: setup conda in WSL2.
I have Anaconda3 with venvs in it.
I've just installed WSL2 and want to use conda within it.
When activating conda, I get this filepath:
$ conda activate myvenv
-bash: C:/...
0
votes
0
answers
44
views
x86_64-binfmt-P: Could not open '/lib64/ld-linux-x86-64.so.2': No such file or directory
I am a new user of arm64 raspberry pi plateform.
when i try to build a file by the make command the following error occurs:
x86_64-binfmt-P: Could not open '/lib64/ld-linux-x86-64.so.2': No such file ...
0
votes
1
answer
29
views
How can I install Github project for Google Colab?
There is a project on github called Fpocket. This project is not being installed with "pip install ...", but developers share installation commands for conda.
conda config --add channels ...
0
votes
0
answers
18
views
How to get conda environment .yaml file from poetry .toml?
I would like to use binder which requires a conda yaml environment. I personally prefer poetry. How can I convert a .toml file to a .yaml?
This is the best I have found: https://pypi.org/project/...
0
votes
0
answers
17
views
How to solve running error in sourcetracker2
I am running sourcetracker2 with following command:
sourcetracker2 -i Lean_d14d70.otu.txt -m Lean_d14d70.meta.txt -o Leandonor_14_70 --per_sink_feature_assignments --jobs=16
It is giving me the ...
1
vote
0
answers
20
views
Installing Miniconda3 and subsequently creating environment doesn't recognize conda
I've created an executable installer using python's subprocess wherein it first does a silent install of miniconda3 and then creates environments from respective YAML files.
Now, After running and ...
0
votes
0
answers
12
views
how can i install dash boostrap components
PackagesNotFoundError: The following packages are not available from current channels:
dash-boostrap-components
Current channels:
https://conda.anaconda.org/conda-forge/win-64
https://conda....
0
votes
0
answers
13
views
Conda - "PackagesNotFoundError" unknown channels: pypi_0, py37, py37_cu102, py3.7_cuda10.2_cudnn7.6.5_0
I'm trying to create a conda env from a requirements.txt and I'm getting this error:
PackagesNotFoundError: The following packages are not available from current channels:
- humanize==3.2.0=pypi_0
...
0
votes
0
answers
9
views
using Git Bash for Conda virtual environment
I am brand new to coding, in doing my pre-work for a coding course I've been asked to install Conda virtual environment. I can do it thru Anaconda prompt but doing it thru Bash gives me an error (the ...
1
vote
2
answers
42
views
How to activate conda environment in GitHub Actions?
I am setting up continuous integration using GitHub Actions. One of the prerequisites (samtools) is most easily installed by conda. The standard way to use installed packages is to activate the ...
0
votes
1
answer
22
views
How to fix error: "The kernel appears to have died. It will restart automatically." message?
I have been encountering this message after trying to import numpy, pandas, matplotlib, and seaborn all by themselves. I am not sure how to fix this. Any suggestions?
I am using Python 3.8.8, ...
1
vote
0
answers
23
views
Using Docker with Snakemake (as motivated by the Snakemake documentation) does not provide a true docker container?
In order to improve the distribution of my snakemake workflow, I am wanting to Docker-ize it. The way I usually deploy my software stack is through conda environments (saved as .yaml files within an ...
0
votes
1
answer
20
views
Use pygmt in a IDE (spyder) with conda
I'm using spyder to make my codes.
I try to use pygmt lib but, in my spyder-env I have an error :
GMTCLibNotFoundError: Error loading GMT shared library at 'libgmt.so'.
libgmt.so: cannot open shared ...
0
votes
0
answers
22
views
Conda not adding virutal environment path to top of list
When I activate a conda virtual environment conda activate ./conda-env, it inserts .../conda-env/bin into my PATH at the 7th position, after /Users/me/opt/miniconda3/bin and /home/me/.local/bin and ...
1
vote
0
answers
25
views
Why aren't conda commands working in Spyder?
I recently downloaded Spyder using Python 3.9.12. For some reason, every time I try to use a conda command (such as conda activate env), the Spyder terminal gives the message 'Note: you may need to ...
0
votes
0
answers
25
views
Conda Create Environment from requirements.txt [duplicate]
Hej!
I downloaded a github project and need the EXACT requirements to run this project (Pytorch/CNN).
There is a requirements.txt file and would therefore like to install all packages in a new ...
-1
votes
0
answers
28
views
Dash boostrap components installation
Could not find the version that satisfied the requirements for dash_boostrap_components.
I encountered the error while trying to install dash boostrap components with pip on python 3.10
pip install ...
0
votes
1
answer
14
views
No module named 'reportlab' when running from cmd, but working if run from IDE
I am using PyCharm and a conda environment for one project. It is working fine when running the python file directly from PyCharm.
Now I am trying to add some args arguments. However, when I run the ...
1
vote
0
answers
11
views
Conda R unescaped path problem for source installs
I have some R source files in C:\Users\Ludvig\path\to\lib. Sure this is not the exact path, but you get the idea. Lets call my little package Lib.
The source tree for the package looks as one expects ...
-2
votes
0
answers
18
views
Install PIP package in Conda environment even if package is not in anaconda
I have a conda environment env-name and I would like to install Symnum in it. The problem is that this package is not on Conda: googling conda install symnum doesn't lead to the usual anaconda.org/...
0
votes
0
answers
12
views
solve ResolvePackageNotFound in yml environments
I'm trying to follow this link on my local computer
https://github.com/lyakaap/ISC21-Descriptor-Track-1st
in the first step it wants me to set this environment on my computer:
I'm not familiar with ...
-1
votes
1
answer
117
views
how to set the cuda path in the conda environment? [closed]
I am using ubuntu 22 LTS. I want to use a different version of Cuda in the conda virtual environment. I want to use a virtual conda environment for tensorflow 1.x and another conda env for tensorflow ...
0
votes
1
answer
34
views
Upgrading to macOS Big Sur(11.6.7) causes zsh not to find conda
I just upgraded to macOS Big Sur(11.6.7) from a lower version of macOS Big Sur and I am running into this error zsh: command not found: conda.
I referred to other similar questions such as Zsh: Conda/...
-1
votes
1
answer
23
views
Lost python executable file after upgrading to macos Monterary
After updating to macos monterary, I lost the python binary file in an anaconda environment. All the library and binaries are there except the python executable file. I am wondering if someone faced ...
1
vote
1
answer
32
views
Set java_opts for baserecalibrator snakemake wrapper
I am running a snakemake pipeline with some conda wrappers and I'm trying to allocate some more memory to a rule since it's taking ages. I tried to allocate more memory and threads through the java ...
0
votes
1
answer
25
views
conda creation NGS environment, sra-tools fastqc multiqc samtools bowtie2 hisat2 subread
I cannot easily create an environment with conda containing the NGS tools I want. I reinstalled conda to get a fresh start since I had many python packages in the base env. I also took the occasion to ...
0
votes
0
answers
12
views
How to use multiple environments in Anaconda for one application after creating new environment to install modules?
The instructions to use a repository on github include this:
conda create -y -n <ENIVRONMENT NAME> python==3.6.7
conda install -y pytorch==1.2.0 torchvision==0.4.0 cudatoolkit=10.2 -c pytorch
...
3
votes
0
answers
30
views
How do I set the default python version for conda envs in snakemake
I'm running an NGS pipeline that's supposedly intended to run on Python 3.6. I am getting some errors and warnings if I just run with Python 3.10.
So, I am starting my snakefile from an conda env that ...
0
votes
0
answers
32
views
Snowflake Connection in Python MemoryError
I'm trying to establish a snowflake connection using Python in a Jupyter Notebook and am consistently getting the same error.
I am operating on a Mac M1, Python 3.10.4, and conda 4.13.0
Below is what ...
0
votes
1
answer
33
views
Conda create virtual environtment with pypy as interpreter in VSCode
I have successfully installed conda and pypy because of this previous question, I'm using VSCode as text editor. Yes I can use pypy but it seems installed for global environtment instead of virtual ...
0
votes
0
answers
20
views
Import pandas throws errors on one server, works fine on another. Same python install (via conda)
I have one of the simplest scripts in the world:
import pandas as pd
and throws errors when I run it:
python3 pandas_import.py
Errors
Traceback (most recent call last):
File "pandas_import.py&...
0
votes
0
answers
21
views
Recompiling conda module for new glibc
A researcher at my university wants to run a conda module that was built with a later version of glibc (2.33) than I have (2.28). I'm working in a RedHat environment, and glibc is not upgradeable. I'...
0
votes
1
answer
20
views
conda build fails due to work file not found error
I'm trying to build a conda package for distribution from a python project. I am trying to build on windows subsystem for linux 2, ubuntu distro. The windows system itself is windows 10. Despite my ...
0
votes
1
answer
28
views
Running script in Conda environment from within script in another Conda environment
I have two scripts, let's call them master.py and subject.py. master.py is supposed to run in Python3, while subject.py, in Python2, therefore I created two separate Conda environments for them which ...
1
vote
1
answer
19
views
How to specify gcc version in a conda recipe?
It is common to use a Jinja function to specify that a given package needs a C++ compiler...
requirements:
build:
- {{ compiler('c') }}
- {{ compiler('cxx') }}
However there does not seem ...
0
votes
0
answers
23
views
Why dont I have file permission when running conda clean on Windows?
I'm using Anaconda3 and Miniconda on Windows 11. I don't know what happened but my conda seems not to have file permissions when I execute any subcommands.
Specifically, even if I remove a certain ...
0
votes
0
answers
16
views
Conda create environment ignoring rccPostInstall
I have been following Robocop tutorial and while creating a conda environment came across following warning
EnvironmentSectionNotValid: The following section on '/home/ubuntu/sandbox/rpadryrun/conda....
0
votes
1
answer
24
views
Where is the conda config file located? (anaconda.conf)
I was looking into the different options in the conda config file. At some point I did conda config --set verbosity 4 (even though it goes to 3, and since then if no matter what I do, it'll give me ...