Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to use a new environment after creating it (PluginError) #12195

Closed
javierttgg opened this issue Dec 21, 2022 · 6 comments
Closed

Unable to use a new environment after creating it (PluginError) #12195

javierttgg opened this issue Dec 21, 2022 · 6 comments
Labels
locked [bot] locked due to inactivity pending::support indicates user is waiting on support from triage engineers source::community catch-all for issues filed by community members type::support neither a bug nor feature, is really just a user having questions or difficulty somewhere

Comments

@javierttgg
Copy link

javierttgg commented Dec 21, 2022

What happened?

In Windows, using Anaconda Prompt (miniconda3) to create a new environment, I am unable to use a newly created environment.

Following this steps:

(base) C:\Users\Usuario>conda create -n foo python=3.9
(environment is correctly created)
(base) C:\Users\Usuario>conda create -n foo python=3.9
Collecting package metadata (current_repodata.json): done
Solving environment: done

## Package Plan ##

  environment location: C:\Users\Usuario\miniconda3\envs\foo

  added / updated specs:
    - python=3.9


The following NEW packages will be INSTALLED:

  ca-certificates    pkgs/main/win-64::ca-certificates-2022.10.11-haa95532_0
  certifi            pkgs/main/win-64::certifi-2022.12.7-py39haa95532_0
  openssl            pkgs/main/win-64::openssl-1.1.1s-h2bbff1b_0
  pip                pkgs/main/win-64::pip-22.3.1-py39haa95532_0
  python             pkgs/main/win-64::python-3.9.15-h6244533_2
  setuptools         pkgs/main/win-64::setuptools-65.5.0-py39haa95532_0
  sqlite             pkgs/main/win-64::sqlite-3.40.0-h2bbff1b_0
  tzdata             pkgs/main/noarch::tzdata-2022g-h04d1e81_0
  vc                 pkgs/main/win-64::vc-14.2-h21ff451_1
  vs2015_runtime     pkgs/main/win-64::vs2015_runtime-14.27.29016-h5e58377_2
  wheel              pkgs/main/noarch::wheel-0.37.1-pyhd3eb1b0_0
  wincertstore       pkgs/main/win-64::wincertstore-0.2-py39haa95532_2


Proceed ([y]/n)? y


Downloading and Extracting Packages

Preparing transaction: done
Verifying transaction: done
Executing transaction: done
#
# To activate this environment, use
#
#     $ conda activate foo
#
# To deactivate an active environment, use
#
#     $ conda deactivate

Then, after activating the environment

(base) C:\Users\Usuario>conda activate foo

All commands I've tried end up returning the following error:

PluginError: Error while loading conda plugins from entrypoints: DLL load failed while importing bindings: No se puede encontrar el módulo especificado.

Examples of commands that produce the previous error:

(foo) C:\Users\Usuario>conda env list
(foo) C:\Users\Usuario>conda install numpy
(foo) C:\Users\Usuario>conda list
(foo) C:\Users\Usuario>conda info
(foo) C:\Users\Usuario>conda config --show-sources

Might this be related to #12161?

Conda Details

conda info
active environment : base
    active env location : C:\Users\Usuario\miniconda3
            shell level : 1
       user config file : C:\Users\Usuario\.condarc
 populated config files :
          conda version : 22.11.1
    conda-build version : not installed
         python version : 3.9.12.final.0
       virtual packages : __archspec=1=x86_64
                          __cuda=11.7=0
                          __win=0=0
       base environment : C:\Users\Usuario\miniconda3  (writable)
      conda av data dir : C:\Users\Usuario\miniconda3\etc\conda
  conda av metadata url : None
           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:\Users\Usuario\miniconda3\pkgs
                          C:\Users\Usuario\.conda\pkgs
                          C:\Users\Usuario\AppData\Local\conda\conda\pkgs
       envs directories : C:\Users\Usuario\miniconda3\envs
                          C:\Users\Usuario\.conda\envs
                          C:\Users\Usuario\AppData\Local\conda\conda\envs
               platform : win-64
             user-agent : conda/22.11.1 requests/2.28.1 CPython/3.9.12 Windows/10 Windows/10.0.19045
          administrator : False
             netrc file : None
           offline mode : False
