984 questions
0
votes
1
answer
20
views
Will moving miniconda to another directory with running slurm jobs?
I am working on a server cluster and my home directory started to exceed the size limit of 25GB. Is it possible to move miniconda and the .conda directory to the /scratch part of the cluster where I ...
0
votes
0
answers
10
views
Is it normal for miniconda to store environments under `base`?
I work on a shared Mac running python 3.12, and my instance of miniconda stores all the environments in .../miniconda/base/envs/.
This has caused me some major trouble trying to install a package from ...
0
votes
1
answer
46
views
How to solve 'cannot install both pin-1-1 and pin-1-1'?
While installing VisPy in a miniconda environment:
> conda install vispy
Channels:
- conda-forge
- defaults
Platform: win-64
Collecting package metadata (repodata.json): done
Solving environment:...
0
votes
0
answers
13
views
Cannot find ginsim and other packages
So I have a project coming up and I have to use a jupyter notebook with necessary packages in order to do so.
I have installed the necessary packages and an application(Ginsim), but python doesn't ...
0
votes
0
answers
21
views
Conda commands are broken within Conda environment
After creating a fresh install of Miniconda from the website and running conda init inside of Anaconda Prompt, the (Base) environment in a new PowerShell window will run fine and I can install ...
0
votes
1
answer
27
views
I have been trying to install ms_graph python module in miniconda (conda) and receiving
After installing msgraph in miniconda via: pip install msgraph-sdk
I run my python code and receive:
Traceback (most recent call last):
File "c:\Documents\user.py", line 2, in <module>
...
1
vote
1
answer
41
views
Python Package Bug on installing via conda
I attempted conda install on a remote pc from my university.
Attempted
conda install pytorch==2.2.0 torchvision==0.17.0 pytorch-cuda=12.1 -c pytorch -c nvidia -y
It is very slow and I am unable to ...
1
vote
0
answers
30
views
Building local python-package with conda failed
I try to create a local python-package with conda (miniconda) without any uploads and without using git. Just for private purposes.
There must be a general issue preventing success.
Everything is ...
0
votes
0
answers
49
views
Is it possible to build an apptainer from a sandbox directory with a conda env in a def file?
I have built an apptainer sandbox directory in which my program works correctly. However, the only way to get it to work properly was to use a conda env. This is because some python modules would only ...
0
votes
0
answers
25
views
Conda channel remove fails
Installing a new venv in conda is taking more than 24 hours. I had conda-forge in the channels, and wanted to test whether the issue would be fixed by removal of conda forge.
After removal I'm left ...
0
votes
0
answers
38
views
urllib3/connectionpool.py line 1180 AttributeError: 'str' object has no attribute 'close'
Anytime I run a conda command, the command crashes with this error repeated multiple times
Traceback (most recent call last):
...
0
votes
0
answers
43
views
Updating Conda in Ubuntu results in endless circle
Basically some update broke anaconda on my Linux machine.
Any action with conda results in
Collecting package metadata (current_repodata.json): failed
WARNING conda.exceptions:...
0
votes
0
answers
22
views
Miniconda Env same path but no name
I'm running conda info --envs in VSCode's terminal, and I can see two environments.
PS C:\Users\Abbou\OneDrive\Desktop\Coding\AI-Customer-Support-> conda info --envs
# conda environments:
#
base ...
1
vote
1
answer
65
views
Resolving Import Issue in .py File When Package is Already Installed and Works from Terminal
I have a python script that, when opened in VSCode or any other code editor, fails to import the arch package. After making sure that it was downloaded and that I wasn't running in any virtual ...
0
votes
1
answer
36
views
How to reliably extend the PATH variable in an active Conda environment while avoiding side effects?
I need to extend the PATH variable of an active Conda environment on Linux, but it appears to be not as simple as I thought it would be. My challenge is this:
If I extend the PATH variable with ...
0
votes
0
answers
180
views
Can't install any packages or create environments through Anaconda
I've been trying to install scikit-learn through Spyder and every time I attempt, I get the same error. I also get this error when I try installing in the terminal. Is there something I'm missing? I ...
-1
votes
1
answer
27
views
Anaconda build string starting with "pypi..."
In an anaconda requirements.txt, I have several dependencies with build strings that start with pypi....
- argon2-cffi==23.1.0=pypi_0
- appdirs==1.4.4=pypi_0
- anyio==4.2.0=pypi_0
- annotated-...
0
votes
0
answers
31
views
What do the build strings mean?
In anaconda, what do the strings mean that appear at the end of the line, "[package name]=[version]=[MYSTERY STRING]"? This is an example requirements.txt:
# This file may be used to create ...
0
votes
1
answer
43
views
Anaconda Build Channels
In the following requirements.txt, what does the addition non-pypi syntax mean? My MRE is what the package author suggests, installing this with conda create --name multid_features --file requirements....
0
votes
0
answers
45
views
armhf: openssl-libcrypto-fix: cannot execute binary file: Exec format error
I'm trying to use miniconda on a project on rpi4b but I can't get it initialized. The problem seems to be the 32-bit operating system which starts to be out of use. It's a fresh install of bookworm.
I ...
0
votes
0
answers
114
views
Cryptography module not found
Im new to python, and I recently wanted to try and dive in into encrypting and decrypting text, so I looked up tutorials, and I see tutorials using the from cryptography.fernet import fernet. I did ...
0
votes
0
answers
249
views
miniconda dev container - cannot install snowflake-snowpark-python package via conda but can via pip
Not entirely sure on the right level of information I need to provide here, fairly new to this, but...
Problem Statement:
I have a vscode miniconda dev container that I'm using, which I believe is ...
0
votes
1
answer
107
views
How do I properly activate a Conda environment in VSCode?
I'm trying to activate a conda environment in VSCode, but when importing modules inside my environment I get a ModuleNotFoundError.
First when I run conda list in the terminal, the packages show up. ...
-1
votes
1
answer
50
views
Ubuntu - Error message on python.exe when starting new Jupyter Notebook
This error message keep on popping every 3 second when the jupyter notebook ipynb trying to start its kernel, I'm unable to use the jupyter notebook at all. Don't really understand since I'm launching ...
0
votes
0
answers
70
views
How to install dependencies in conda environment in Google colab
I am new to Python. For analyzing the single-cell multiomics datasets, I have purchased Google Colab Pro. Because the dataset is large, the model requires GPU and conda environment for the analysis. I ...
0
votes
0
answers
93
views
Anaconda/Miniconda won't work - ModuleNotFoundError: No module named 'conda'
This last month I was happily working with the Anaconda Navigator and Pycharm. However, after I wanted to install a new virtual environment for the NoW Benchmark evaluation I received the following ...
0
votes
0
answers
29
views
how to remove Conda from computer if I accidentally downloaded it to "all users"
I am new to coding so please let me know how I can better phrase my question... thank you.
I need to make a Conda environment for a project I am working on, I decided to download Miniconda because ...
0
votes
0
answers
40
views
Python default version not changing
I had installed some program which required conda after the conda installation I started having issues with stable diffusion because it requires python 3.10 version, I started encountering various ...
1
vote
1
answer
13k
views
Conda environments with no name in VS Code
I am using miniconda on a macOS. When I try to conda environments from the terminal in VS Code, for some envs I have to specify a path vice just a name. If I list the environments I get a list like ...
1
vote
0
answers
18
views
Ways to install packages in miniconda CL
I know you can use conda install r-[name], but I've seen other people using Rscript -e install.packages(), though I've not had much luck with this method personally. I've also seen BiocManager::...
0
votes
1
answer
34
views
VSCode paths off after reinstalling miniconda
Due to an earlier mistake I made I ended up reinstalling miniconda for Windows. Now, my existing project having a custom env path works again but vscode seems to be off when trying to do the same.
In ...
2
votes
1
answer
45
views
Conda update flips between two versions of the same package from the same channel
This is the continuation of my previous question.
Now, with both channel_priority: flexible and channel_priority: strict,
every conda update -n base --all flips between
The following packages will be ...
0
votes
1
answer
243
views
Actual Python version in conda environment when running in Google Colab?
I run notebooks in Google Colab and there I install miniconda and create an appropriate environment for the application. It is good to be able to read out what Python version you actually have in the ...
1
vote
0
answers
47
views
`conda list` mis-reports package version
How come
$ conda list --show-channel-urls dateutil
# packages in environment at .../miniconda3/envs/c312:
#
# Name Version Build Channel
python-dateutil ...
1
vote
2
answers
68
views
Conda update flips between two versions of fmt
When I do conda update -n base --all, I get this:
The following packages will be UPDATED:
libmamba artifactory/api/conda/conda-forge::li~ --> pkgs/main::libmamba-1.5.8-h99b1521_2
...
0
votes
1
answer
102
views
Module "pygments.lexer" not found when running Spyder from miniconda
I was following the install tutorial in Spyder webpage and apparently I was able to install it without errors with the command: conda install -c conda-forge spyder numpy scipy pandas matplotlib sympy ...
0
votes
0
answers
148
views
What's the best way of keeping Miniforge up to date?
I know this question hast been asked a lot and you are probably annoyed by it. But what is the best way of keeping Miniforge up to date?
The command I read mostly nowadays is:
mamba update --all
But ...
0
votes
1
answer
642
views
DLL load failed while importing _imaging: current solutions do not work
I have a similar problem as others and followed the suggested answers, without success.
Everything was working fine until I did a conda update -c conda-forge --all
As a result, in Windows 11 with ...
1
vote
0
answers
180
views
Cmake refuses to find the proper version of python in conda
I'm trying to make cmake (v 3.22) find python 3.9 that's set up in conda, but it really wants to use the default python 3.10 that's on the system by default (Ubuntu 22). The code in CMakeLists.txt ...
0
votes
0
answers
82
views
Unable to install miniconda on Ubuntu(WSL)
I am trying to install miniconda on Ubuntu(WSL) using the instructions on the official installation page: https://docs.anaconda.com/free/miniconda/miniconda-install/
I am able to download the package ...
0
votes
0
answers
18
views
conda: command not found after moving from one directory to another
I followed this [guidline](https://docs.anaconda.com/free/working-with-conda/configurations/move-directory/#moving-from-one-directory-to-another)
I don't know why after reboot I can't run any command ...
0
votes
1
answer
50
views
Clean RAM cache : potential troubles?
Here is the result of free -m command on my virtual machine.
Mem : 16000 (total) 820 (used) 150 (free) 1 (shared) 15029 (buff/cache) 14840 (available)
Swap : 16383 (total) 259 (used) 16124 (free)
I ...
0
votes
0
answers
18
views
LibMambaUnsatisfiableError: Encountered problems while solving: nothing provides requested bzip2 ==1.0.8 he774522_0 [duplicate]
I am trying to recreate a conda environment from an environment.yml. The environment.yml looks like this.
name: prompting
channels:
- defaults
- conda-forge
dependencies:
- asttokens=2.4.1=...
1
vote
0
answers
932
views
Performance of mamba vs conda
I was thinking about mamba, the drop-in replacement of conda, and I was curious to benchmark the precise gains in performance with respect to conda in an environment as free as possible from external ...
1
vote
1
answer
146
views
Problems with Environment creation with miniconda
I have some problems creating an environment for my code.
The code requires a quite old Python version, but I am able to recreate the environment in my Ubuntu 22.04 LTS (Desktop). The problem arises ...
0
votes
1
answer
146
views
import osgeo: ImportError: DLL load failed while importing _gdal
I'm loading osgeo in a conda python environment. Initially I installed again gdal and libgdal according to this post and seems to work. I'm using the python located at: C:\\Users\\Admin\\AppData\\...
0
votes
0
answers
61
views
MPI error in miniconda prompt in base env
I installed MPI on my win10 for using mpi4py in python for some projects. everything was okay for a long time, but now I'm receiving following comments in anaconda prompt:
C:\Windows\system32>if ...
0
votes
0
answers
44
views
problem with running Kallisto on single cell data
I am totally new to bioinformatics, therefore apologies if the terminology is not correct or the question is dumb :)
I have been trying the following:
installed miniconda
create an environment called ...
0
votes
0
answers
441
views
Poetry create new virtual environments after installing conda
Here is the story of how I got poetry and miniconda messed up on my mac:
I cloned a project from the git hub, and PyCharm created a virtual environment (venv). I installed Peotry (not in venv) and ...
0
votes
0
answers
52
views
I changed default path, now I'm getting a subprocess error in miniconda. ERROR: Cannot set --home and --prefix together
ERROR: Cannot set --home and --prefix together
I just changed my default path within 'properties' to an external hard drive which I'm guessing is causing the issue.
I was trying to install a program ...