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

Many Conda/Anaconda commands do not work after failed Conda update #13373

Closed
5 of 8 tasks
bendkok opened this issue Apr 18, 2024 · 3 comments
Closed
5 of 8 tasks

Many Conda/Anaconda commands do not work after failed Conda update #13373

bendkok opened this issue Apr 18, 2024 · 3 comments
Labels

Comments

@bendkok
Copy link

bendkok commented Apr 18, 2024

Checklist

  • I added a descriptive title.
  • I searched through existing issues and couldn't find a solution or duplicate issue.
  • I searched on the web (e.g. Google) and didn't find any helpful information.
  • I searched the Anaconda documentation and didn't find any helpful information.

Impacted product

  • A conda package (built by Anaconda)
  • Anaconda Distribution (formerly Anaconda Individual Edition)
  • Miniconda
  • Anaconda.org

What happened?

I tried updating Anaconda using conda update conda. The update failed. I don't remember exactly why it failed, and I restarted my computer afterwards (to see if it would resolve the issue), so I do not have the error-message. Spyder was open in the background, in case that is relevant.

Now my Conda installation is broken. Many of the commands do not work, including conda update and conda install. You can see the error messages in the Additional information field. Spyder won't launch, and the Outline, tooltips and such in VSCode don't work (not sure if that is related). Regular Python works through the console though.

At the top of most commands is Error loading anaconda_anon_usage: No module named 'anaconda_anon_usage'. I tried running conda update anaconda_anon_usage and conda install anaconda_anon_usage, but they just produce the same error. Same with urllib3._base_connection, which is mentioned in the error-message.

Any help would be appreciated.

Expected behavior or outcome

For Conda and the packages to install/update normally. For Spyder to launch.

Conda info

(base) C:\Users\bendikst>conda info
Error loading anaconda_anon_usage: No module named 'anaconda_anon_usage'
C:\ProgramData\Anaconda3\lib\site-packages\_distutils_hack\__init__.py:33: UserWarning: Setuptools is replacing distutils.
  warnings.warn("Setuptools is replacing distutils.")

     active environment : base
    active env location : C:\ProgramData\Anaconda3
            shell level : 1
       user config file : C:\Users\bendikst\.condarc
 populated config files : C:\Users\bendikst\.condarc
          conda version : 22.9.0
    conda-build version : 3.23.3
         python version : 3.9.16.final.0
       virtual packages : __cuda=11.7=0
                          __win=0=0
                          __archspec=1=x86_64
       base environment : C:\ProgramData\Anaconda3  (read only)
      conda av data dir : C:\ProgramData\Anaconda3\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:\ProgramData\Anaconda3\pkgs
                          C:\Users\bendikst\.conda\pkgs
                          C:\Users\bendikst\AppData\Local\conda\conda\pkgs
       envs directories : C:\Users\bendikst\.conda\envs
                          C:\ProgramData\Anaconda3\envs
                          C:\Users\bendikst\AppData\Local\conda\conda\envs
               platform : win-64
             user-agent : conda/22.9.0 requests/2.28.2 CPython/3.9.16 Windows/10 Windows/10.0.19045
          administrator : False
             netrc file : None
           offline mode : False

Conda config

(base) C:\Users\bendikst>conda config --show-sources
Error loading anaconda_anon_usage: No module named 'anaconda_anon_usage'
==> C:\Users\bendikst\.condarc <==
report_errors: True

Conda list