conda list
# packages in environment at C:\Users\Usuario\miniconda3:
#
# Name                    Version                   Build  Channel
accelerate                0.13.1                   pypi_0    pypi
alabaster                 0.7.12             pyhd3eb1b0_0
anyio                     3.5.0            py39haa95532_0
argon2-cffi               21.3.0             pyhd3eb1b0_0
argon2-cffi-bindings      21.2.0           py39h2bbff1b_0
arrow                     1.2.3            py39haa95532_0
astroid                   2.11.7           py39haa95532_0
atomicwrites              1.4.0                      py_0
attrs                     22.1.0           py39haa95532_0
autopep8                  1.6.0              pyhd3eb1b0_1
babel                     2.9.1              pyhd3eb1b0_0
backcall                  0.2.0              pyhd3eb1b0_0
bcrypt                    3.2.0            py39h2bbff1b_1
beautifulsoup4            4.11.1           py39haa95532_0
binaryornot               0.4.4              pyhd3eb1b0_1
black                     22.6.0           py39haa95532_0
blas                      1.0                         mkl
bleach                    4.1.0              pyhd3eb1b0_0
brotli                    1.0.9                h2bbff1b_7
brotli-bin                1.0.9                h2bbff1b_7
brotlipy                  0.7.0           py39h2bbff1b_1003
bzip2                     1.0.8                he774522_0
ca-certificates           2022.10.11           haa95532_0
certifi                   2022.9.24        py39haa95532_0
cffi                      1.15.1           py39h2bbff1b_3
chardet                   4.0.0           py39haa95532_1003
charset-normalizer        2.0.4              pyhd3eb1b0_0
click                     8.0.4            py39haa95532_0
cloudpickle               2.0.0              pyhd3eb1b0_0
colorama                  0.4.5            py39haa95532_0
commonmark                0.9.1                    pypi_0    pypi
conda                     22.11.1          py39haa95532_3
conda-libmamba-solver     22.12.0          py39haa95532_0
conda-package-handling    1.9.0            py39h8cc25b3_1
configargparse            1.5.3                    pypi_0    pypi
console_shortcut          0.1.1                         4
cookiecutter              1.7.3              pyhd3eb1b0_0
cryptography              38.0.1           py39h21b164f_0
cuda                      11.6.2                        0    nvidia
cuda-cccl                 11.6.55                       0    nvidia
cuda-command-line-tools   11.6.2                        0    nvidia
cuda-compiler             11.6.2                        0    nvidia
cuda-cudart               11.6.55                       0    nvidia
cuda-cudart-dev           11.6.55                       0    nvidia
cuda-cuobjdump            11.6.124                      0    nvidia
cuda-cupti                11.6.124                      0    nvidia
cuda-cuxxfilt             11.6.124                      0    nvidia
cuda-libraries            11.6.2                        0    nvidia
cuda-libraries-dev        11.6.2                        0    nvidia
cuda-memcheck             11.8.86                       0    nvidia
cuda-nsight-compute       11.8.0                        0    nvidia
cuda-nvcc                 11.6.124                      0    nvidia
cuda-nvdisasm             11.8.86                       0    nvidia
cuda-nvml-dev             11.6.55                       0    nvidia
cuda-nvprof               11.8.87                       0    nvidia
cuda-nvprune              11.6.124                      0    nvidia
cuda-nvrtc                11.6.124                      0    nvidia
cuda-nvrtc-dev            11.6.124                      0    nvidia
cuda-nvtx                 11.6.124                      0    nvidia
cuda-nvvp                 11.8.87                       0    nvidia
cuda-runtime              11.6.2                        0    nvidia
cuda-sanitizer-api        11.8.86                       0    nvidia
cuda-toolkit              11.6.2                        0    nvidia
cuda-tools                11.6.2                        0    nvidia
cuda-visual-tools         11.6.2                        0    nvidia
cycler                    0.11.0             pyhd3eb1b0_0
dash                      2.7.0                    pypi_0    pypi
dash-core-components      2.0.0                    pypi_0    pypi
dash-html-components      2.0.0                    pypi_0    pypi
dash-table                5.0.0                    pypi_0    pypi
debugpy                   1.5.1            py39hd77b12b_0
decorator                 5.1.1              pyhd3eb1b0_0
defusedxml                0.7.1              pyhd3eb1b0_0
diff-match-patch          20200713           pyhd3eb1b0_0
dill                      0.3.6            py39haa95532_0
docutils                  0.18.1           py39haa95532_3
entrypoints               0.4              py39haa95532_0
ffmpeg                    4.3.1                ha925a31_0    conda-forge
fftw                      3.3.9                h2bbff1b_1
flake8                    4.0.1              pyhd3eb1b0_1
flask                     2.2.2                    pypi_0    pypi
flit-core                 3.6.0              pyhd3eb1b0_0
fmt                       8.1.1                h6d14046_1
fonttools                 4.25.0             pyhd3eb1b0_0
freetype                  2.12.1               ha860e81_0
glib                      2.69.1               h5dc1a3c_2
gst-plugins-base          1.18.5               h9e645db_0
gstreamer                 1.18.5               hd78058f_0
h5py                      3.7.0            py39h3de5c98_0
hdf5                      1.10.6               h1756f20_1
icc_rt                    2022.1.0             h6049295_2
icu                       58.2             vc14hc45fdbb_0  [vc14]  anaconda
idna                      3.4              py39haa95532_0
imagesize                 1.4.1            py39haa95532_0
importlib-metadata        4.11.3           py39haa95532_0
importlib_metadata        4.11.3               hd3eb1b0_0
inflection                0.5.1            py39haa95532_0
intel-openmp              2021.4.0          haa95532_3556
intervaltree              3.1.0              pyhd3eb1b0_0
ipykernel                 6.15.2           py39haa95532_0
ipython                   7.31.1           py39haa95532_1
ipython_genutils          0.2.0              pyhd3eb1b0_1
ipywidgets                7.6.5              pyhd3eb1b0_1
isort                     5.9.3              pyhd3eb1b0_0
itsdangerous              2.1.2                    pypi_0    pypi
jedi                      0.18.1           py39haa95532_1
jellyfish                 0.9.0            py39h2bbff1b_0
jinja2                    3.1.2            py39haa95532_0
jinja2-time               0.2.0              pyhd3eb1b0_3
jpeg                      9e                   h2bbff1b_0
json5                     0.9.6              pyhd3eb1b0_0
jsonschema                4.16.0           py39haa95532_0
jupyter                   1.0.0            py39haa95532_8
jupyter_client            7.4.7            py39haa95532_0
jupyter_console           6.4.3              pyhd3eb1b0_0
jupyter_core              4.11.2           py39haa95532_0
jupyter_server            1.18.1           py39haa95532_0
jupyterlab                3.5.0            py39haa95532_0
jupyterlab_pygments       0.1.2                      py_0
jupyterlab_server         2.16.3           py39haa95532_0
jupyterlab_widgets        1.0.0              pyhd3eb1b0_1
keyring                   23.4.0           py39haa95532_0
kiwisolver                1.4.2            py39hd77b12b_0
kornia                    0.6.8                    pypi_0    pypi
lazy-object-proxy         1.6.0            py39h2bbff1b_0
lerc                      3.0                  hd77b12b_0
libarchive                3.6.1                hebabd0d_0
libbrotlicommon           1.0.9                h2bbff1b_7
libbrotlidec              1.0.9                h2bbff1b_7
libbrotlienc              1.0.9                h2bbff1b_7
libclang                  12.0.0          default_h627e005_2
libcublas                 11.11.3.6                     0    nvidia
libcublas-dev             11.11.3.6                     0    nvidia
libcufft                  10.9.0.58                     0    nvidia
libcufft-dev              10.9.0.58                     0    nvidia
libcurand                 10.3.0.86                     0    nvidia
libcurand-dev             10.3.0.86                     0    nvidia
libcurl                   7.86.0               h86230a5_0
libcusolver               11.4.1.48                     0    nvidia
libcusolver-dev           11.4.1.48                     0    nvidia
libcusparse               11.7.5.86                     0    nvidia
libcusparse-dev           11.7.5.86                     0    nvidia
libdeflate                1.8                  h2bbff1b_5
libffi                    3.4.2                hd77b12b_6
libiconv                  1.16                 h2bbff1b_2
libmamba                  1.0.0                hb80d4ba_0
libmambapy                1.0.0            py39hb80d4ba_0
libnpp                    11.8.0.86                     0    nvidia
libnpp-dev                11.8.0.86                     0    nvidia
libnvjpeg                 11.9.0.86                     0    nvidia
libnvjpeg-dev             11.9.0.86                     0    nvidia
libogg                    1.3.5                h2bbff1b_1
libpng                    1.6.37               h2a8f88b_0
libsodium                 1.0.18               h62dcd97_0
libsolv                   0.7.22               h23ce68f_0
libspatialindex           1.9.3                h6c2663c_0
libssh2                   1.10.0               hcd4344a_0
libtiff                   4.4.0                h8a3f274_2
libuv                     1.40.0               he774522_0
libvorbis                 1.3.7                he774522_0
libwebp                   1.2.4                h2bbff1b_0
libwebp-base              1.2.4                h2bbff1b_0
libxml2                   2.9.14               h0ad7f3c_0
libxslt                   1.1.35               h2bbff1b_0
llvmlite                  0.39.1           py39h23ce68f_0
lxml                      4.9.1            py39h1985fb9_0
lz4-c                     1.9.3                h2bbff1b_1
markupsafe                2.1.1            py39h2bbff1b_0
matplotlib                3.5.2            py39haa95532_0
matplotlib-base           3.5.2            py39hd77b12b_0
matplotlib-inline         0.1.6            py39haa95532_0
matplotx                  0.3.10                   pypi_0    pypi
mccabe                    0.7.0              pyhd3eb1b0_0
menuinst                  1.4.18           py39h59b6b97_0
mistune                   0.8.4           py39h2bbff1b_1000
mkl                       2021.4.0           haa95532_640
mkl-service               2.4.0            py39h2bbff1b_0
mkl_fft                   1.3.1            py39h277e83a_0
mkl_random                1.2.2            py39hf11a4ad_0
munkres                   1.1.4                      py_0
mypy_extensions           0.4.3            py39haa95532_1
nbclassic                 0.4.8            py39haa95532_0
nbclient                  0.5.13           py39haa95532_0
nbconvert                 6.5.4            py39haa95532_0
nbformat                  5.7.0            py39haa95532_0
nest-asyncio              1.5.5            py39haa95532_0
notebook                  6.5.2            py39haa95532_0
notebook-shim             0.2.2            py39haa95532_0
nsight-compute            2022.3.0.22                   0    nvidia
numba                     0.56.4          np1.16py3.9h5685391_g288a38bbd_0    numba
numpy                     1.23.4           py39h3b20f71_0
numpy-base                1.23.4           py39h4da318b_0
numpydoc                  1.5.0            py39haa95532_0
open3d                    0.16.0                   pypi_0    pypi
opencv-python             4.6.0.66                 pypi_0    pypi
openssl                   1.1.1s               h2bbff1b_0
packaging                 21.3               pyhd3eb1b0_0
pandocfilters             1.5.0              pyhd3eb1b0_0
paramiko                  2.8.1              pyhd3eb1b0_0
parso                     0.8.3              pyhd3eb1b0_0
pathspec                  0.9.0            py39haa95532_0
pcre                      8.45                 hd77b12b_0
pcre2                     10.37                h0ff8eda_1
perfplot                  0.10.2                   pypi_0    pypi
pexpect                   4.8.0              pyhd3eb1b0_3
pickleshare               0.7.5           pyhd3eb1b0_1003
pillow                    9.2.0            py39hdc2b20a_1
pip                       22.2.2           py39haa95532_0
platformdirs              2.5.2            py39haa95532_0
plotly                    5.11.0                     py_0    plotly
pluggy                    1.0.0            py39haa95532_1
ply                       3.11             py39haa95532_0
powershell_shortcut       0.0.1                         3
poyo                      0.5.0              pyhd3eb1b0_0
prometheus_client         0.14.1           py39haa95532_0
prompt-toolkit            3.0.20             pyhd3eb1b0_0
prompt_toolkit            3.0.20               hd3eb1b0_0
psutil                    5.9.0            py39h2bbff1b_0
ptyprocess                0.7.0              pyhd3eb1b0_2
pybind11-abi              4                    hd3eb1b0_0
pycodestyle               2.8.0              pyhd3eb1b0_0
pycosat                   0.6.4            py39h2bbff1b_0
pycparser                 2.21               pyhd3eb1b0_0
pydocstyle                6.1.1              pyhd3eb1b0_0
pyflakes                  2.4.0              pyhd3eb1b0_0
pygments                  2.11.2             pyhd3eb1b0_0
pylint                    2.14.5           py39haa95532_0
pyls-spyder               0.4.0              pyhd3eb1b0_0
pynacl                    1.5.0            py39h8cc25b3_0
pyopenssl                 22.0.0             pyhd3eb1b0_0
pyparsing                 3.0.9            py39haa95532_0
pyqt                      5.15.7           py39hd77b12b_0
pyqt5-sip                 12.11.0          py39hd77b12b_0
pyqtwebengine             5.15.7           py39hd77b12b_0
pyrsistent                0.18.0           py39h196d8e1_0
pysocks                   1.7.1            py39haa95532_0
python                    3.9.12               h6244533_0
python-dateutil           2.8.2              pyhd3eb1b0_0
python-fastjsonschema     2.16.2           py39haa95532_0
python-lsp-black          1.2.1            py39haa95532_0
python-lsp-jsonrpc        1.0.0              pyhd3eb1b0_0
python-lsp-server         1.5.0            py39haa95532_0
python-slugify            5.0.2              pyhd3eb1b0_0
pytorch                   1.13.0          py3.9_cuda11.6_cudnn8_0    pytorch
pytorch-cuda              11.6                 h867d48c_0    pytorch
pytorch-mutex             1.0                        cuda    pytorch
pytz                      2022.1           py39haa95532_0
pywin32                   305              py39h2bbff1b_0
pywin32-ctypes            0.2.0           py39haa95532_1000
pywinpty                  2.0.2            py39h5da7b33_0
pyyaml                    6.0              py39h2bbff1b_1
pyzmq                     23.2.0           py39hd77b12b_0
qdarkstyle                3.0.2              pyhd3eb1b0_0
qstylizer                 0.1.10             pyhd3eb1b0_0
qt-main                   5.15.2               he8e5bd7_7
qt-webengine              5.15.9               hb9a9bb5_4
qtawesome                 1.0.3              pyhd3eb1b0_0
qtconsole                 5.3.2            py39haa95532_0
qtpy                      2.2.0            py39haa95532_0
qtwebkit                  5.212                h3ad3cdb_4
reproc                    14.2.4               hd77b12b_1
reproc-cpp                14.2.4               hd77b12b_1
requests                  2.28.1           py39haa95532_0
rich                      12.6.0                   pypi_0    pypi
rope                      0.22.0             pyhd3eb1b0_0
rtree                     0.9.7            py39h2eaa2aa_1
ruamel.yaml               0.17.21          py39h2bbff1b_0
ruamel.yaml.clib          0.2.6            py39h2bbff1b_1
scipy                     1.9.3            py39he11b74f_0
send2trash                1.8.0              pyhd3eb1b0_1
setuptools                65.5.0           py39haa95532_0
sip                       6.6.2            py39hd77b12b_0
six                       1.16.0             pyhd3eb1b0_1
sniffio                   1.2.0            py39haa95532_1
snowballstemmer           2.2.0              pyhd3eb1b0_0
sortedcontainers          2.4.0              pyhd3eb1b0_0
soupsieve                 2.3.2.post1      py39haa95532_0
sphinx                    5.0.2            py39haa95532_0
sphinxcontrib-applehelp   1.0.2              pyhd3eb1b0_0
sphinxcontrib-devhelp     1.0.2              pyhd3eb1b0_0
sphinxcontrib-htmlhelp    2.0.0              pyhd3eb1b0_0
sphinxcontrib-jsmath      1.0.1              pyhd3eb1b0_0
sphinxcontrib-qthelp      1.0.3              pyhd3eb1b0_0
sphinxcontrib-serializinghtml 1.1.5              pyhd3eb1b0_0
spyder                    5.3.3            py39haa95532_0
spyder-kernels            2.3.3            py39haa95532_0
sqlite                    3.40.0               h2bbff1b_0
tabulate                  0.9.0              pyhd8ed1ab_1    conda-forge
tenacity                  8.0.1            py39haa95532_1
terminado                 0.13.1           py39haa95532_0
text-unidecode            1.3                pyhd3eb1b0_0
textdistance              4.2.1              pyhd3eb1b0_0
three-merge               0.1.1              pyhd3eb1b0_0
tinycss                   0.4             pyhd3eb1b0_1002
tinycss2                  1.2.1            py39haa95532_0
tk                        8.6.12               h2bbff1b_0
toml                      0.10.2             pyhd3eb1b0_0
tomli                     2.0.1            py39haa95532_0
tomlkit                   0.11.1           py39haa95532_0
toolz                     0.12.0           py39haa95532_0
torchaudio                0.13.0                   pypi_0    pypi
torchvision               0.14.0                   pypi_0    pypi
tornado                   6.2              py39h2bbff1b_0
tqdm                      4.64.1             pyhd8ed1ab_0    conda-forge
traitlets                 5.1.1              pyhd3eb1b0_0
typing-extensions         4.4.0            py39haa95532_0
typing_extensions         4.4.0            py39haa95532_0
tzdata                    2022g                h04d1e81_0
ujson                     5.4.0            py39hd77b12b_0
unidecode                 1.2.0              pyhd3eb1b0_0
urllib3                   1.26.12          py39haa95532_0
vc                        14.2                 h21ff451_1
vs2015_runtime            14.27.29016          h5e58377_2
watchdog                  2.1.6            py39haa95532_0
wcwidth                   0.2.5              pyhd3eb1b0_0
webencodings              0.5.1            py39haa95532_1
websocket-client          0.58.0           py39haa95532_4
werkzeug                  2.2.2                    pypi_0    pypi
whatthepatch              1.0.2            py39haa95532_0
wheel                     0.37.1             pyhd3eb1b0_0
widgetsnbextension        3.5.2            py39haa95532_0
win_inet_pton             1.1.0            py39haa95532_0
wincertstore              0.2              py39haa95532_2
winpty                    0.4.3                         4
wrapt                     1.14.1           py39h2bbff1b_0
xz                        5.2.8                h8cc25b3_0
yaml                      0.2.5                he774522_0
yaml-cpp                  0.7.0                hd77b12b_1
yapf                      0.31.0             pyhd3eb1b0_0
zeromq                    4.3.4                hd77b12b_0
zipp                      3.8.0            py39haa95532_0
zlib                      1.2.13               h8cc25b3_0
zstd                      1.5.2                h19a0ad4_0
@javierttgg javierttgg added the type::bug describes erroneous operation, use severity::* to classify the type label Dec 21, 2022
@kenodegard
Copy link
Contributor

