anaconda3

switch conda environment from within python script

switch conda environment from within python script Question: Is it possible at all to launch a Python script using conda environment ENV1 and at some point within the script to switch to environment ENV2 and the code that follows that point to be executed within ENV2 instead of ENV1? I have tried the following suggested …

Total answers: 2

can not selected python packages for newly created environment in Anaconda

can not selected python packages for newly created environment in Anaconda Question: i am new to anaconda. after installing anaconda-3, i wanted to create an environment via anaconda navigator.however, the check-box that allows one to choose python packages is never active. i installed Anaconda in the same directory where my python apps/project are. please let …

Total answers: 1

how to use anaconda python in command prompt

how to use anaconda python in command prompt Question: I learned from other posts that in order to use python installed by anaconda, I need to set up environmental variable shown below. As you can see, I put C:UsersRT008840Anaconda3python.exe and C:UsersRT008840Anaconda3Scripts at the top among other variables. However, when going back to the command prompt …

Total answers: 3

ModuleNotFoundError: No module named 'PySide2' while trying to use poetry env

ModuleNotFoundError: No module named 'PySide2' while trying to use poetry env Question: i’m trying to use slicereg (https://github.com/brainglobe/slicereg) for data registration. after import code from github page and install poetry to run slicereg i keep getting the following error : The virtual environment found in ~.condaenvssliceregenv seems to be broken. Recreating virtualenv slicereg-6kSWvOuc-py3.8 in ~AppDataLocalpypoetryCachevirtualenvsslicereg-6kSWvOuc-py3.8 …

Total answers: 1

I cannot use opencv2 and received ImportError: libgl.so.1 cannot open shared object file no such file or directory

I cannot use opencv2 and received ImportError: libgl.so.1 cannot open shared object file no such file or directory Question: **env:**ubuntu16.04 anaconda3 python3.7.8 cuda10.0 gcc5.5 command: conda activate myenv python import cv2 error: Traceback (most recent call last): File "", line 1, in File "/home/.conda/envs/myenv/lib/python3.7/site-packages/cv2/__init__.py", line 5, in from .cv2 import * ImportError: libGL.so.1: cannot open …

Total answers: 3

Conda cannot find packages to install

Conda cannot find packages to install Question: I have been using conda for quite some time without problems, and just now I started to a PackagesNotFoundError error when ever I try to install a package. For example if I try: conda install scipy –channel conda-forge I am getting this: PackagesNotFoundError: The following packages are not …

Total answers: 2

No module named 'fbprophet'?

No module named 'fbprophet'? Question: I have tried to install Facebook Prophet in Anaconda on Ubuntu following the instructions at: https://facebook.github.io/prophet/docs/installation.html#installation-in-python. In Anaconda Navigator, when I click on the environment, fbprophet is listed along with the other installed packages. The problem is that when I try to use fbprophet in Jupyter: from fbprophet import Prophet …

Total answers: 5