(base) C:\Users\bendikst>conda list --show-channel-urls
Error loading anaconda_anon_usage: No module named 'anaconda_anon_usage'
# packages in environment at C:\ProgramData\Anaconda3:
#
# Name                    Version                   Build  Channel
_anaconda_depends         2023.03                  py39_0    defaults
_ipyw_jlab_nb_ext_conf    0.1.0            py39haa95532_0    defaults
absl-py                   2.0.0                    pypi_0    pypi
alabaster                 0.7.12             pyhd3eb1b0_0    defaults
anaconda                  custom                   py39_1    defaults
anaconda-client           1.11.2           py39haa95532_0    defaults
anaconda-navigator        2.3.1            py39haa95532_0    defaults
ansicon                   1.89.0                   pypi_0    pypi
anyio                     3.5.0            py39haa95532_0    defaults
appdirs                   1.4.4              pyhd3eb1b0_0    defaults
argon2-cffi               21.3.0             pyhd3eb1b0_0    defaults
argon2-cffi-bindings      21.2.0           py39h2bbff1b_0    defaults
arrow                     1.2.3            py39haa95532_1    defaults
astroid                   2.14.2           py39haa95532_0    defaults
astropy                   5.1              py39h080aedc_0    defaults
asttokens                 2.0.5              pyhd3eb1b0_0    defaults
astunparse                1.6.3                    pypi_0    pypi
atomicwrites              1.4.0                      py_0    defaults
attrs                     22.1.0           py39haa95532_0    defaults
automat                   20.2.0                     py_0    defaults
autopep8                  1.6.0              pyhd3eb1b0_1    defaults
babel                     2.11.0           py39haa95532_0    defaults
backcall                  0.2.0              pyhd3eb1b0_0    defaults
backports                 1.1                pyhd3eb1b0_0    defaults
backports.functools_lru_cache 1.6.4              pyhd3eb1b0_0    defaults
backports.tempfile        1.0                pyhd3eb1b0_1    defaults
backports.weakref         1.0.post1                  py_1    defaults
bcrypt                    3.2.0            py39h2bbff1b_1    defaults
beautifulsoup4            4.12.2           py39haa95532_0    defaults
binaryornot               0.4.4              pyhd3eb1b0_1    defaults
black                     23.3.0           py39haa95532_0    defaults
blas                      1.0                         mkl    defaults
bleach                    4.1.0              pyhd3eb1b0_0    defaults
blessed                   1.20.0                   pypi_0    pypi
blosc                     1.21.3               h6c2663c_0    defaults
bokeh                     2.4.3            py39haa95532_0    defaults
bottleneck                1.3.5            py39h080aedc_0    defaults
brotli                    1.0.9                h2bbff1b_7    defaults
brotli-bin                1.0.9                h2bbff1b_7    defaults
brotlipy                  0.7.0           py39h2bbff1b_1003    defaults
bzip2                     1.0.8                he774522_0    defaults
ca-certificates           2022.12.7            h5b45459_0    conda-forge
cachetools                5.3.2                    pypi_0    pypi
certifi                   2022.12.7          pyhd8ed1ab_0    conda-forge
cffi                      1.15.1           py39h2bbff1b_3    defaults
cfitsio                   3.470                h2bbff1b_7    defaults
chardet                   4.0.0           py39haa95532_1003    defaults
charls                    2.2.0                h6c2663c_0    defaults
charset-normalizer        2.0.4              pyhd3eb1b0_0    defaults
click                     8.0.4            py39haa95532_0    defaults
cloudpickle               2.0.0              pyhd3eb1b0_0    defaults
clyent                    1.2.2            py39haa95532_1    defaults
colorama                  0.4.6            py39haa95532_0    defaults
colorcet                  3.0.1            py39haa95532_0    defaults
comm                      0.1.2            py39haa95532_0    defaults
conda                     22.9.0           py39haa95532_0    defaults
conda-build               3.23.3           py39haa95532_0    defaults
conda-content-trust       0.1.3            py39haa95532_0    defaults
conda-env                 2.6.0                haa95532_1    defaults
conda-package-handling    2.0.2            py39haa95532_0    defaults
conda-package-streaming   0.7.0            py39haa95532_0    defaults
conda-repo-cli            1.0.41           py39haa95532_0    defaults
conda-token               0.4.0              pyhd3eb1b0_0    defaults
conda-verify              3.4.2                      py_1    defaults
console_shortcut          0.1.1                         4    defaults
constantly                15.1.0             pyh2b92418_0    defaults
contourpy                 1.0.5            py39h59b6b97_0    defaults
cookiecutter              1.7.3              pyhd3eb1b0_0    defaults
cryptography              39.0.1           py39h21b164f_0    defaults
cssselect                 1.1.0              pyhd3eb1b0_0    defaults
curl                      7.88.1               h2bbff1b_0    defaults
cycler                    0.11.0             pyhd3eb1b0_0    defaults
cytoolz                   0.12.0           py39h2bbff1b_0    defaults
daal4py                   2023.0.2         py39h757b272_0    defaults
dal                       2023.0.1         h59b6b97_26646    defaults
dask                      2023.3.2         py39haa95532_0    defaults
dask-core                 2023.3.2         py39haa95532_0    defaults
datashader                0.14.4           py39haa95532_0    defaults
datashape                 0.5.4            py39haa95532_1    defaults
debugpy                   1.5.1            py39hd77b12b_0    defaults
decorator                 5.1.1              pyhd3eb1b0_0    defaults
defusedxml                0.7.1              pyhd3eb1b0_0    defaults
diff-match-patch          20200713           pyhd3eb1b0_0    defaults
dill                      0.3.6            py39haa95532_0    defaults
distributed               2023.3.2         py39haa95532_0    defaults
docopt                    0.6.2                    pypi_0    pypi
docstring-to-markdown     0.11             py39haa95532_0    defaults
docutils                  0.18.1           py39haa95532_3    defaults
entrypoints               0.4              py39haa95532_0    defaults
essential-generators      1.0                      pypi_0    pypi
et_xmlfile                1.1.0            py39haa95532_0    defaults
executing                 0.8.3              pyhd3eb1b0_0    defaults
filelock                  3.9.0            py39haa95532_0    defaults
flake8                    6.0.0            py39haa95532_0    defaults
flask                     2.2.2            py39haa95532_0    defaults
flatbuffers               23.5.26                  pypi_0    pypi
flit-core                 3.8.0            py39haa95532_0    defaults
fonttools                 4.25.0             pyhd3eb1b0_0    defaults
freetype                  2.12.1               ha860e81_0    defaults
fsspec                    2023.3.0         py39haa95532_0    defaults
future                    0.18.3           py39haa95532_0    defaults
gast                      0.5.4                    pypi_0    pypi
gensim                    4.3.0            py39hd77b12b_0    defaults
giflib                    5.2.1                h8cc25b3_3    defaults
glib                      2.69.1               h5dc1a3c_2    defaults
glob2                     0.7                pyhd3eb1b0_0    defaults
google-auth               2.25.2                   pypi_0    pypi
google-auth-oauthlib      1.2.0                    pypi_0    pypi
google-pasta              0.2.0                    pypi_0    pypi
greenlet                  2.0.1            py39hd77b12b_0    defaults
grpcio                    1.60.0                   pypi_0    pypi
gst-plugins-base          1.18.5               h9e645db_0    defaults
gstreamer                 1.18.5               hd78058f_0    defaults
h5py                      3.7.0            py39h3de5c98_0    defaults
hdf5                      1.10.6               h1756f20_1    defaults
heapdict                  1.0.1              pyhd3eb1b0_0    defaults
holoviews                 1.15.4           py39haa95532_0    defaults
huggingface_hub           0.10.1           py39haa95532_0    defaults
hvplot                    0.8.2            py39haa95532_0    defaults
hyperlink                 21.0.0             pyhd3eb1b0_0    defaults
ibm-cloud-sdk-core        3.19.1                   pypi_0    pypi
ibm-platform-services     0.49.2                   pypi_0    pypi
icc_rt                    2022.1.0             h6049295_2    defaults
icu                       58.2                 ha925a31_3    defaults
idna                      3.4              py39haa95532_0    defaults
imagecodecs               2021.8.26        py39h319e4f4_2    defaults
imageio                   2.26.0           py39haa95532_0    defaults
imagesize                 1.4.1            py39haa95532_0    defaults
imbalanced-learn          0.10.1           py39haa95532_0    defaults
importlib-metadata        6.0.0            py39haa95532_0    defaults
importlib_metadata        6.0.0                hd3eb1b0_0    defaults
importlib_resources       5.2.0              pyhd3eb1b0_1    defaults
incremental               21.3.0             pyhd3eb1b0_0    defaults
inflection                0.5.1            py39haa95532_0    defaults
iniconfig                 1.1.1              pyhd3eb1b0_0    defaults
inquirer                  3.1.4                    pypi_0    pypi
intake                    0.6.8            py39haa95532_0    defaults
intel-openmp              2021.4.0          haa95532_3556    defaults
intervaltree              3.1.0              pyhd3eb1b0_0    defaults
ipykernel                 6.19.2           py39hd4e2768_0    defaults
ipython                   7.34.0                   pypi_0    pypi
ipython_genutils          0.2.0              pyhd3eb1b0_1    defaults
ipywidgets                8.0.4            py39haa95532_0    defaults
isort                     5.9.3              pyhd3eb1b0_0    defaults
itemadapter               0.3.0              pyhd3eb1b0_0    defaults
itemloaders               1.0.4              pyhd3eb1b0_1    defaults
itsdangerous              2.0.1              pyhd3eb1b0_0    defaults
jaraco.classes            3.2.1              pyhd3eb1b0_0    defaults
jedi                      0.18.1           py39haa95532_1    defaults
jellyfish                 0.9.0            py39h2bbff1b_0    defaults
jinja2                    3.1.2            py39haa95532_0    defaults
jinja2-time               0.2.0              pyhd3eb1b0_3    defaults
jinxed                    1.2.1                    pypi_0    pypi
jmespath                  0.10.0             pyhd3eb1b0_0    defaults
joblib                    1.1.1            py39haa95532_0    defaults
jpeg                      9e                   h2bbff1b_1    defaults
jq                        1.6                  haa95532_1    defaults
json5                     0.9.6              pyhd3eb1b0_0    defaults
jsonschema                4.17.3           py39haa95532_0    defaults
jupyter                   1.0.0            py39haa95532_8    defaults
jupyter_client            8.1.0            py39haa95532_0    defaults
jupyter_console           6.6.3            py39haa95532_0    defaults
jupyter_core              5.3.0            py39haa95532_0    defaults
jupyter_server            1.23.4           py39haa95532_0    defaults
jupyterlab                3.5.3            py39haa95532_0    defaults
jupyterlab_pygments       0.1.2                      py_0    defaults
jupyterlab_server         2.22.0           py39haa95532_0    defaults
jupyterlab_widgets        3.0.5            py39haa95532_0    defaults
jxrlib                    1.1                  he774522_2    defaults
keras                     2.15.0                   pypi_0    pypi
keyboard                  0.13.5                   pypi_0    pypi
keyring                   23.13.1          py39haa95532_0    defaults
kiwisolver                1.4.5                    pypi_0    pypi
krb5                      1.19.4               h5b6d351_0    defaults
lazy-object-proxy         1.6.0            py39h2bbff1b_0    defaults
lcms2                     2.12                 h83e58a3_0    defaults
lerc                      3.0                  hd77b12b_0    defaults
libaec                    1.0.4                h33f27b4_1    defaults
libarchive                3.6.2                h2033e3e_1    defaults
libbrotlicommon           1.0.9                h2bbff1b_7    defaults
libbrotlidec              1.0.9                h2bbff1b_7    defaults
libbrotlienc              1.0.9                h2bbff1b_7    defaults
libclang                  16.0.6                   pypi_0    pypi
libclang13                14.0.6          default_h8e68704_1    defaults
libcurl                   7.88.1               h86230a5_0    defaults
libdeflate                1.17                 h2bbff1b_0    defaults
libffi                    3.4.2                hd77b12b_6    defaults
libiconv                  1.16                 h2bbff1b_2    defaults
liblief                   0.12.3               hd77b12b_0    defaults
libogg                    1.3.5                h2bbff1b_1    defaults
libpng                    1.6.39               h8cc25b3_0    defaults
libsodium                 1.0.18               h62dcd97_0    defaults
libspatialindex           1.9.3                h6c2663c_0    defaults
libssh2                   1.10.0               hcd4344a_0    defaults
libtiff                   4.5.0                h6c2663c_2    defaults
libuv                     1.44.2               h2bbff1b_0    defaults
libvorbis                 1.3.7                he774522_0    defaults
libwebp                   1.2.4                hbc33d0d_1    defaults
libwebp-base              1.2.4                h2bbff1b_1    defaults
libxml2                   2.10.3               h0ad7f3c_0    defaults
libxslt                   1.1.37               h2bbff1b_0    defaults
libzopfli                 1.0.3                ha925a31_0    defaults
llvmlite                  0.39.1           py39h23ce68f_0    defaults
locket                    1.0.0            py39haa95532_0    defaults
lxml                      4.9.2            py39h2bbff1b_0    defaults
lz4                       3.1.3            py39h2bbff1b_0    defaults
lz4-c                     1.9.4                h2bbff1b_0    defaults
lzo                       2.10                 he774522_2    defaults
m2-msys2-runtime          2.5.0.17080.65c939c               3    defaults
m2-patch                  2.7.5                         2    defaults
m2w64-libwinpthread-git   5.0.0.4634.697f757               2    defaults
markdown                  3.4.1            py39haa95532_0    defaults
markdown-it-py            3.0.0                    pypi_0    pypi
markupsafe                2.1.1            py39h2bbff1b_0    defaults
matlab                    0.1                      pypi_0    pypi
matplotlib                3.7.1            py39haa95532_1    defaults
matplotlib-base           3.7.1            py39hf11a4ad_1    defaults
matplotlib-inline         0.1.6            py39haa95532_0    defaults
mccabe                    0.7.0              pyhd3eb1b0_0    defaults
mdurl                     0.1.2                    pypi_0    pypi
menuinst                  1.4.19           py39h59b6b97_0    defaults
mistune                   0.8.4           py39h2bbff1b_1000    defaults
mkl                       2021.4.0           haa95532_640    defaults
mkl-service               2.4.0            py39h2bbff1b_0    defaults
mkl_fft                   1.3.1            py39h277e83a_0    defaults
mkl_random                1.2.2            py39hf11a4ad_0    defaults
ml-dtypes                 0.2.0                    pypi_0    pypi
mock                      4.0.3              pyhd3eb1b0_0    defaults
more-itertools            8.12.0             pyhd3eb1b0_0    defaults
mpmath                    1.2.1            py39haa95532_0    defaults
msgpack-python            1.0.3            py39h59b6b97_0    defaults
msys2-conda-epoch         20160418                      1    defaults
multipledispatch          0.6.0            py39haa95532_0    defaults
munkres                   1.1.4                      py_0    defaults
mypy_extensions           0.4.3            py39haa95532_1    defaults
navigator-updater         0.3.0            py39haa95532_0    defaults
nbclassic                 0.5.4            py39haa95532_0    defaults
nbclient                  0.5.13           py39haa95532_0    defaults
nbconvert                 6.5.4            py39haa95532_0    defaults
nbformat                  5.7.0            py39haa95532_0    defaults
nest-asyncio              1.5.6            py39haa95532_0    defaults
networkx                  2.8.4            py39haa95532_1    defaults
ninja                     1.10.2               haa95532_5    defaults
ninja-base                1.10.2               h6d14046_5    defaults
nltk                      3.7                pyhd3eb1b0_0    defaults
notebook                  6.5.3            py39haa95532_0    defaults
notebook-shim             0.2.2            py39haa95532_0    defaults
ntlm-auth                 1.5.0                    pypi_0    pypi
num2words                 0.5.13                   pypi_0    pypi
numba                     0.56.4           py39hf11a4ad_0    defaults
numexpr                   2.8.4            py39h5b0cc5e_0    defaults
numpy                     1.23.5           py39h3b20f71_0    defaults
numpy-base                1.23.5           py39h4da318b_0    defaults
numpydoc                  1.5.0            py39haa95532_0    defaults
oauthlib                  3.2.2                    pypi_0    pypi
openjpeg                  2.4.0                h4fc8c34_0    defaults
openpyxl                  3.0.10           py39h2bbff1b_0    defaults
openssl                   1.1.1t               h2bbff1b_0    defaults
opt-einsum                3.3.0                    pypi_0    pypi
packaging                 23.0             py39haa95532_0    defaults
pandas                    1.5.3            py39hf11a4ad_0    defaults
pandocfilters             1.5.0              pyhd3eb1b0_0    defaults
panel                     0.14.3           py39haa95532_0    defaults
param                     1.12.3           py39haa95532_0    defaults
paramiko                  2.8.1              pyhd3eb1b0_0    defaults
parsel                    1.6.0            py39haa95532_0    defaults
parso                     0.8.3              pyhd3eb1b0_0    defaults
partd                     1.2.0              pyhd3eb1b0_1    defaults
pathlib                   1.0.1              pyhd3eb1b0_1    defaults
pathspec                  0.10.3           py39haa95532_0    defaults
patsy                     0.5.3            py39haa95532_0    defaults
pcre                      8.45                 hd77b12b_0    defaults
pep8                      1.7.1            py39haa95532_1    defaults
pexpect                   4.8.0              pyhd3eb1b0_3    defaults
pickleshare               0.7.5           pyhd3eb1b0_1003    defaults
pillow                    9.4.0            py39hd77b12b_0    defaults
pip                       23.0.1           py39haa95532_0    defaults
pkginfo                   1.9.6            py39haa95532_0    defaults
platformdirs              2.5.2            py39haa95532_0    defaults
playsound                 1.3.0                    pypi_0    pypi
plotly                    5.9.0            py39haa95532_0    defaults
pluggy                    1.0.0            py39haa95532_1    defaults
ply                       3.11             py39haa95532_0    defaults
pooch                     1.4.0              pyhd3eb1b0_0    defaults
powershell_shortcut       0.0.1                         3    defaults
poyo                      0.5.0              pyhd3eb1b0_0    defaults
prettytable               3.9.0                    pypi_0    pypi
prometheus_client         0.14.1           py39haa95532_0    defaults
prompt-toolkit            3.0.36           py39haa95532_0    defaults
prompt_toolkit            3.0.36               hd3eb1b0_0    defaults
protego                   0.1.16                     py_0    defaults
protobuf                  4.23.4                   pypi_0    pypi
psutil                    5.9.0            py39h2bbff1b_0    defaults
ptyprocess                0.7.0              pyhd3eb1b0_2    defaults
pure_eval                 0.2.2              pyhd3eb1b0_0    defaults
py                        1.11.0             pyhd3eb1b0_0    defaults
py-lief                   0.12.3           py39hd77b12b_0    defaults
pyasn1                    0.4.8              pyhd3eb1b0_0    defaults
pyasn1-modules            0.2.8                      py_0    defaults
pycodestyle               2.10.0           py39haa95532_0    defaults
pycosat                   0.6.4            py39h2bbff1b_0    defaults
pycparser                 2.21               pyhd3eb1b0_0    defaults
pyct                      0.5.0            py39haa95532_0    defaults
pycurl                    7.45.2           py39hcd4344a_0    defaults
pydispatcher              2.0.5            py39haa95532_2    defaults
pydocstyle                6.3.0            py39haa95532_0    defaults
pyerfa                    2.0.0            py39h2bbff1b_0    defaults
pyfiglet                  1.0.2                    pypi_0    pypi
pyflakes                  3.0.1            py39haa95532_0    defaults
pygame                    2.5.2                    pypi_0    pypi
pygments                  2.17.2                   pypi_0    pypi
pyhamcrest                2.0.2              pyhd3eb1b0_2    defaults
pyjwt                     2.8.0                    pypi_0    pypi
pylatexenc                2.10                     pypi_0    pypi
pylint                    2.16.2           py39haa95532_0    defaults
pylint-venv               2.3.0            py39haa95532_0    defaults
pyls-spyder               0.4.0              pyhd3eb1b0_0    defaults
pymemcache                4.0.0                    pypi_0    pypi
pynacl                    1.5.0            py39h8cc25b3_0    defaults
pyodbc                    4.0.34           py39hd77b12b_0    defaults
pyopenssl                 23.0.0           py39haa95532_0    defaults
pyparsing                 3.0.9            py39haa95532_0    defaults
pyqt                      5.15.7           py39hd77b12b_0    defaults
pyqt5-sip                 12.11.0          py39hd77b12b_0    defaults
pyqtwebengine             5.15.7           py39hd77b12b_0    defaults
pyrsistent                0.18.0           py39h196d8e1_0    defaults
pysocks                   1.7.1            py39haa95532_0    defaults
pytables                  3.7.0            py39h388bc9b_1    defaults
pytest                    7.1.2            py39haa95532_0    defaults
python                    3.9.16               h6244533_1    defaults
python-dateutil           2.8.2              pyhd3eb1b0_0    defaults
python-editor             1.0.4                    pypi_0    pypi
python-fastjsonschema     2.16.2           py39haa95532_0    defaults
python-libarchive-c       2.9                pyhd3eb1b0_1    defaults
python-lsp-black          1.2.1            py39haa95532_0    defaults
python-lsp-jsonrpc        1.0.0              pyhd3eb1b0_0    defaults
python-lsp-server         1.7.2              pyhd8ed1ab_0    conda-forge
python-lsp-server-base    1.7.2              pyhd8ed1ab_0    conda-forge
python-slugify            5.0.2              pyhd3eb1b0_0    defaults
python-snappy             0.6.1            py39hd77b12b_0    defaults
pytoolconfig              1.2.5            py39haa95532_1    defaults
pytorch                   1.12.1          cpu_py39h5e1f01c_1    defaults
pytz                      2022.7           py39haa95532_0    defaults
pyviz_comms               2.0.2              pyhd3eb1b0_0    defaults
pywavelets                1.4.1            py39h2bbff1b_0    defaults
pywin32                   305              py39h2bbff1b_0    defaults
pywin32-ctypes            0.2.0           py39haa95532_1000    defaults
pywinpty                  2.0.10           py39h5da7b33_0    defaults
pyyaml                    6.0              py39h2bbff1b_1    defaults
pyzmq                     23.2.0           py39hd77b12b_0    defaults
qdarkstyle                3.0.2              pyhd3eb1b0_0    defaults
qiskit-aer                0.13.3                   pypi_0    pypi
qiskit-ibm-runtime        0.19.1                   pypi_0    pypi
qiskit-ibmq-provider      0.20.2                   pypi_0    pypi
qstylizer                 0.2.2            py39haa95532_0    defaults
qt-main                   5.15.2               he8e5bd7_8    defaults
qt-webengine              5.15.9               hb9a9bb5_5    defaults
qtawesome                 1.2.2            py39haa95532_0    defaults
qtconsole                 5.4.2            py39haa95532_0    defaults
qtpy                      2.2.0            py39haa95532_0    defaults
qtwebkit                  5.212                h2bbfb41_5    defaults
queuelib                  1.5.0            py39haa95532_0    defaults
readchar                  4.0.5                    pypi_0    pypi
regex                     2022.7.9         py39h2bbff1b_0    defaults
requests-file             1.5.1              pyhd3eb1b0_0    defaults
requests-mock             1.11.0                   pypi_0    pypi
requests-ntlm             1.1.0                    pypi_0    pypi
requests-oauthlib         1.3.1                    pypi_0    pypi
requests-toolbelt         0.9.1              pyhd3eb1b0_0    defaults
rich                      13.7.0                   pypi_0    pypi
rope                      1.7.0            py39haa95532_0    defaults
rsa                       4.9                      pypi_0    pypi
rtree                     1.0.1            py39h2eaa2aa_0    defaults
ruamel_yaml               0.15.100         py39h2bbff1b_0    defaults
safetensors               0.4.1                    pypi_0    pypi
scikit-image              0.19.3           py39hd77b12b_1    defaults
scikit-learn              1.2.2            py39hd77b12b_0    defaults
scikit-learn-intelex      2023.0.2         py39haa95532_0    defaults
scipy                     1.10.1           py39h321e85e_0    defaults
scrapy                    2.8.0            py39haa95532_0    defaults
seaborn                   0.12.2           py39haa95532_0    defaults
send2trash                1.8.0              pyhd3eb1b0_1    defaults
service_identity          18.1.0             pyhd3eb1b0_1    defaults
setuptools                65.6.3           py39haa95532_0    defaults
sip                       6.6.2            py39hd77b12b_0    defaults
six                       1.16.0             pyhd3eb1b0_1    defaults
smart_open                5.2.1            py39haa95532_0    defaults
snappy                    1.1.9                h6c2663c_0    defaults
sniffio                   1.2.0            py39haa95532_1    defaults
snowballstemmer           2.2.0              pyhd3eb1b0_0    defaults
sortedcontainers          2.4.0              pyhd3eb1b0_0    defaults
soupsieve                 2.4              py39haa95532_0    defaults
sphinx                    5.0.2            py39haa95532_0    defaults
sphinxcontrib-applehelp   1.0.2              pyhd3eb1b0_0    defaults
sphinxcontrib-devhelp     1.0.2              pyhd3eb1b0_0    defaults
sphinxcontrib-htmlhelp    2.0.0              pyhd3eb1b0_0    defaults
sphinxcontrib-jsmath      1.0.1              pyhd3eb1b0_0    defaults
sphinxcontrib-qthelp      1.0.3              pyhd3eb1b0_0    defaults
sphinxcontrib-serializinghtml 1.1.5              pyhd3eb1b0_0    defaults
spyder                    5.4.3            py39haa95532_0    defaults
spyder-kernels            2.4.3            py39haa95532_0    defaults
sqlalchemy                1.4.39           py39h2bbff1b_0    defaults
sqlite                    3.41.2               h2bbff1b_0    defaults
stack_data                0.2.0              pyhd3eb1b0_0    defaults
statsmodels               0.13.5           py39h080aedc_1    defaults
sympy                     1.11.1           py39haa95532_0    defaults
tabulate                  0.8.10           py39haa95532_0    defaults
tbb                       2021.8.0             h59b6b97_0    defaults
tbb4py                    2021.8.0         py39h59b6b97_0    defaults
tblib                     1.7.0              pyhd3eb1b0_0    defaults
tenacity                  8.0.1            py39haa95532_1    defaults
tensorboard               2.15.1                   pypi_0    pypi
tensorboard-data-server   0.7.2                    pypi_0    pypi
tensorflow                2.15.0                   pypi_0    pypi
tensorflow-estimator      2.15.0                   pypi_0    pypi
tensorflow-intel          2.15.0                   pypi_0    pypi
tensorflow-io-gcs-filesystem 0.31.0                   pypi_0    pypi
termcolor                 2.4.0                    pypi_0    pypi
terminado                 0.17.1           py39haa95532_0    defaults
text-unidecode            1.3                pyhd3eb1b0_0    defaults
textdistance              4.2.1              pyhd3eb1b0_0    defaults
threadpoolctl             2.2.0              pyh0d69192_0    defaults
three-merge               0.1.1              pyhd3eb1b0_0    defaults
tifffile                  2021.7.2           pyhd3eb1b0_2    defaults
tinycss2                  1.2.1            py39haa95532_0    defaults
tk                        8.6.12               h2bbff1b_0    defaults
tldextract                3.2.0              pyhd3eb1b0_0    defaults
tokenizers                0.11.4           py39he5181cf_1    defaults
toml                      0.10.2             pyhd3eb1b0_0    defaults
tomli                     2.0.1            py39haa95532_0    defaults
tomlkit                   0.11.1           py39haa95532_0    defaults
toolz                     0.12.0           py39haa95532_0    defaults
tornado                   6.2              py39h2bbff1b_0    defaults
tqdm                      4.65.0           py39hd4e2768_0    defaults
traitlets                 5.7.1            py39haa95532_0    defaults
transformers              4.24.0           py39haa95532_0    defaults
twisted                   22.2.0           py39h2bbff1b_1    defaults
twisted-iocpsupport       1.0.2            py39h2bbff1b_0    defaults
typing-extensions         4.4.0            py39haa95532_0    defaults
typing_extensions         4.4.0            py39haa95532_0    defaults
tzdata                    2023c                h04d1e81_0    defaults
ujson                     5.4.0            py39hd77b12b_0    defaults
unidecode                 1.2.0              pyhd3eb1b0_0    defaults
urllib3                   2.2.0                    pypi_0    pypi
vc                        14.2                 h21ff451_1    defaults
vs2015_runtime            14.27.29016          h5e58377_2    defaults
w3lib                     1.21.0             pyhd3eb1b0_0    defaults
watchdog                  2.1.6            py39haa95532_0    defaults
wcwidth                   0.2.5              pyhd3eb1b0_0    defaults
webencodings              0.5.1            py39haa95532_1    defaults
websocket-client          1.7.0                    pypi_0    pypi
websockets                12.0                     pypi_0    pypi
werkzeug                  2.2.3            py39haa95532_0    defaults
whatthepatch              1.0.2            py39haa95532_0    defaults
wheel                     0.38.4           py39haa95532_0    defaults
widgetsnbextension        4.0.5            py39haa95532_0    defaults
wikipedia                 1.4.0                    pypi_0    pypi
wikipedia-api             0.6.0                    pypi_0    pypi
win_inet_pton             1.1.0            py39haa95532_0    defaults
wincertstore              0.2              py39haa95532_2    defaults
winpty                    0.4.3                         4    defaults
wrapt                     1.14.1           py39h2bbff1b_0    defaults
xarray                    2022.11.0        py39haa95532_0    defaults
xlwings                   0.29.1           py39haa95532_0    defaults
xz                        5.2.10               h8cc25b3_1    defaults
yaml                      0.2.5                he774522_0    defaults
yapf                      0.31.0             pyhd3eb1b0_0    defaults
zeromq                    4.3.4                hd77b12b_0    defaults
zfp                       0.5.5                hd77b12b_6    defaults
zict                      2.1.0            py39haa95532_0    defaults
zipp                      3.11.0           py39haa95532_0    defaults
zlib                      1.2.13               h8cc25b3_0    defaults
zope                      1.0              py39haa95532_1    defaults
zope.interface            5.4.0            py39h2bbff1b_0    defaults
zstandard                 0.19.0           py39h2bbff1b_0    defaults
zstd                      1.5.5                hd43e919_0    defaults