@javierttgg Hm, yes, this looks related to #12161, can you provide your path before running conda activate foo and after?

@kenodegard kenodegard added type::support neither a bug nor feature, is really just a user having questions or difficulty somewhere source::community catch-all for issues filed by community members pending::feedback indicates we are waiting on feedback from the user and removed type::bug describes erroneous operation, use severity::* to classify the type labels Dec 21, 2022
@javierttgg
Copy link
Author

javierttgg commented Dec 21, 2022

@kenodegard thanks for the prompt response.

Sorry to ask, with path, are you refering to the path shown in the anaconda prompt? In that case, the path remains the same (C:\Users\Usuario>):

(base) C:\Users\Usuario>conda activate foo

(foo) C:\Users\Usuario>

On the other hand the path where the env is created seems usual to me:

(base) C:\Users\Usuario>conda env list
# conda environments:
#
base                  *  C:\Users\Usuario\miniconda3
foo                      C:\Users\Usuario\miniconda3\envs\foo

@conda-bot conda-bot added pending::support indicates user is waiting on support from triage engineers and removed pending::feedback indicates we are waiting on feedback from the user labels Dec 21, 2022
@kenodegard
Copy link
Contributor

@javierttgg my bad, I wasn't clear, I meant your search path.

For Anaconda Prompt (which uses cmd):

