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/sqlite3.36.0 and envs/py39/lib/python3.9/sqlite3 directories, as well as envs/py39/lib/python3.9/lib-dynload/_sqlite3.cpython-39-darwin.so because I
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, winch uses Python 3.9, but I want Python 3.10. Whenever I try to install
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 can’t find anything that explains specifying python
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 ModuleNotFoundError, which would imply that there is no modulename in my specified environment.
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 folder only gets me the following: Why is python-dotenv not
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 it is related to some problem during installation, but
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 installed. Is there a way for me to use conda and get a newer version of
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 pgadmin graphical interface. This could
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 backslash to forward slash on windows and this is a quick fix, however
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 repository only feature a few verified packages. A