Additional information

(base) C:\Users\bendikst>conda install anaconda_anon_usage
Error loading anaconda_anon_usage: No module named 'anaconda_anon_usage'
C:\ProgramData\Anaconda3\lib\site-packages\_distutils_hack\__init__.py:33: UserWarning: Setuptools is replacing distutils.
  warnings.warn("Setuptools is replacing distutils.")

# >>>>>>>>>>>>>>>>>>>>>> ERROR REPORT <<<<<<<<<<<<<<<<<<<<<<

    Traceback (most recent call last):
      File "C:\ProgramData\Anaconda3\lib\site-packages\conda\exceptions.py", line 1129, in __call__
        return func(*args, **kwargs)
      File "C:\ProgramData\Anaconda3\lib\site-packages\conda\cli\main.py", line 86, in main_subshell
        exit_code = do_call(args, p)
      File "C:\ProgramData\Anaconda3\lib\site-packages\conda\cli\conda_argparse.py", line 91, in do_call
        module = import_module(relative_mod, __name__.rsplit('.', 1)[0])
      File "C:\ProgramData\Anaconda3\lib\importlib\__init__.py", line 127, in import_module
        return _bootstrap._gcd_import(name[level:], package, level)
      File "<frozen importlib._bootstrap>", line 1030, in _gcd_import
      File "<frozen importlib._bootstrap>", line 1007, in _find_and_load
      File "<frozen importlib._bootstrap>", line 986, in _find_and_load_unlocked
      File "<frozen importlib._bootstrap>", line 680, in _load_unlocked
      File "<frozen importlib._bootstrap_external>", line 850, in exec_module
      File "<frozen importlib._bootstrap>", line 228, in _call_with_frames_removed
      File "C:\ProgramData\Anaconda3\lib\site-packages\conda\cli\main_install.py", line 10, in <module>
        from ..notices import notices
      File "C:\ProgramData\Anaconda3\lib\site-packages\conda\notices\__init__.py", line 4, in <module>
        from .core import notices  # noqa: F401
      File "C:\ProgramData\Anaconda3\lib\site-packages\conda\notices\core.py", line 15, in <module>
        from . import http
      File "C:\ProgramData\Anaconda3\lib\site-packages\conda\notices\http.py", line 9, in <module>
        import requests
      File "C:\ProgramData\Anaconda3\lib\site-packages\requests\__init__.py", line 43, in <module>
        import urllib3
      File "C:\ProgramData\Anaconda3\lib\site-packages\urllib3\__init__.py", line 15, in <module>
        from ._base_connection import _TYPE_BODY
    ModuleNotFoundError: No module named 'urllib3._base_connection'

