728x90
반응형

The version needs to be downgraded due to dependencies issues in using certain libraries on Python.

 

1. Anaconda env activation and checking current ver.

> conda activate (env_name)
EnvironmentNameNotFound: Could not find conda environment: (env_name)
You can list all discoverable environments with `conda info --envs`.

> conda env list 
# conda environments:
#
base                     C:\anaconda3

> python --version
Python 3.8.10

 

2. Conda Update

> conda update --all

 

3. Check the version of Python supported by Conda

> conda search python

Loading channels: done
# Name                       Version           Build  Channel
python                        2.7.13     h1b6d89f_16  pkgs/main
python                        2.7.13     h9912b81_15  pkgs/main
python                        2.7.13     hb034564_12  pkgs/main
python                        2.7.14     h2765ee6_18  pkgs/main
python                        2.7.14     h3e68818_15  pkgs/main
python                        2.7.14     h4084c39_22  pkgs/main
.
.
.

python                        3.10.0      hbb2ffb3_1  pkgs/main
python                        3.10.0      hbb2ffb3_2  pkgs/main
python                        3.10.3      hbb2ffb3_5  pkgs/main
python                        3.10.4      hbb2ffb3_0  pkgs/main

 

4. Install Python with the version you want to change

> conda install python = 3.8.10

 

5. Check to current version

> python --version

Changes Visual studio code Interpreter

 

1. Show all commands < Ctrl + Shift + P >

 

2. "Select interpreter" typing

 

3. choice *

728x90
반응형

'Language > Python' 카테고리의 다른 글

Basic Qt  (0) 2022.10.26
[PySide] Hello World  (0) 2022.10.26
How to use Numpy  (0) 2022.09.06
Basic Python_ Class exam : FourCal_Sourcecode  (0) 2022.08.26
Jump to Python_Source code  (0) 2022.08.26

+ Recent posts