echo %PATH%

For Anaconda Powershell Prompt (which as the name suggests uses powershell):

echo $env:Path

@kenodegard kenodegard added pending::feedback indicates we are waiting on feedback from the user and removed pending::support indicates user is waiting on support from triage engineers labels Dec 21, 2022
@javierttgg
Copy link
Author

javierttgg commented Dec 21, 2022

@kenodegard ok thanks :)

before:

(base) C:\Users\Usuario>echo %PATH%
C:\Users\Usuario\miniconda3;C:\Users\Usuario\miniconda3\Library\mingw-w64\bin;C:\Users\Usuario\miniconda3\Library\usr\bin;C:\Users\Usuario\miniconda3\Library\bin;C:\Users\Usuario\miniconda3\Scripts;C:\Users\Usuario\miniconda3\bin;C:\Users\Usuario\miniconda3\condabin;C:\Program Files\Eclipse Adoptium\jdk-11.0.14.9-hotspot\bin;C:\Program Files (x86)\Eclipse Adoptium\jdk-8.0.312.7-hotspot\bin;C:\Program Files\Eclipse Adoptium\jdk-8.0.322.6-hotspot\bin;C:\Program Files\Eclipse Adoptium\jre-8.0.322.6-hotspot\bin;C:\Program Files\Eclipse Adoptium\jre-11.0.14.9-hotspot\bin;C:\Program Files (x86)\Eclipse Adoptium\jre-8.0.312.7-hotspot\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0;C:\WINDOWS\System32\OpenSSH;C:\Program Files\AutoFirma\AutoFirma;C:\Program Files\dotnet;C:\Program Files\NVIDIA Corporation\NVIDIA NvDLISR;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0;C:\WINDOWS\System32\OpenSSH;C:\Users\Usuario\AppData\Local\Microsoft\WindowsApps;C:\Users\Usuario\AppData\Local\GitHubDesktop\bin;C:\Users\Usuario\.dotnet\tools;C:\Users\Usuario\AppData\Local\Programs\MiKTeX\miktex\bin\x64;.;C:\Users\Usuario\AppData\Local\Programs\Microsoft VS Code\bin