`$ C:\ProgramData\Anaconda3\Scripts\conda-script.py install anaconda_anon_usage`

  environment variables:
                 CIO_TEST=<not set>
        CONDA_DEFAULT_ENV=base
                CONDA_EXE=C:\ProgramData\Anaconda3\condabin\..\Scripts\conda.exe
               CONDA_EXES="C:\ProgramData\Anaconda3\condabin\..\Scripts\conda.exe"
             CONDA_PREFIX=C:\ProgramData\Anaconda3
    CONDA_PROMPT_MODIFIER=(base)
         CONDA_PYTHON_EXE=C:\ProgramData\Anaconda3\python.exe
               CONDA_ROOT=C:\ProgramData\Anaconda3
              CONDA_SHLVL=1
           CURL_CA_BUNDLE=<not set>
                 HOMEPATH=\Users\bendikst
                     PATH=C:\ProgramData\Anaconda3;C:\ProgramData\Anaconda3\Library\mingw-w64\bi
                          n;C:\ProgramData\Anaconda3\Library\usr\bin;C:\ProgramData\Anaconda3\Li
                          brary\bin;C:\ProgramData\Anaconda3\Scripts;C:\ProgramData\Anaconda3\bi
                          n;C:\ProgramData\Anaconda3\condabin;C:\WINDOWS\system32;C:\WINDOWS;C:\
                          WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0;C:\WI
                          NDOWS\System32\OpenSSH;C:\Program
                          Files\WindowsPowerShell\Scripts\HP.ClientScriptLibrary;C:\Program
                          Files\Git\cmd;C:\Program Files\MATLAB\R2022a\runtime\win64;C:\Program
                          Files\MATLAB\R2022a\bin;C:\Program Files\MiKTeX\miktex\bin\x64;C:\User
                          s\bendikst\AppData\Local\Microsoft\WindowsApps;C:\Users\bendikst\AppDa
                          ta\Local\Programs\Microsoft VS
                          Code\bin;C:\Users\bendikst\AppData\Local\GitHubDesktop\bin
             PSMODULEPATH=C:\Program Files\WindowsPowerShell\Modules;C:\WINDOWS\system32\Windows
                          PowerShell\v1.0\Modules;C:\Program Files (x86)\Microsoft Azure
                          Information Protection\Powershell
       REQUESTS_CA_BUNDLE=<not set>
            SSL_CERT_FILE=<not set>

     active environment : base
    active env location : C:\ProgramData\Anaconda3
            shell level : 1
       user config file : C:\Users\bendikst\.condarc
 populated config files : C:\Users\bendikst\.condarc
          conda version : 22.9.0
    conda-build version : 3.23.3
         python version : 3.9.16.final.0
       virtual packages : __cuda=11.7=0
                          __win=0=0
                          __archspec=1=x86_64
       base environment : C:\ProgramData\Anaconda3  (read only)
      conda av data dir : C:\ProgramData\Anaconda3\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:\ProgramData\Anaconda3\pkgs
                          C:\Users\bendikst\.conda\pkgs
                          C:\Users\bendikst\AppData\Local\conda\conda\pkgs
       envs directories : C:\Users\bendikst\.conda\envs
                          C:\ProgramData\Anaconda3\envs
                          C:\Users\bendikst\AppData\Local\conda\conda\envs
               platform : win-64
             user-agent : conda/22.9.0 requests/2.28.2 CPython/3.9.16 Windows/10 Windows/10.0.19045
          administrator : False
             netrc file : None
           offline mode : False


