Why do I keep getting `Exit code 1` error while launching anything in Anaconda?

Viewed 20

Could anyone please help me out with this!!!

Anaconda was working fine a while back but all of a sudden I am getting the following error: Navigator Screenshot

After this I tried reinstalling it but it still resulted in the same. I even tried launching it through terminal and it resulted in this error report:

    Traceback (most recent call last):
      File "C:\Users\TEMP.DESKTOP-TGGBJKK.000\anaconda3\lib\site-packages\conda\cli\main.py", line 143, in main
        return activator_main()
      File "C:\Users\TEMP.DESKTOP-TGGBJKK.000\anaconda3\lib\site-packages\conda\activate.py", line 1222, in main
        print(activator.execute(), end='')
      File "C:\Users\TEMP.DESKTOP-TGGBJKK.000\anaconda3\lib\encodings\cp1252.py", line 19, in encode
        return codecs.charmap_encode(input,self.errors,encoding_table)[0]
    UnicodeEncodeError: 'charmap' codec can't encode character '\u202a' in position 452: character maps to <undefined>

`$ C:\Users\TEMP.DESKTOP-TGGBJKK.000\anaconda3\Scripts\conda-script.py shell.powershell activate env1`

  environment variables:
                 CIO_TEST=<not set>
                CONDA_EXE=C:/Users/TEMP.DESKTOP-TGGBJKK.000/anaconda3\Scripts\conda.exe
               CONDA_ROOT=C:\Users\TEMP.DESKTOP-TGGBJKK.000\anaconda3
           CURL_CA_BUNDLE=<not set>
                 HOMEPATH=\Users\TEMP.DESKTOP-TGGBJKK.000
                     PATH=C:\Users\TEMP.DESKTOP-TGGBJKK.000\anaconda3;C:\Users\TEMP.DESKTOP-
                          TGGBJKK.000\anaconda3\Library\mingw-w64\bin;C:\Users\TEMP.DESKTOP-
                          TGGBJKK.000\anaconda3\Library\usr\bin;C:\Users\TEMP.DESKTOP-
                          TGGBJKK.000\anaconda3\Library\bin;C:\Users\TEMP.DESKTOP-
                          TGGBJKK.000\anaconda3\Scripts;C:\Users\TEMP.DESKTOP-
                          TGGBJKK.000\anaconda3\bin;‪D:\chrom driver
                          d\chromedriver.exe;C:\Users\TEMP.DESKTOP-
                          TGGBJKK.000\AppData\Local\Microsoft\WindowsApps;
             PSMODULEPATH=C:\Users\TEMP.DESKTOP-
                          TGGBJKK.000\Documents\WindowsPowerShell\Modules;C:\Program Files\Windo
                          wsPowerShell\Modules;C:\Windows\system32\WindowsPowerShell\v1.0\Module
                          s
       REQUESTS_CA_BUNDLE=<not set>
            SSL_CERT_FILE=<not set>

     active environment : None
       user config file : C:\Users\TEMP.DESKTOP-TGGBJKK.000\.condarc
 populated config files : C:\Users\TEMP.DESKTOP-TGGBJKK.000\.condarc
          conda version : 4.12.0
    conda-build version : 3.21.8
         python version : 3.9.12.final.0
       virtual packages : __win=0=0
                          __archspec=1=x86_64
       base environment : C:\Users\TEMP.DESKTOP-TGGBJKK.000\anaconda3  (writable)
      conda av data dir : C:\Users\TEMP.DESKTOP-TGGBJKK.000\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:\Users\TEMP.DESKTOP-TGGBJKK.000\anaconda3\pkgs
                          C:\Users\TEMP.DESKTOP-TGGBJKK.000\.conda\pkgs
                          C:\Users\TEMP.DESKTOP-TGGBJKK.000\AppData\Local\conda\conda\pkgs
       envs directories : C:\Users\TEMP.DESKTOP-TGGBJKK.000\anaconda3\envs
                          C:\Users\TEMP.DESKTOP-TGGBJKK.000\.conda\envs
                          C:\Users\TEMP.DESKTOP-TGGBJKK.000\AppData\Local\conda\conda\envs
               platform : win-64
             user-agent : conda/4.12.0 requests/2.27.1 CPython/3.9.12 Windows/10 Windows/10.0.19044
          administrator : False
             netrc file : None
           offline mode : False


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

If submitted, this report will be used by core maintainers to improve
future releases of conda.
Would you like conda to send this report to the core maintainers?

yes
Upload successful.

Thank you for helping to improve conda.
Opt-in to always sending reports (and not see this message again)
by running

    $ conda config --set report_errors true


Invoke-Expression : At line:1 char:2
+ [y/N]:
+  ~
Missing ] at end of attribute or type literal.
At line:1 char:4
+ [y/N]:
+    ~
You must provide a value expression following the '/' operator.
At line:1 char:4
+ [y/N]:
+    ~~~
Unexpected token 'N]:' in expression or statement.
At C:\Users\TEMP.DESKTOP-TGGBJKK.000\anaconda3\shell\condabin\Conda.psm1:107 char:9
+         Invoke-Expression -Command $activateCommand;
+         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : ParserError: (:) [Invoke-Expression], ParseException
    + FullyQualifiedErrorId : EndSquareBracketExpectedAtEndOfAttribute,Microsoft.PowerShell.Commands.InvokeExpressionC
   ommand
enter code here
0 Answers
Related