Just tried to update conda via Anaconda Prompt but it is not working.
After I managed to open Anaconda Prompt as administrator to mitigate:The current user does not have write permissions to a required path. problem even if I open promt from navigator-Enviroments-base root - open terminal
after command conda update conda.
So After opening Prompt as Administrator I used commands from conda cheatlist from here:https://conda.io/projects/conda/en/latest/user-guide/cheatsheet.html
I have updated Anaconda but when I ask version number it the same before updating.
I typed: conda update conda
I got:
Solving environment: \
The environment is inconsistent, please check the package plan carefully
The following packages are causing the inconsistency:
(Many packages here)
done
## Package Plan ##
environment location: D:\Program Files\Anaconda
added / updated specs:
- conda
The following NEW packages will be INSTALLED:
(packages)
The following packages will be UPDATED:
(packages)
The following packages will be DOWNGRADED:
(packages)
Proceed ([y]/n)? y
Preparing transaction: done
Verifying transaction: done
Executing transaction: \ DEBUG menuinst_win32:__init__(199): Menu: name: 'Anaconda${PY_VER} ${PLATFORM}', prefix: 'D:\Program Files\Anaconda', env_name: 'None', mode: 'system', used_mode: 'system'
DEBUG menuinst_win32:create(323): Shortcut cmd is "D:\Program Files\Anaconda\python.exe", args are ['"D:\\Program Files\\Anaconda\\cwp.py"', '"D:\\Program Files\\Anaconda"', '"D:\\Program Files\\Anaconda\\python.exe"', '"D:\\Program Files\\Anaconda\\Scripts\\jupyter-notebook-script.py"', '"%USERPROFILE%/"']
DEBUG menuinst_win32:__init__(199): Menu: name: 'Anaconda${PY_VER} ${PLATFORM}', prefix: 'D:\Program Files\Anaconda', env_name: 'None', mode: 'system', used_mode: 'system'
DEBUG menuinst_win32:create(323): Shortcut cmd is "D:\Program Files\Anaconda\python.exe", args are ['"D:\\Program Files\\Anaconda\\cwp.py"', '"D:\\Program Files\\Anaconda"', '"D:\\Program Files\\Anaconda\\python.exe"', '"D:\\Program Files\\Anaconda\\Scripts\\jupyter-notebook-script.py"', '"%USERPROFILE%/"']
- DEBUG menuinst_win32:__init__(199): Menu: name: 'Anaconda${PY_VER} ${PLATFORM}', prefix: 'D:\Program Files\Anaconda', env_name: 'None', mode: 'system', used_mode: 'system'
DEBUG menuinst_win32:create(323): Shortcut cmd is "D:\Program Files\Anaconda\python.exe", args are ['"D:\\Program Files\\Anaconda\\cwp.py"', '"D:\\Program Files\\Anaconda"', '"D:\\Program Files\\Anaconda\\python.exe"', '"D:\\Program Files\\Anaconda\\Scripts\\jupyter-notebook-script.py"', '"%USERPROFILE%/"']
done
And than I check version again ... and nothing!
(base) C:\WINDOWS\system32>conda --version
conda 4.9.2
I used command in cheatlist:
(base) C:\WINDOWS\system32>conda update -n base conda
Collecting package metadata (current_repodata.json): done
Solving environment: done
Package Plan
environment location: D:\Program Files\Anaconda
added / updated specs:
- conda
The following packages will be downloaded:
(packages)
Proceed ([y]/n)?
Downloading and Extracting Packages
Preparing transaction: done
Verifying transaction: done
Executing transaction: done
I tied to check conda version again - and got the same old version I have before update
(base) C:\WINDOWS\system32>conda -V
conda 4.9.2
(base) C:\WINDOWS\system32>python -V
Python 3.7.7
(base) C:\WINDOWS\system32>conda list anaconda$
packages in environment at D:\Program Files\Anaconda:
Name Version Build Channel
anaconda custom py37_1
(base) C:\WINDOWS\system32>conda info
active environment : base
active env location : D:\Program Files\Anaconda
shell level : 1
user config file : C:\Users\G703\.condarc
populated config files : C:\Users\G703\.condarc
conda version : 4.9.2
conda-build version : 3.18.11
python version : 3.7.7.final.0
virtual packages : __cuda=11.2=0
__win=0=0
__archspec=1=x86_64
base environment : D:\Program Files\Anaconda (writable)
channel URLs : https://repo.anaconda.com/pkgs/main/win-64
https://repo.anaconda.com/pkgs/main/noarch
https://repo.anaconda.com/pkgs/r/win-64
https://repo.anaconda.com/pkgs/r/noarch
https://repo.anaconda.com/pkgs/msys2/win-64
https://repo.anaconda.com/pkgs/msys2/noarch
package cache : D:\Program Files\Anaconda\pkgs
C:\Users\G703\.conda\pkgs
C:\Users\G703\AppData\Local\conda\conda\pkgs
envs directories : D:\Program Files\Anaconda\envs
C:\Users\G703\.conda\envs
C:\Users\G703\AppData\Local\conda\conda\envs
platform : win-64
user-agent : conda/4.9.2 requests/2.25.1 CPython/3.7.7 Windows/10 Windows/10.0.19041
administrator : True
netrc file : None
offline mode : False
The same in Anaconda Power Shell:
(base) PS C:\WINDOWS\system32> conda update -n base conda
Collecting package metadata (current_repodata.json): done
Solving environment: done
# All requested packages already installed.
(base) PS C:\WINDOWS\system32> conda update anaconda
Collecting package metadata (current_repodata.json): done
Solving environment: done
# All requested packages already installed.
(base) PS C:\WINDOWS\system32> conda info
active environment : base
active env location : D:\Program Files\Anaconda
shell level : 1
user config file : C:\Users\G703\.condarc
populated config files : C:\Users\G703\.condarc
conda version : 4.9.2
conda-build version : 3.18.11
python version : 3.7.7.final.0
virtual packages : __cuda=11.2=0
__win=0=0
__archspec=1=x86_64
base environment : D:\Program Files\Anaconda (writable)
channel URLs : https://repo.anaconda.com/pkgs/main/win-64
https://repo.anaconda.com/pkgs/main/noarch
https://repo.anaconda.com/pkgs/r/win-64
https://repo.anaconda.com/pkgs/r/noarch
https://repo.anaconda.com/pkgs/msys2/win-64
https://repo.anaconda.com/pkgs/msys2/noarch
package cache : D:\Program Files\Anaconda\pkgs
C:\Users\G703\.conda\pkgs
C:\Users\G703\AppData\Local\conda\conda\pkgs
envs directories : D:\Program Files\Anaconda\envs
C:\Users\G703\.conda\envs
C:\Users\G703\AppData\Local\conda\conda\envs
platform : win-64
user-agent : conda/4.9.2 requests/2.25.1 CPython/3.7.7 Windows/10 Windows/10.0.19041
administrator : True
netrc file : None
offline mode : False
Any ideas what I should try to properly update Anaconda and Navigator from the prompt?
Or I have to download New Version from the website and Uninstall old one?
Many Thanks!
You may want to run:
conda update conda
conda install anaconda=<version>
Check out this question.
Related
I tried to install new packages from anaconda and this message has appeared:
(base) C:\Users\lenovo>conda install anaconda
Collecting package metadata (current_repodata.json): done
Solving environment: \
The environment is inconsistent, please check the package plan carefully
The following packages are causing the inconsistency:
I tried with conda install anaconda,conda update --all and conda install anaconda-clean,respectively,but it persists.
I CANT EVEN UNINSTALL ANACONDA DUE TO THE SAME ISSUE!
Did anyone get any progress on this?
Here are some details:
(base) C:\Users\lenovo>conda install anaconda
Collecting package metadata (current_repodata.json): done
Solving environment: \
The environment is inconsistent, please check the package plan carefully
The following packages are causing the inconsistency:
- defaults/win-64::anaconda==custom=py38_1
- conda-forge/win-64::astropy==5.0.2=py38h6f4d8f0_0
- https://repo.anaconda.com/pkgs/main/win-64::bkcharts==0.2=py38_0
- conda-forge/win-64::bokeh==2.4.2=py38haa244fe_0
- conda-forge/win-64::bottleneck==1.3.4=py38h6f4d8f0_0
- conda-forge/win-64::daal4py==2021.5.0=py38he5193b3_0
- conda-forge/noarch::dask==2022.3.0=pyhd8ed1ab_0
- https://repo.anaconda.com/pkgs/main/win-64::h5py==2.10.0=py38h5e291fa_0
- conda-forge/win-64::imagecodecs==2022.2.22=py38h19b08ce_0
- conda-forge/noarch::imageio==2.16.1=pyhcf75d05_0
- conda-forge/win-64::matplotlib==3.5.1=py38haa244fe_0
- conda-forge/win-64::matplotlib-base==3.5.1=py38h1f000d6_0
- https://repo.anaconda.com/pkgs/main/win-64::mkl_fft==1.1.0=py38h45dec08_0
- https://repo.anaconda.com/pkgs/main/win-64::mkl_random==1.1.1=py38h47e9c7a_0
- conda-forge/noarch::networkx==2.7.1=pyhd8ed1ab_0
- conda-forge/win-64::numba==0.55.1=py38h5858985_0
- https://repo.anaconda.com/pkgs/main/win-64::numexpr==2.7.1=py38h25d0782_0
- conda-forge/win-64::pandas==1.4.1=py38h5d928e2_0
- conda-forge/noarch::patsy==0.5.2=pyhd8ed1ab_0
- conda-forge/win-64::pyerfa==2.0.0.1=py38h6f4d8f0_1
- https://repo.anaconda.com/pkgs/main/win-64::pytables==3.6.1=py38ha5be198_0
- https://repo.anaconda.com/pkgs/main/noarch::python-jsonrpc-server==0.3.4=py_1
- https://repo.anaconda.com/pkgs/main/win-64::python-language-server==0.34.1=py38_0
- conda-forge/win-64::pywavelets==1.3.0=py38h6f4d8f0_0
- conda-forge/win-64::scikit-image==0.19.2=py38h5d928e2_0
- conda-forge/win-64::scikit-learn==1.0.2=py38hb60ee80_0
- conda-forge/win-64::scikit-learn-intelex==2021.5.0=py38haa244fe_1
- conda-forge/win-64::scipy==1.8.0=py38ha1292f7_1
- conda-forge/noarch::seaborn==0.11.2=hd8ed1ab_0
- conda-forge/noarch::seaborn-base==0.11.2=pyhd8ed1ab_0
- https://repo.anaconda.com/pkgs/main/win-64::spyder==4.1.4=py38_0
- conda-forge/win-64::statsmodels==0.13.2=py38h6f4d8f0_0
- conda-forge/noarch::tifffile==2022.3.16=pyhd8ed1ab_0
- pytorch/win-64::torchaudio==0.11.0=py38_cpu
- pytorch/win-64::torchvision==0.12.0=py38_cpu
- defaults/win-64::_anaconda_depends==2021.11=py38_0
failed with initial frozen solve. Retrying with flexible solve.
Conda Info
active environment : base
active env location : G:\anaconda3
shell level : 1
user config file : C:\Users\lenovo\.condarc
populated config files : C:\Users\lenovo\.condarc
conda version : 4.12.0
conda-build version : 3.18.11
python version : 3.8.3.final.0
virtual packages : __cuda=11.6=0
__win=0=0
__archspec=1=x86_64
base environment : G:\anaconda3 (writable)
conda av data dir : G:\anaconda3\etc\conda
conda av metadata url : None
channel URLs : http://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/conda-forge/win-64
http://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/conda-forge/noarch
http://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/pytorch/win-64
http://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/pytorch/noarch
http://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main/win-64
http://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main/noarch
http://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free/win-64
http://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free/noarch
http://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/r/win-64
http://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/r/noarch
http://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/msys2/win-64
http://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/msys2/noarch
package cache : G:\anaconda3\pkgs
C:\Users\lenovo\.conda\pkgs
C:\Users\lenovo\AppData\Local\conda\conda\pkgs
envs directories : G:\anaconda3\envs
C:\Users\lenovo\.conda\envs
C:\Users\lenovo\AppData\Local\conda\conda\envs
platform : win-64
user-agent : conda/4.12.0 requests/2.27.1 CPython/3.8.3 Windows/10 Windows/10.0.22000
administrator : False
netrc file : None
offline mode : False
I had a very similar problem as you: couldn't install fbprophet and failed to solve the environment when I tried to update conda. As suggested in this website and this stackoverflow question, I tried the command conda config --set channel_priority flexible. After that, I could run conda install anaconda and the environment failed to solve at the first time, but then downloaded / downgraded / changed the packages successfully.
I want to create a new conda environment.
However, I get the following error message:
(base) ➜ ~ conda env create -n ml
Collecting package metadata (repodata.json): done
Solving environment: failed
ResolvePackageNotFound:
- libspatialindex==1.9.0=h6de7cb9_1
- libgdal==2.4.0=h89caebc_1002
- gdal==2.4.0=py37h0e3174d_1002
- openblas==0.3.5=h436c29b_1001
- libcxxabi==8.0.0=2
I removed all of my old environments (they had become bloated) and uninstalled and reinstalled a new miniconda3 installation.
(base) ➜ ~ conda env list
# conda environments:
#
base * /Users/tommylees/miniconda3
Here is some other information:
(base) ➜ ~ conda info
active environment : base
active env location : /Users/tommylees/miniconda3
shell level : 1
user config file : /Users/tommylees/.condarc
populated config files :
conda version : 4.9.2
conda-build version : not installed
python version : 3.8.6.final.0
virtual packages : __osx=10.15.7=0
__unix=0=0
__archspec=1=x86_64
base environment : /Users/tommylees/miniconda3 (writable)
channel URLs : https://repo.anaconda.com/pkgs/main/osx-64
https://repo.anaconda.com/pkgs/main/noarch
https://repo.anaconda.com/pkgs/r/osx-64
https://repo.anaconda.com/pkgs/r/noarch
package cache : /Users/tommylees/miniconda3/pkgs
/Users/tommylees/.conda/pkgs
envs directories : /Users/tommylees/miniconda3/envs
/Users/tommylees/.conda/envs
platform : osx-64
user-agent : conda/4.9.2 requests/2.25.1 CPython/3.8.6 Darwin/19.6.0 OSX/10.15.7
UID:GID : 501:20
netrc file : None
offline mode : False
(base) ➜ ~ cat /Users/tommylees/.condarc
cat: /Users/tommylees/.condarc: No such file or directory
(base) ➜ ~ ls /Users/tommylees/.conda/envs
ls: /Users/tommylees/.conda/envs: No such file or directory
I do not understand why the conda installer is still looking for gdal or other packages which were previously installed but I thought I had removed.
I am unable to install the Anaconda package
getting error
ERROR conda.core.link:_execute(700): An error occurred while installing package 'defaults::qt-5.9.7-vc14h73c81de_0'.
Rolling back transaction: ...working... done
Following logs
zipp pkgs/main/noarch::zipp-2.2.0-py_0
zlib pkgs/main/win-64::zlib-1.2.11-h62dcd97_3
zstd pkgs/main/win-64::zstd-1.3.7-h508b16e_0
Preparing transaction: ...working... done
Executing transaction: ...working... WARNING conda.core.envs_manager:register_env(52): Unable to register environment. Path not writable or missing.
environment location: E:\Anaconda
registry file: C:\Users\Sam--pc\.conda\environments.txt
done
ERROR conda.core.link:_execute(700): An error occurred while installing package 'defaults::qt-5.9.7-vc14h73c81de_0'.
Rolling back transaction: ...working... done
LinkError: post-link script failed for package defaults::qt-5.9.7-vc14h73c81de_0
location of failed script: E:\Anaconda\Scripts\.qt-post-link.bat
==> script messages <==
<None>
==> script output <==
stdout: 1 file(s) copied.
stderr: The system cannot find the file specified.
The system cannot find the file specified.
return code: 1
()
Delete file: E:\Anaconda\pkgs\env.txt
Output folder: E:\Anaconda\conda-meta
Extract: history
Creating Anaconda3 menus...
Execute: "E:\Anaconda\pythonw.exe" -E -s "E:\Anaconda\Lib\_nsis.py" mkdirs
Running post install...
Execute: "E:\Anaconda\pythonw.exe" -E -s "E:\Anaconda\Lib\_nsis.py" post_install
Execute: "E:\Anaconda\pythonw.exe" -E -s "E:\Anaconda\pkgs\.cio-config.py" "D:\Software\Software\Softwares\Anaconda3-2020.02-Windows-x86_64.exe"
Created uninstaller: E:\Anaconda\Uninstall-Anaconda3.exe
Completed
I have tried reinstalling with admin rights still the issue prevails
Windows 10
https://i.stack.imgur.com/a5usQ.png
I have tried many ways, this below one worked for me
the (base) in anaconda file has no environment variable set.
you can know what envs is set by typing
"conda info"
if it shows
-active environment : none-
then,
create a new envs as below
conda create --name environment_name_of_your_own
after following the steps
conda activate environment_name_of_your_own
from (base) , it changes to (environment_name_of_your_own)
you can run your commands from here now, it will work mostly.
it worked for me.
AlSO,
change your PC/Laptop *
Environment Variables -> User Variables -> TEMP (double click and
change directory to) -> C:/Temp
also
*
TMP (double click and change directory to) -> C:/Temp
MY "code info"
active environment : D:\miniconda_envi_setup_here\some_folder\env
active env location : D:\miniconda_envi_setup_here\some_folder\env
shell level : 3
user config file : C:\Users\PC Dell.condarc
populated config files : C:\Users\PC Dell.condarc
conda version : 4.9.2
conda-build version : not installed
python version : 3.9.1.final.0
virtual packages : __cuda=11.1=0
__win=0=0
__archspec=1=x86_64
base environment : C:\ProgramData\Miniconda3 (read only)
channel URLs : https://repo.anaconda.com/pkgs/main/win-64
https://repo.anaconda.com/pkgs/main/noarch
https://repo.anaconda.com/pkgs/r/win-64
https://repo.anaconda.com/pkgs/r/noarch
https://repo.anaconda.com/pkgs/msys2/win-64
https://repo.anaconda.com/pkgs/msys2/noarch
package cache : C:\ProgramData\Miniconda3\pkgs
C:\Users\PC Dell.conda\pkgs
C:\Users\PC Dell\AppData\Local\conda\conda\pkgs
envs directories : C:\Users\PC Dell.conda\envs
C:\ProgramData\Miniconda3\envs
C:\Users\PC Dell\AppData\Local\conda\conda\envs
platform : win-64
user-agent : conda/4.9.2 requests/2.25.0 CPython/3.9.1 Windows/10 Windows/10.0.19041
administrator : False
netrc file : None
offline mode : False
Just after I successfully installed Anaconda in Windows (using the official installer), I tried to install a package with conda command. Then, I got the following UnavailableInvalidChannel error:
C:\Users\user>conda install numpy
WARNING: The conda.compat module is deprecated and will be removed in a future release.
Collecting package metadata: failed
UnavailableInvalidChannel: The channel is not accessible or is invalid.
channel name: pkgs/msys2/repo.anaconda.com/pkgs
channel url: https://repo.anaconda.com/pkgs/msys2/repo.anaconda.com/pkgs
error code: 404
It seems conda is using wrong channel url, but there is no reference to https://repo.anaconda.com/pkgs/msys2/repo.anaconda.com/pkgs in my config.
C:\Users\user>conda config --show channels
channels:
- https://repo.anaconda.com/pkgs/
- https://repo.anaconda.com/pkgs/main/win-64/
- defaults
Do you have any idea how to resolve this problem?
Here is my environment:
C:\Users\user>conda info
active environment : None
user config file : C:\Users\user\.condarc
populated config files : C:\Users\user\.condarc
conda version : 4.6.11
conda-build version : 3.17.8
python version : 3.7.3.final.0
base environment : C:\ProgramData\Anaconda3 (read only)
channel URLs : https://conda.anaconda.org/conda-forge/win-64
https://conda.anaconda.org/conda-forge/noarch
https://repo.anaconda.com/pkgs/msys2/repo.anaconda.com/pkgs/win-64
https://repo.anaconda.com/pkgs/msys2/repo.anaconda.com/pkgs/noarch
https://repo.anaconda.com/pkgs/main/win-64
https://repo.anaconda.com/pkgs/main/noarch
package cache : C:\ProgramData\Anaconda3\pkgs
C:\Users\user\.conda\pkgs
C:\Users\user\AppData\Local\conda\conda\pkgs
envs directories : C:\Users\user\.conda\envs
C:\ProgramData\Anaconda3\envs
C:\Users\user\AppData\Local\conda\conda\envs
platform : win-64
user-agent : conda/4.6.11 requests/2.21.0 CPython/3.7.3 Windows/10 Windows/10.0.17763
administrator : False
netrc file : None
offline mode : False
Yet another Import Error issue, I know...
I have been through many posts on stackoverflow about this issue but nothing seem to help
Here is the thing, I am not a windows person, I have used anaconda on mac and Linux for quite a while but now I have to train someone on Python with windows10.
So I tried to install Anaconda, thinking oh well that should be easy...
What I did :
Install miniconda3
Create a conda environment named 'first' - activated it
Install numpy scipy and geopandas (conda install -c conda-forge geopandas)
Start IPython
Typed import geopandas and got an Import Error ModuleNotFoundError: No module named 'geopandas'
Note that Geopandas and all packages appear in the pip list of my environment
So then I Import sys and typed sys.path with this result (sys.executable was fine)
['',
'C:\\Users\\mine\\Miniconda3\\Scripts',
'C:\\Users\\mine\\Miniconda3\\python36.zip',
'C:\\Users\\mine\\Miniconda3\\DLLs',
'C:\\Users\\mine\\Miniconda3\\lib',
'C:\\Users\\mine\\Miniconda3',
'C:\\Users\\mine\\Miniconda3\\lib\\site-packages',
'C:\\Users\\mine\\Miniconda3\\lib\\site-packages\\win32',
'C:\\Users\\mine\\Miniconda3\\lib\\site-packages\\win32\\lib',
'C:\\Users\\mine\\Miniconda3\\lib\\site-packages\\Pythonwin',
'C:\\Users\\mine\\Miniconda3\\lib\\site-packages\\IPython\\extensions',
'C:\\Users\\mine\\.ipython']
I believe I should see something about my conda environment in there
c:\users\mine\miniconda3\envs\first\
What did I do wrong? How do I fix it and why do you think that happened? Should I report it to anaconda as it seems to be a pretty annoying thing.
In case that helps :
(first) C:\Users\mine>conda info -a
active environment : first
active env location : C:\Users\mine\Miniconda3\envs\first
shell level : 2
user config file : C:\Users\mine\.condarc
populated config files :
conda version : 4.4.10
conda-build version : not installed
python version : 3.6.3.final.0
base environment : C:\Users\mine\Miniconda3 (writable)
channel URLs : https://repo.continuum.io/pkgs/main/win-64
https://repo.continuum.io/pkgs/main/noarch
https://repo.continuum.io/pkgs/free/win-64
https://repo.continuum.io/pkgs/free/noarch
https://repo.continuum.io/pkgs/r/win-64
https://repo.continuum.io/pkgs/r/noarch
https://repo.continuum.io/pkgs/pro/win-64
https://repo.continuum.io/pkgs/pro/noarch
https://repo.continuum.io/pkgs/msys2/win-64
https://repo.continuum.io/pkgs/msys2/noarch
package cache : C:\Users\mine\Miniconda3\pkgs
C:\Users\mine\AppData\Local\conda\conda\pkgs
envs directories : C:\Users\mine\Miniconda3\envs
C:\Users\mine\AppData\Local\conda\conda\envs
C:\Users\mine\.conda\envs
platform : win-64
user-agent : conda/4.4.10 requests/2.18.4 CPython/3.6.3 Windows/10 Windows/10.0.16299
administrator : False
netrc file : None
offline mode : False
# conda environments:
#
base C:\Users\mine\Miniconda3
first * C:\Users\mine\Miniconda3\envs\first
sys.version: 3.6.3 |Anaconda, Inc.| (default, Nov 8 ...
sys.prefix: C:\Users\mine\Miniconda3
sys.executable: C:\Users\mine\Miniconda3\python.exe
conda location: C:\Users\mine\Miniconda3\lib\site-packages\conda
conda-build: None
conda-env: C:\Users\mine\Miniconda3\Scripts\conda-env.exe
user site dirs:
CIO_TEST: <not set>
CONDA_DEFAULT_ENV: first
CONDA_PREFIX: C:\Users\mine\Miniconda3\envs\first
CONDA_PREFIX_1: C:\Users\mine\Miniconda3
CONDA_PROMPT_MODIFIER: (first)
CONDA_PYTHON_EXE: C:\Users\mine\Miniconda3\python.exe
CONDA_ROOT: C:\Users\mine\Miniconda3
CONDA_SHLVL: 2
HOMEPATH: \Users\mine
PATH: C:\Users\mine\Miniconda3\envs\first;C:\Users\mine\Miniconda3\envs\first\Library\mingw-w64\bin;C:\Users\mine\Miniconda3\envs\first\Library\usr\bin;C:\Users\mine\Miniconda3\envs\first\Library\bin;C:\Users\mine\Miniconda3\envs\first\Scripts;C:\Users\mine\Miniconda3\envs\first\bin;C:\Users\mine\Miniconda3;C:\Users\mine\Miniconda3\Library\mingw-w64\bin;C:\Users\mine\Miniconda3\Library\usr\bin;C:\Users\mine\Miniconda3\Library\bin;C:\Users\mine\Miniconda3\Scripts;C:\Users\mine\Miniconda3\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;C:\Users\mine\AppData\Local\Microsoft\WindowsApps;
PSMODULEPATH: C:\Program Files\WindowsPowerShell\Modules;C:\WINDOWS\system32\WindowsPowerShell\v1.0\Modules
PYTHONIOENCODING: 1252
REQUESTS_CA_BUNDLE: <not set>
SSL_CERT_FILE: <not set>
You also need to install IPython into your new environment:
conda install ipython
otherwise it uses the ipython form "outside" the environment because it is a command line app and not necessary connected to an environment.
You can check IPython you use with:
where ipython