An unexpected error has occurred. Conda has prepared the above report.

Upload did not complete.
(base) C:\Users\bendikst>conda update anaconda_anon_usage
Error loading anaconda_anon_usage: No module named 'anaconda_anon_usage'
C:\ProgramData\Anaconda3\lib\site-packages\_distutils_hack\__init__.py:33: UserWarning: Setuptools is replacing distutils.
  warnings.warn("Setuptools is replacing distutils.")

# >>>>>>>>>>>>>>>>>>>>>> ERROR REPORT <<<<<<<<<<<<<<<<<<<<<<

    Traceback (most recent call last):
      File "C:\ProgramData\Anaconda3\lib\site-packages\conda\exceptions.py", line 1129, in __call__
        return func(*args, **kwargs)
      File "C:\ProgramData\Anaconda3\lib\site-packages\conda\cli\main.py", line 86, in main_subshell
        exit_code = do_call(args, p)
      File "C:\ProgramData\Anaconda3\lib\site-packages\conda\cli\conda_argparse.py", line 91, in do_call
        module = import_module(relative_mod, __name__.rsplit('.', 1)[0])
      File "C:\ProgramData\Anaconda3\lib\importlib\__init__.py", line 127, in import_module
        return _bootstrap._gcd_import(name[level:], package, level)
      File "<frozen importlib._bootstrap>", line 1030, in _gcd_import
      File "<frozen importlib._bootstrap>", line 1007, in _find_and_load
      File "<frozen importlib._bootstrap>", line 986, in _find_and_load_unlocked
      File "<frozen importlib._bootstrap>", line 680, in _load_unlocked
      File "<frozen importlib._bootstrap_external>", line 850, in exec_module
      File "<frozen importlib._bootstrap>", line 228, in _call_with_frames_removed
      File "C:\ProgramData\Anaconda3\lib\site-packages\conda\cli\main_update.py", line 10, in <module>
        from ..notices import notices
      File "C:\ProgramData\Anaconda3\lib\site-packages\conda\notices\__init__.py", line 4, in <module>
        from .core import notices  # noqa: F401
      File "C:\ProgramData\Anaconda3\lib\site-packages\conda\notices\core.py", line 15, in <module>
        from . import http
      File "C:\ProgramData\Anaconda3\lib\site-packages\conda\notices\http.py", line 9, in <module>
        import requests
      File "C:\ProgramData\Anaconda3\lib\site-packages\requests\__init__.py", line 43, in <module>
        import urllib3
      File "C:\ProgramData\Anaconda3\lib\site-packages\urllib3\__init__.py", line 15, in <module>
        from ._base_connection import _TYPE_BODY
    ModuleNotFoundError: No module named 'urllib3._base_connection'

`$ C:\ProgramData\Anaconda3\Scripts\conda-script.py update anaconda_anon_usage`

  environment variables:
                 CIO_TEST=<not set>
        CONDA_DEFAULT_ENV=base
                CONDA_EXE=C:\ProgramData\Anaconda3\condabin\..\Scripts\conda.exe
               CONDA_EXES="C:\ProgramData\Anaconda3\condabin\..\Scripts\conda.exe"
             CONDA_PREFIX=C:\ProgramData\Anaconda3
    CONDA_PROMPT_MODIFIER=(base)
         CONDA_PYTHON_EXE=C:\ProgramData\Anaconda3\python.exe
               CONDA_ROOT=C:\ProgramData\Anaconda3
              CONDA_SHLVL=1
           CURL_CA_BUNDLE=<not set>
                 HOMEPATH=\Users\bendikst
                     PATH=C:\ProgramData\Anaconda3;C:\ProgramData\Anaconda3\Library\mingw-w64\bi
                          n;C:\ProgramData\Anaconda3\Library\usr\bin;C:\ProgramData\Anaconda3\Li
                          brary\bin;C:\ProgramData\Anaconda3\Scripts;C:\ProgramData\Anaconda3\bi
                          n;C:\ProgramData\Anaconda3\condabin;C:\WINDOWS\system32;C:\WINDOWS;C:\
                          WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0;C:\WI
                          NDOWS\System32\OpenSSH;C:\Program
                          Files\WindowsPowerShell\Scripts\HP.ClientScriptLibrary;C:\Program
                          Files\Git\cmd;C:\Program Files\MATLAB\R2022a\runtime\win64;C:\Program
                          Files\MATLAB\R2022a\bin;C:\Program Files\MiKTeX\miktex\bin\x64;C:\User
                          s\bendikst\AppData\Local\Microsoft\WindowsApps;C:\Users\bendikst\AppDa
                          ta\Local\Programs\Microsoft VS
                          Code\bin;C:\Users\bendikst\AppData\Local\GitHubDesktop\bin
             PSMODULEPATH=C:\Program Files\WindowsPowerShell\Modules;C:\WINDOWS\system32\Windows
                          PowerShell\v1.0\Modules;C:\Program Files (x86)\Microsoft Azure
                          Information Protection\Powershell
       REQUESTS_CA_BUNDLE=<not set>
            SSL_CERT_FILE=<not set>

     active environment : base
    active env location : C:\ProgramData\Anaconda3
            shell level : 1
       user config file : C:\Users\bendikst\.condarc
 populated config files : C:\Users\bendikst\.condarc
          conda version : 22.9.0
    conda-build version : 3.23.3
         python version : 3.9.16.final.0
       virtual packages : __cuda=11.7=0
                          __win=0=0
                          __archspec=1=x86_64
       base environment : C:\ProgramData\Anaconda3  (read only)
      conda av data dir : C:\ProgramData\Anaconda3\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:\ProgramData\Anaconda3\pkgs
                          C:\Users\bendikst\.conda\pkgs
                          C:\Users\bendikst\AppData\Local\conda\conda\pkgs
       envs directories : C:\Users\bendikst\.conda\envs
                          C:\ProgramData\Anaconda3\envs
                          C:\Users\bendikst\AppData\Local\conda\conda\envs
               platform : win-64
             user-agent : conda/22.9.0 requests/2.28.2 CPython/3.9.16 Windows/10 Windows/10.0.19045
          administrator : False
             netrc file : None
           offline mode : False


An unexpected error has occurred. Conda has prepared the above report.

Upload did not complete.
@bendkok bendkok changed the title Failed Conda update breaks Anaconda instaliation Many Conda/Anaconda commands do not work after failed Conda update Apr 18, 2024
@skupr-anaconda
Copy link

@bendkok Could you please try explicitly update conda:
conda install conda=24.3.0

The version of urllib3 is incompatible for some reason but conda in your environment is outdated. I wonder if updating conda will fix the issue. Let us know if the issue persists.

@bendkok
Copy link
Author

bendkok commented Apr 23, 2024

@bendkok Could you please try explicitly update conda: conda install conda=24.3.0

The version of urllib3 is incompatible for some reason but conda in your environment is outdated. I wonder if updating conda will fix the issue. Let us know if the issue persists.

Hi. That did not work, it won't even start to update.
Here's the output:

(base) C:\WINDOWS\system32> conda install conda=24.3.0
Error loading anaconda_anon_usage: No module named 'anaconda_anon_usage'
C:\ProgramData\Anaconda3\lib\site-packages\_distutils_hack\__init__.py:33: UserWarning: Setuptools is replacing distutils.
  warnings.warn("Setuptools is replacing distutils.")

# >>>>>>>>>>>>>>>>>>>>>> ERROR REPORT <<<<<<<<<<<<<<<<<<<<<<

    Traceback (most recent call last):
      File "C:\ProgramData\Anaconda3\lib\site-packages\conda\exceptions.py", line 1129, in __call__
        return func(*args, **kwargs)
      File "C:\ProgramData\Anaconda3\lib\site-packages\conda\cli\main.py", line 86, in main_subshell
        exit_code = do_call(args, p)
      File "C:\ProgramData\Anaconda3\lib\site-packages\conda\cli\conda_argparse.py", line 91, in do_call
        module = import_module(relative_mod, __name__.rsplit('.', 1)[0])
      File "C:\ProgramData\Anaconda3\lib\importlib\__init__.py", line 127, in import_module
        return _bootstrap._gcd_import(name[level:], package, level)
      File "<frozen importlib._bootstrap>", line 1030, in _gcd_import
      File "<frozen importlib._bootstrap>", line 1007, in _find_and_load
      File "<frozen importlib._bootstrap>", line 986, in _find_and_load_unlocked
      File "<frozen importlib._bootstrap>", line 680, in _load_unlocked
      File "<frozen importlib._bootstrap_external>", line 850, in exec_module
      File "<frozen importlib._bootstrap>", line 228, in _call_with_frames_removed
      File "C:\ProgramData\Anaconda3\lib\site-packages\conda\cli\main_install.py", line 10, in <module>
        from ..notices import notices
      File "C:\ProgramData\Anaconda3\lib\site-packages\conda\notices\__init__.py", line 4, in <module>
        from .core import notices  # noqa: F401
      File "C:\ProgramData\Anaconda3\lib\site-packages\conda\notices\core.py", line 15, in <module>
        from . import http
      File "C:\ProgramData\Anaconda3\lib\site-packages\conda\notices\http.py", line 9, in <module>
        import requests
      File "C:\ProgramData\Anaconda3\lib\site-packages\requests\__init__.py", line 43, in <module>
        import urllib3
      File "C:\ProgramData\Anaconda3\lib\site-packages\urllib3\__init__.py", line 15, in <module>
        from ._base_connection import _TYPE_BODY
    ModuleNotFoundError: No module named 'urllib3._base_connection'

