Cant configure Conda for Python environment

Iʻm trying to use this Neural Machine Translation workflow but I get the following message:


But then, when I try to create a new environment I get this message:

I did install OpenSSL 64 for Windows but Iʻm stuck with this message.
Please help,

Check out the second one on my list in the above post and see if it does the trick for you.

Open Anaconda Navigator - Click on green arrow next to “base (root)” and hit “Open Terminal”, paste in “conda install conda==4.14” and hit enter. (info from this forum post - Unable to integrate python with Knime - #2 by steffen_KNIME)

2 Likes

Thanks for your reply.
I get this:

(base) C:\Users\HURIMOZ>conda install conda==4.14
Collecting package metadata (current_repodata.json): done
Solving environment: failed with initial frozen solve. Retrying with flexible solve.
Collecting package metadata (repodata.json): done
Solving environment: done

==> WARNING: A newer version of conda exists. <==
current version: 22.9.0
latest version: 23.1.0

Please update conda by running

$ conda update -n base -c defaults conda

Package Plan

environment location: C:\ProgramData\Anaconda3

added / updated specs:
- conda==4.14

The following packages will be downloaded:

package                    |            build
---------------------------|-----------------
conda-4.14.0               |   py39haa95532_0         937 KB
------------------------------------------------------------
                                       Total:         937 KB

The following packages will be DOWNGRADED:

conda 22.9.0-py39haa95532_0 → 4.14.0-py39haa95532_0 None

Proceed ([y]/n)? y

Downloading and Extracting Packages
conda-4.14.0 | 937 KB | ############################################################################ | 100%
Preparing transaction: done
Verifying transaction: failed

EnvironmentNotWritableError: The current user does not have write permissions to the target environment.
environment location: C:\ProgramData\Anaconda3"

Ok looks good now:

(base) C:\Users\HURIMOZ>conda install conda==4.14
Collecting package metadata (current_repodata.json): done
Solving environment: failed with initial frozen solve. Retrying with flexible solve.
Collecting package metadata (repodata.json): done
Solving environment: done

==> WARNING: A newer version of conda exists. <==
current version: 22.9.0
latest version: 23.1.0

Please update conda by running

$ conda update -n base -c defaults conda

Package Plan

environment location: C:\ProgramData\Anaconda3

added / updated specs:
- conda==4.14

The following packages will be DOWNGRADED:

conda 22.9.0-py39haa95532_0 → 4.14.0-py39haa95532_0 None

Proceed ([y]/n)? y

Preparing transaction: done
Verifying transaction: done
Executing transaction: done
Retrieving notices: …working… done

(base) C:\Users\HURIMOZ>_CONDA is defined, we’re in develop mode. CONDA_EXE is actually python.exe in the root of the dev env.

CommandNotFoundError: No command ‘conda is’.
Did you mean ‘conda list’?

(base) C:\Users\HURIMOZ>FOR %A IN (“C:\ProgramData\Anaconda3\condabin..\Scripts\conda.exe”) DO @SET _sysp=%~dpA

(base) C:\Users\HURIMOZ>FOR %A IN (“C:\ProgramData\Anaconda3\condabin.”) DO @SET _sysp=%~dpA

(base) C:\Users\HURIMOZ>IF NOT EXIST “!_sysp!\Scripts\conda.exe”
Collecting package metadata (current_repodata.json): done
Solving environment: done

==> WARNING: A newer version of conda exists. <==
current version: 4.14.0
latest version: 23.1.0

Please update conda by running

$ conda update -n base -c defaults conda

Hopefully it will create the Python environment in KNIME now. FYI I had to do the windows install med version of OpenSSL to get it to work. Couldn’t get it to work with the binaries version, but I am sure that was user error on my past.

2 Likes

Thank you for your help.

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.