I recently updated the Python version of my base conda environment from 3.8 to 3.9, using mamba update python=3.9, but I can no longer run IPython, because the sqlite3 package appears to be broken. Since I had another Python 3.9 environment that is still functional, I tried copying over the envs/py39/lib/sqli…
Tag: conda
nothing provides __cuda needed by tensorflow-2.10.0-cuda112py310he87a039_0
I’m using mambaforge on WSL2 Ubuntu 22.04 with systemd enabled. I’m trying to install TensorFlow 2.10 with CUDA enabled, by using the command: And the command nvidia-smi -q from WSL2 gives: And my other enviroment works as expected: Then, it tries to install package version cuda112py39h9333c2f_1, …
Single “=” after dependency version specifier in setup.py
I’m looking at a setup.py with this syntax: I understand the idea of the “>=” where h5py should be at least version 2.9, but I cannot for the life of me understand the =mpi* afterwards. Is it saying the version should somehow match the mpi version, while also being at least 2.9? I canR…
Snakemake doesn’t activate conda environment correctly
I have a Python module modulename installed in a conda environment called myenvname. My snakemake file consists of one simple rule: The contents of the test2.py are the following: When I run the above snakemake file with the command snakemake -j 1 –use-conda –conda-frontend conda I get ModuleNotFo…
Pipreqs not including all packages?
I currently have a conda environment tf_gpu and I pip installed pipreqs in it to auto generate requirements.txt Now, in my project folder, I have app.py with the imports : Also, predict uses pandas, scipy, numpy, pickle So, but the requirements.txt generated by pipreqs using pipreqs ./ inside the project fold…
Why do I get an error when trying to read a file in geopanda’s included datasets?
I’ve just installed Anaconda in my new laptop, and created an environment with geopandas installed in it. I’ve tried to upload the world map that comes with geopandas through the following code: But I obtain the following error message: Since this error has never appeared in my old laptop, I guess…
Conda is installing a very old version of pytorch-lightning
I tried installing pytorch lightning by runnning: as described here: https://anaconda.org/conda-forge/pytorch-lightning This link seems updated to version 1.6.5 However, when I run this command, an old version of pytorch-lightning is installed, as can be seen here: As you can see, version 0.8.5 is being insta…
Postgredb in conda environment or keep standalone
I am looking for some guidance. I have Anaconda installed to manage my python packages and environments. I see that you can install postgres in the package manager. Am I best to install postgres in the conda environment or install standalone. I am on Windows. I see that if I install postgres separately I get …
OSError: [Errno 22] Invalid argument: – Changing backslash to forward slash not helping! (Windows)
I am working with streamlit to create a tool that takes user input (csv file name) and cleans/produces output as a dataframe. I continuously get OSError: [Errno 22] Invalid argument: ‘M:/Desktop/AutomationProject/’ I am aware of all the past solves of this error, however they all say change backsl…
how to install multiple packages in one line using conda?
I need to install below multiple packages using conda. I am not sure what is conda-forge? some uses conda-forge, some doesn’t use it. Is it possible to install them in one line without installing them one by one? Thanks Answer Why some packages have to be installed through conda forge: Conda official re…