conda

package get installed under the include folder and not under site-packages

package get installed under the include folder and not under site-packages Question: I am trying to install a package (more specifically diplib) with conda install -c conda-forge diplib but for some reason nothing is added to envs/env_name/lib/site-packages. The command runs fine, no warnings/error at all. Everything looks normal but I am still getting ‘ModuleNotFoundError: No …

Total answers: 1

python – any function to access pickle causes FileNotFoundError

python – any function to access pickle causes FileNotFoundError Question: The error: > Traceback (most recent call last): > File ".scriptspickle_threed_future_dataset.py", line 127, in <module> > main(sys.argv[1:]) > File ".scriptspickle_threed_future_dataset.py", line 101, in main > scenes_dataset = ThreedFront.from_dataset_directory( > File "c:usersmibigdesktopatissscene_synthesisdatasetsthreed_front.py", line 169, in from_dataset_directory > scenes = parse_threed_front_scenes( > File "c:usersmibigdesktopatissscene_synthesisdatasetsutils.py", line 129, in …

Total answers: 1

How to convert python file to exe? The 'pathlib' package is an obsolete backport of a standard library package and is incompatible with PyInstaller

How to convert python file to exe? The 'pathlib' package is an obsolete backport of a standard library package and is incompatible with PyInstaller Question: I am receiving following error while converting python file to .exe I have tried to uninstall and intsall pyinstaller but it didnt helped out. i upgraded conda but still facing …

Total answers: 5

conda: what difference does it make if we set pip_interop_enabled=True?

conda: what difference does it make if we set pip_interop_enabled=True? Question: There are many posts on this site which reference, typically in passing, the idea of setting pip_interop_enabled=True within some environment. This makes conda and pip3 somehow interact better, I am told. To be precise, people say conda will search PyPI for packages that don’t …

Total answers: 1

Stray Python processes in memory on MacOS 11.6

Stray Python processes in memory on MacOS 11.6 Question: I have a Macbook Air M1 from 2020 with MacOS Big Sur (11.6). I regularly use Python with Jupyter notebooks, or from the terminal. To install Python, I use Anaconda3 for MacOS Apple Silicon. I often use Python from different conda environments. After I close all …

Total answers: 1

Can Anaconda tell you Conda-Forge url of an installed package?

Can Anaconda tell you Conda-Forge url of an installed package? Question: I’m trying to build a dependency tree for a series of python package installs, and I’d like to include the conda-forge url for each package. Is there a way to find the url of an installed package using the command line interface? Asked By: …

Total answers: 1

How to install mysqlclient v2.0.1 in anaconda/conda

How to install mysqlclient v2.0.1 in anaconda/conda Question: I try to install mysqlclient v2.0.1 in anaconda/conda conda install -n py37 mysqlclient=2.0.1 or conda install -c "conda-forge/label/cf202003" -n py37 mysqlclient=2.0.1 But I get such error message: Solving environment: failed with initial frozen solve. Retrying with flexible solve. Collecting package metadata (repodata.json): done Solving environment: failed with …

Total answers: 1

Conda environment using incorrect module because of order os sys.path

Conda environment using incorrect module because of order os sys.path Question: I am using conda version 4.14.0. When I activate a conda environment I can see that the current numpy module is 1.22.3 conda list | grep -i numpy numpy 1.22.3 py39hc58783e_2 conda-forge When I run python in the conda environment and load numpy it …

Total answers: 1

Why does pip not install a github repository whitin conda environment?

Why does pip not install a github repository whitin conda environment? Question: I combined following commands on ubuntu: conda create -n ml python=3.9 conda activate ml conda install jupyter pandas graphviz python-graphviz pip install git+https://github.com/MaxHalford/vose pip install git+https://github.com/MaxHalford/hedgehog python -m ipykernel install –user –name=ml jupyter notebook But when I try to execute python code on …

Total answers: 1

Why is pip not letting me install torch==1.9.1+cu111 in a new conda env when I have another conda env that has exactly that version?

Why is pip not letting me install torch==1.9.1+cu111 in a new conda env when I have another conda env that has exactly that version? Question: When I run the pip install in the new conda env: (base) brando9~ $ pip install torch==1.9.1+cu111 torchvision==0.10.1+cu111 torchaudio==0.9.1 -f https://download.pytorch.org/whl/torch_stable.html Looking in links: https://download.pytorch.org/whl/torch_stable.html ERROR: Could not find a …

Total answers: 2