You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I tried to create an environment using conda env create -f file.yml, containing python 3.10 and jupyter, nbconvert and ipympl using conda-forge channel. It completed "transaction preparation" and "verification" and was carrying out the "transaction execution" when it failed with the following error: "C:\Users\user.name\AppData\Local\miniforge3\envs\MyEnv\Scripts\jupyter-nbextension.exe" is not recognized as an internal or external command, operable program or batch file.
Any idea why this should be the case and what we can do to fix it?
The full error is as follows:
(base) C:\Users\user.name>conda env create -f "YAML-files\MyEnv.yml"
Retrieving notices: ...working... done
Collecting package metadata (repodata.json): done
Solving environment: done
==> WARNING: A newer version of conda exists. <==
current version: 23.3.1
latest version: 24.3.0
Please update conda by running
$ conda update -n base -c conda-forge conda
Or to minimize the number of packages updated during conda update use
conda install conda=24.3.0
Downloading and Extracting Packages
Preparing transaction: done
Verifying transaction: done
Executing transaction: |'"C:\Users\user.name\AppData\Local\miniforge3\envs\MyEnv\Scripts\jupyter-nbextension.exe"' is not recognized as an internal or external command,
operable program or batch file.
done
ERROR conda.core.link:_execute(740): An error occurred while installing package 'conda-forge::widgetsnbextension-3.5.2-py310h5588dad_1'.
Rolling back transaction: done
LinkError: post-link script failed for package conda-forge::widgetsnbextension-3.5.2-py310h5588dad_1
location of failed script: C:\Users\user.name\AppData\Local\miniforge3\envs\MyEnv\Scripts\.widgetsnbextension-post-link.bat
==> script messages <==
'"C:\Users\user.name\AppData\Local\miniforge3\envs\MyEnv2\Scripts\jupyter-nbextension.exe"' is not recognized as an internal or external command,
operable program or batch file.
==> script output <==
stdout:
stderr:
return code: 1
()
(base) C:\Users\user.name>conda activate MyEnv
(MyEnv) C:\Users\user.name>conda list
# packages in environment at C:\Users\user.name\AppData\Local\miniforge3\envs\MyEnv:## Name Version Build Channel
(MyEnv) C:\Users\user.name>
The text was updated successfully, but these errors were encountered:
I tried to create an environment using
conda env create -f file.yml
, containing python 3.10 and jupyter, nbconvert and ipympl using conda-forge channel. It completed "transaction preparation" and "verification" and was carrying out the "transaction execution" when it failed with the following error:"C:\Users\user.name\AppData\Local\miniforge3\envs\MyEnv\Scripts\jupyter-nbextension.exe"
is not recognized as an internal or external command, operable program or batch file.Any idea why this should be the case and what we can do to fix it?
The full error is as follows:
The text was updated successfully, but these errors were encountered: