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.

Filter by
Sorted by
Tagged with
0 votes
0 answers
7 views

run the python program using existing conda environment as a python interpreter

Within VScode, I am using an existing conda environment to run the Python program. I use the "python: select interpreter" to select an existing conda environment. After running, the code ...
user297850's user avatar
  • 7,705
-1 votes
0 answers
19 views

Need even older version of Conda

I have a Mac book pro I need to have python 3.6 for a project on my old computer, there was Python 3.6 in Conda but now Python 3.6 was not one of the available versions on Conda. Is there a way that I ...
The master186's user avatar
2 votes
0 answers
19 views

conda: The pytorch and nvidia channels aren't playing nicely together

If I set up a conda pytorch environment like this: conda activate pytorch-cuda conda install pytorch torchvision torchaudio pytorch-cuda=11.8 -c pytorch -c nvidia That works; at least insofar as ...
pgoetz's user avatar
  • 879
0 votes
0 answers
13 views

Variable inspector in jupyter notebook not working for R

I'd like to be able to have a variable inspector in jupyter notebook in VS code for R that works similarly to that for Python, it seems to me that such thing exists but I'm not able to find a way to ...
SDA_exp's user avatar
  • 11
0 votes
1 answer
15 views

Activate a conda environment either in PyDev (Eclipse) or through python

I am using Eclipse as my python environment. I am using an anaconda environment to install all of my python interpreters and other software for this work I am doing. I have successfully pointed PyDev ...
A. N. Other's user avatar
0 votes
0 answers
15 views

How to safely add GitHub packages to a Conda environment for export

I have installed a package from GitHub in a Conda environment and subsequently exported it. When I came to install the environment on another machine, I found that the GitHub package had been listed ...
Tom Wagstaff's user avatar
  • 1,462
0 votes
0 answers
38 views

Creating conda environment return code 127

I tried during multiples days to create a conda environment with an yml file without success. Below there is the execution result when I try to use the command to create my environment: conda env ...
inuripse's user avatar
0 votes
1 answer
17 views

Sentence-transformer module not found when running flask app

I'm working on a flask app to deploy my NLP model which will be linked to a front- and backend later on. This is my flask_app.py code: from flask import Flask, render_template, request, jsonify import ...
phylanx's user avatar
-1 votes
0 answers
52 views

How to package a python code set into a portable program?

I have created a program in which I link several different Python scripts with the aim now to convert it into a portable .exe. I have tried using the pyinstaller library and it works correctly when I ...
Pablo's user avatar
  • 1
0 votes
0 answers
17 views

Conda environment name not showing in PowerShell prompt

I could not use conda on Windows PowerShell, but it was working properly on Anaconda Powershell Promt. To fix this, I tried conda init powershell and Set-ExecutionPolicy -ExecutionPolicy RemoteSigned, ...
nayef_shuvo's user avatar
-2 votes
1 answer
30 views

Python OpenCV failed to call 'cv2.destroyAllWindows()' in Conda env

I want to convert video into frames using cv2 in backend, I don't need to see the window in any interface. Environment Ubuntu Docker container Python 3.10.11 conda 23.3.1 In [2]: import cv2 In [3]: ...
stevezkw's user avatar
  • 442
2 votes
2 answers
86 views

When using a Conda environment, VS Code terminal, and the Python extension (v2023.16), a "." is inserted to the PATH env var

I'm trying to use conda, python with VS Code. The shell I'm using in the integrated terminal is PowerShell. Everything works well in windows terminal, but after I relaunch vscode terminal, every conda ...
Junseo Lee's user avatar
1 vote
0 answers
15 views

Conda error http 000 when trying to install libraries on Windows

Since yesterday I have been having problems with conda. To preface, I've tried everything in this thread. The only thing I'm not sure I've done right is the proxy servers because I've never done ...
Juan C's user avatar
  • 5,885
-1 votes
0 answers
56 views

Numpy module is missing when installing with pip in conda environment

A lot of discussions exist with this kind of error but it does not help me. I have a conda environment with pip installed inside and numpy. There is not other pip on my system. I want to install a ...
Thomuf's user avatar
  • 67
1 vote
0 answers
12 views

What is the difference between Mamba's condabin and bin directories [duplicate]

I have just done a fresh install of mamba on a machine that does not have conda. However, I am able to run a mamba executable from 2 directories: - ~/mambaforge/condabin and ~/mambaforge/bin. Is there ...
user1245262's user avatar
  • 7,008
1 vote
0 answers
19 views

Why is the installation of the SingleCellExperiment package taking significantly longer on my Anaconda environment compared to my colleague's? [closed]

My colleague and I are using the same server for our analysis, each with our own accounts. We utilized the same .sh file to install Anaconda, and then executed exactly the same commands to create an ...
Nmgh's user avatar
  • 123
0 votes
0 answers
23 views

Cannot install OpenCV in the same conda environment as PyTorch

I have a conda enviornment named 'pytorch-train' where I have PyTorch with all CUDA related packages. When I try to install OpenCV in this environment it takes forever to solve the environment and it ...
Alberto Román Ramos Rodríguez's user avatar
0 votes
0 answers
10 views

Ubuntu: SImpleBLE fails after installing conda as Dbus cannot find its socket [closed]

I am using simpleble (which is just relevant for context) which underneath is based on dbus listener. Dbus socket exists at: /var/run/dbus/system_bus_socket. However after installing Conda dbus tries ...
W4ltz's user avatar
  • 11
0 votes
1 answer
26 views

What version of R should I use for installing SingleCellExperiment package using conda?

I am pretty new in coding with R and installing packages in conda. I want to install SingleCellExperiment package in my conda environment in which I have installed R version 4.1.3. I tried to run: ...
Nmgh's user avatar
  • 123
0 votes
0 answers
8 views

Setting up local conda repository, and I'm getting UnsatisfiableError even though I'm using the versions recommended from the default channels

Thanks in advance for reading my post! I am setting up a local conda repository. I'm doing a trial run with it to see that I set it up properly. I have the correct folder structure (repo-name/win-64 ...
Sam's user avatar
  • 3
0 votes
0 answers
22 views

Is there a way to install gmsh 3.0.4 in Anaconda?

I want to use gmsh API to create meshes. I had already installed gmsh 4.11.1 but it has some problems so I want to use an older version. I tried to install gmsh 3.0.4 using pip install gmsh==3.0.4 but ...
Mohsin Bashir's user avatar
1 vote
1 answer
30 views

Terminal doesn't show the activated environment properly

I got a problem about terminal environment problem. For example, I got two environments, base and test1. When I activate the test1 environment running conda activate test1 the environment shown in ...
Zhichao Qiu's user avatar
1 vote
0 answers
8 views

How best to organize kernels into jupyter notebook workflow using Conda environments?

Asking for suggestions on best workflow to utilize Jupyter Notebooks and swap between Tensorflow and Pytorch kernels. Should we install and launch the jupyter notebook in the conda (base) environment? ...
texasdave's user avatar
  • 516
0 votes
1 answer
13 views

Why is my session always crashed after intall conda in Google Colab

I am trying to setup and run Conda on Google Colab. However, everytime I run the following code to install conda !pip install -q condacolab import condacolab condacolab.install() My session would ...
Gillian's user avatar
  • 49
1 vote
0 answers
37 views

can anyone tell with me why nextflow resume is not working?

i have a project with a lot process, I was try so many times -resume but it's not working, I don't know why every time I use -resume, its sill stay and restart at bwa process, I think it wrong in ...
Nguyễn Tiến Dũng's user avatar
-1 votes
0 answers
16 views

Docker build-container unable to build NVIDIA data-science-stack

Configuration: WSL2 1.2.5.0 distro : Ubuntu 22.04.3 LTS. 500Go of free disk space allocated. NVIDIA Cuda and Anaconda are installed on distro. Problem: Trying to install NVIDIA data-science-stack, I ...
Grégoire MARIE's user avatar
0 votes
0 answers
20 views

How to change the location of .cache in conda?

I installed the latest version of Anaconda on my Linux server. However, almost all the datasets and model weights are stored in the .cache file. How can I change the location of .cache file. Here is ...
Kang Hao's user avatar
0 votes
0 answers
29 views

Can't create conda environments due to Conda OpenSSL Error (M1 chip)

I keep running into the following issue when I try to create conda environments on my computer which has an M1 chip.: CondaSSLError: Encountered an SSL error. Most likely a certificate verification ...
Eva S. 's user avatar
0 votes
1 answer
26 views

Conda environment creation in HPC

I've just been provided an HPC user and want to create my environments. However, when i try to create them, i get this message: (base) [xxxxx@front ~]$ conda create -n rnaseq -c bioconda -f rnaseq.yml ...
crocus_95's user avatar
0 votes
1 answer
44 views

What is difference between python --version and conda list in activated environment?

I activated my environment and run this two code but results are different. How can I use right python version I want? (1) python --version Python 3.9.6 (2) conda list '^python$' Name Version Build ...
rahyun's user avatar
  • 1
0 votes
0 answers
23 views

Installing packages in conda: "[WinError 5] Access is denied"

I am trying to install packages for use in the conda base environment on Windows 7. I am running the conda terminal as administrator. Trying: conda install -c conda-forge pypdf2 and conda install -c ...
MorrisseyJ's user avatar
  • 1,171
0 votes
0 answers
11 views

How to remove a conda channel that was added by conda install, but does not appear in conda info or --show channels?

The closest to my problem is How to remove channels in Conda? but it's not an exact duplicate as the error is not the same and none of the proposed solutions work in my case. I installed an older ...
Raketenolli's user avatar
0 votes
0 answers
12 views

How to save Conda-Spyder-Python setup before Windows 11 reinstallation?

I have a hardware problem with my computer and I'm asked to reinstall Windows 11. However, I don't want to lose all the setup and installation I've done with Miniconda for Spyder and all the packages (...
tibibou's user avatar
  • 144
1 vote
1 answer
29 views

conda install <package> in a read-only multiuser miniconda setup results in an orphaned package installation

I admin in a computer science department where hundreds of users with limited filesystem usage quotas are trying to set up conda environments for various computational tasks. So I've been ...
pgoetz's user avatar
  • 879
0 votes
0 answers
38 views

Trying to use umap-learn (import umap) but I get "Numba needs NumPy 1.24 or less"

I am facing this problem and I read a lot that the solution is downgrading numpy, but is not enough. It is indeed related to umap-learn installation. Currently, I have numpy 1.23.5 and numba 0.57.1 ...
David's user avatar
  • 1
1 vote
1 answer
31 views

Conda install package excluding specific build

How do I exclude a specific version and build (and only that one) from being a candidate for conda install? I need to conda install a linux-64 package of zstd but the automatically selected zstd=1.5.5=...
valid's user avatar
  • 1,868
1 vote
1 answer
14 views

How to init miniconda with a managed bashrc?

I have a single .bashrc that works for bash & zsh on Mac, Windows (msys and WSL) and Linux. I distribute it with git and some scripts. It seems hard to use miniconda that way; it wants to write ...
GaryO's user avatar
  • 5,937
0 votes
1 answer
58 views

Anaconda and pip

Configuring a conda environment.yaml, I can set certain packages to be installed by pip. Are these installations also localized to that conda environment somehow, or is that guarantee only given to ...
yuvalm2's user avatar
  • 870
0 votes
2 answers
38 views

ModuleNotFoundError: No module named 'src' when trying to import parent directory file from subdirectory file

I'm using VS code and Conda. I want to import logger.py or exception.py file from the src directory to the data_ingestion.py file which is at subdirectory called components in src directory. This is ...
lasan13's user avatar
  • 19
-1 votes
1 answer
34 views

TypeError: TransformerBatchNormEncoderLayer.forward() got an unexpected keyword argument 'is_causal'

I am trying to run the github - gzerveas mvts_transformer After jupyter install -r requirement.txt, it show this error and I do not know how to fix. I've ask GTP and it suggest this question might due ...
Flowers and watermelon's user avatar
0 votes
0 answers
28 views

Why pip works and conda didn't? [duplicate]

Suppose we create multiple Python environments using Conda: conda create --name py38 python=3.8 conda create --name py39 python=3.9 conda activate py39 Sometimes, trying to install a package in one ...
user3761555's user avatar
0 votes
2 answers
30 views

Cannot activate conda environment on remote with ssh command

I am writing a bash shell script that I can run on my local computer to update and redeploy a simple app hosted on an AWS E2 instance. I am having trouble with one line in particular: I cannot seem to ...
stat_is_quo's user avatar
0 votes
0 answers
16 views

"HTTP 000 CONNECTION FAILED for url" error message when trying to update conda in WSL2 (Ubuntu 22.04)

I have an issue with installing packages from conda-forge and/or updating conda in WLS2/Ubuntu 22.04/Windows 11. When I try I get the following error message: CondaHTTPError: HTTP 000 CONNECTION ...
tropickyrax's user avatar
0 votes
0 answers
68 views

Pycharm can‘t find and list packages in conda's virtual environment which I creat

It can't list the packages what I have installed in DLenv and if I switch interpreter from base to this venv, after a long time of loading packages list, This error message has displayed. the ...
popularpanda's user avatar
-3 votes
1 answer
52 views

convert pip requirements.txt to conda requirements [duplicate]

For pip, required libraries is stored in requirements.txt. But at same workspace, I'm using conda virtual environtment. Here is my requirements.txt flask werkzeug Jinja2 watchdog mongoengine pyjwt ...
Muhammad Ikhwan Perwira's user avatar
0 votes
0 answers
18 views

Spyder does not run in Conda environment

I tried to create an environment called badlands_env, I activated the environment and in it I tried to run sypder. It launches but as soon as I try to import package of the environment I get this ...
lavalx's user avatar
  • 1
0 votes
0 answers
213 views

Update Python sub-version in conda base

I currently have Python 3.8.12 installed. I've been advised to update to 3.8.18 as there are security vulnerabilities in the older versions. I know that updating to a later full release in the base ...
Timbo's user avatar
  • 43
0 votes
0 answers
40 views

wget command not found in git bash?

I tried downloading the kinetic dataset following this github repository https://github.com/cvdfoundation/kinetics-dataset I followed the instructions first git clone https://github.com/cvdfoundation/...
anya's user avatar
  • 1
0 votes
1 answer
39 views

Why are conda packages missing when the container runs in a Kubernetes executor?

My goal is to have a gitlab CI/CD pipeline that builds my conda packages for me. For very large projects, conda is so slow that gitlab times out, so we are using mamba instead. Gitlab uses a ...
maldata's user avatar
  • 387
0 votes
0 answers
30 views

How to Create Conda Environment in AWS Lambda at Run Time?

I am using an AWS lambda as part of my CI/CD pipeline. The lambda checks out some code using the provided git url and commit hash in the event. Then, it goes into the source code and does a conda env ...
Riley Hun's user avatar
  • 2,551

1
2 3 4 5
159