after:

(foo) C:\Users\Usuario>echo %PATH%
C:\Users\Usuario\miniconda3\envs\foo;C:\Users\Usuario\miniconda3\envs\foo\Library\mingw-w64\bin;C:\Users\Usuario\miniconda3\envs\foo\Library\usr\bin;C:\Users\Usuario\miniconda3\envs\foo\Library\bin;C:\Users\Usuario\miniconda3\envs\foo\Scripts;C:\Users\Usuario\miniconda3\envs\foo\bin;C:\Users\Usuario\miniconda3\condabin;C:\Program Files\Eclipse Adoptium\jdk-11.0.14.9-hotspot\bin;C:\Program Files (x86)\Eclipse Adoptium\jdk-8.0.312.7-hotspot\bin;C:\Program Files\Eclipse Adoptium\jdk-8.0.322.6-hotspot\bin;C:\Program Files\Eclipse Adoptium\jre-8.0.322.6-hotspot\bin;C:\Program Files\Eclipse Adoptium\jre-11.0.14.9-hotspot\bin;C:\Program Files (x86)\Eclipse Adoptium\jre-8.0.312.7-hotspot\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0;C:\WINDOWS\System32\OpenSSH;C:\Program Files\AutoFirma\AutoFirma;C:\Program Files\dotnet;C:\Program Files\NVIDIA Corporation\NVIDIA NvDLISR;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0;C:\WINDOWS\System32\OpenSSH;C:\Users\Usuario\AppData\Local\Microsoft\WindowsApps;C:\Users\Usuario\AppData\Local\GitHubDesktop\bin;C:\Users\Usuario\.dotnet\tools;C:\Users\Usuario\AppData\Local\Programs\MiKTeX\miktex\bin\x64;.;C:\Users\Usuario\AppData\Local\Programs\Microsoft VS Code\bin

Edit: diff found:

before after
C:\Users\Usuario\miniconda3 C:\Users\Usuario\miniconda3\envs\foo
C:\Users\Usuario\miniconda3\Library\mingw-w64\bin C:\Users\Usuario\miniconda3\envs\foo\Library\mingw-w64\bin
C:\Users\Usuario\miniconda3\Library\usr\bin C:\Users\Usuario\miniconda3\envs\foo\Library\usr\bin
C:\Users\Usuario\miniconda3\Library\bin C:\Users\Usuario\miniconda3\envs\foo\Library\bin
C:\Users\Usuario\miniconda3\Scripts C:\Users\Usuario\miniconda3\envs\foo\Scripts
C:\Users\Usuario\miniconda3\bin C:\Users\Usuario\miniconda3\envs\foo\bin

@conda-bot conda-bot added pending::support indicates user is waiting on support from triage engineers and removed pending::feedback indicates we are waiting on feedback from the user labels Dec 21, 2022
@javierttgg
Copy link
Author

javierttgg commented Dec 22, 2022

@kenodegard I believe the issue has been solved after running:

conda update conda

My conda version is still the same (22.11.1), however by doing this, some packages have been removed.

Here is the output during the update in case it may be useful.

conda update conda
Collecting package metadata (current_repodata.json): done
Solving environment: done

## Package Plan ##

  environment location: C:\Users\Usuario\miniconda3

  added / updated specs:
    - conda


The following packages will be downloaded:

    package                    |            build
    ---------------------------|-----------------
    conda-22.11.1              |   py39haa95532_4         892 KB
    jupyter_console-6.4.4      |   py39haa95532_0          62 KB
    lz4-c-1.9.4                |       h2bbff1b_0         143 KB
    pillow-9.3.0               |   py39hdc2b20a_1         994 KB
    traitlets-5.7.1            |   py39haa95532_0         205 KB
    urllib3-1.26.13            |   py39haa95532_0         193 KB
    ------------------------------------------------------------
                                           Total:         2.4 MB

The following packages will be REMOVED:

  bzip2-1.0.8-he774522_0
  conda-libmamba-solver-22.12.0-py39haa95532_0
  fmt-8.1.1-h6d14046_1
  libarchive-3.6.1-hebabd0d_0
  libcurl-7.86.0-h86230a5_0
  libmamba-1.0.0-hb80d4ba_0
  libmambapy-1.0.0-py39hb80d4ba_0
  libsolv-0.7.22-h23ce68f_0
  libssh2-1.10.0-hcd4344a_0
  pcre2-10.37-h0ff8eda_1
  pybind11-abi-4-hd3eb1b0_0
  reproc-14.2.4-hd77b12b_1
  reproc-cpp-14.2.4-hd77b12b_1
  yaml-cpp-0.7.0-hd77b12b_1

The following packages will be UPDATED:

  certifi                          2022.9.24-py39haa95532_0 --> 2022.12.7-py39haa95532_0
  conda                              22.11.1-py39haa95532_3 --> 22.11.1-py39haa95532_4
  jupyter_console    pkgs/main/noarch::jupyter_console-6.4~ --> pkgs/main/win-64::jupyter_console-6.4.4-py39haa95532_0
  lz4-c                                    1.9.3-h2bbff1b_1 --> 1.9.4-h2bbff1b_0
  pillow                               9.2.0-py39hdc2b20a_1 --> 9.3.0-py39hdc2b20a_1
  pip                                 22.2.2-py39haa95532_0 --> 22.3.1-py39haa95532_0
  traitlets          pkgs/main/noarch::traitlets-5.1.1-pyh~ --> pkgs/main/win-64::traitlets-5.7.1-py39haa95532_0
  urllib3                            1.26.12-py39haa95532_0 --> 1.26.13-py39haa95532_0


Proceed ([y]/n)? y


Downloading and Extracting Packages

Preparing transaction: done
Verifying transaction: done
Executing transaction: done

There have been no changes to the PATH environmental variables.

Thank you for the help :)

@kenodegard
Copy link
Contributor

@javierttgg oh good, I see that the update bumped your conda 22.11.1 version to use a newer build (you had build 3 installed previously and now have build 4)

thanks for letting us know how you resolved the issue

@github-actions github-actions bot added the locked [bot] locked due to inactivity label Dec 22, 2023
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Dec 22, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
locked [bot] locked due to inactivity pending::support indicates user is waiting on support from triage engineers source::community catch-all for issues filed by community members type::support neither a bug nor feature, is really just a user having questions or difficulty somewhere
Projects
Archived in project
Development

No branches or pull requests

3 participants