`$ C:\ProgramData\Anaconda3\Scripts\conda-script.py install conda=24.3.0`

  environment variables:
                 CIO_TEST=<not set>
        CONDA_DEFAULT_ENV=base
                CONDA_EXE=C:\ProgramData\Anaconda3\condabin\..\Scripts\conda.exe
               CONDA_EXES="C:\ProgramData\Anaconda3\condabin\..\Scripts\conda.exe"
             CONDA_PREFIX=C:\ProgramData\Anaconda3
    CONDA_PROMPT_MODIFIER=(base)
         CONDA_PYTHON_EXE=C:\ProgramData\Anaconda3\python.exe
               CONDA_ROOT=C:\ProgramData\Anaconda3
              CONDA_SHLVL=1
           CURL_CA_BUNDLE=<not set>
                 HOMEPATH=\Users\bendikst
                     PATH=C:\ProgramData\Anaconda3;C:\ProgramData\Anaconda3\Library\mingw-w64\bi
                          n;C:\ProgramData\Anaconda3\Library\usr\bin;C:\ProgramData\Anaconda3\Li
                          brary\bin;C:\ProgramData\Anaconda3\Scripts;C:\ProgramData\Anaconda3\bi
                          n;C:\ProgramData\Anaconda3\condabin;C:\WINDOWS\system32;C:\WINDOWS;C:\
                          WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0;C:\WI
                          NDOWS\System32\OpenSSH;C:\Program
                          Files\WindowsPowerShell\Scripts\HP.ClientScriptLibrary;C:\Program
                          Files\Git\cmd;C:\Program Files\MATLAB\R2022a\runtime\win64;C:\Program
                          Files\MATLAB\R2022a\bin;C:\Program Files\MiKTeX\miktex\bin\x64;C:\User
                          s\bendikst\AppData\Local\Microsoft\WindowsApps;C:\Users\bendikst\AppDa
                          ta\Local\Programs\Microsoft VS
                          Code\bin;C:\Users\bendikst\AppData\Local\GitHubDesktop\bin
             PSMODULEPATH=C:\Program Files\WindowsPowerShell\Modules;C:\WINDOWS\system32\Windows
                          PowerShell\v1.0\Modules;C:\Program Files (x86)\Microsoft Azure
                          Information Protection\Powershell
       REQUESTS_CA_BUNDLE=<not set>
            SSL_CERT_FILE=<not set>

     active environment : base
    active env location : C:\ProgramData\Anaconda3
            shell level : 1
       user config file : C:\Users\bendikst\.condarc
 populated config files : C:\Users\bendikst\.condarc
          conda version : 22.9.0
    conda-build version : 3.23.3
         python version : 3.9.16.final.0
       virtual packages : __cuda=11.7=0
                          __win=0=0
                          __archspec=1=x86_64
       base environment : C:\ProgramData\Anaconda3  (writable)
      conda av data dir : C:\ProgramData\Anaconda3\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:\ProgramData\Anaconda3\pkgs
                          C:\Users\bendikst\.conda\pkgs
                          C:\Users\bendikst\AppData\Local\conda\conda\pkgs
       envs directories : C:\ProgramData\Anaconda3\envs
                          C:\Users\bendikst\.conda\envs
                          C:\Users\bendikst\AppData\Local\conda\conda\envs
               platform : win-64
             user-agent : conda/22.9.0 requests/2.28.2 CPython/3.9.16 Windows/10 Windows/10.0.19045
          administrator : True
             netrc file : None
           offline mode : False


An unexpected error has occurred. Conda has prepared the above report.

Upload did not complete.

@bendkok
Copy link
Author

bendkok commented Apr 25, 2024

I deleted and reinstalled the latest version of Anaconda (https://www.anaconda.com/download/success). Everything seems to be working now.

@bendkok bendkok closed this as completed Apr 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants