jonb
jonb

Reputation: 875

How to extend conda base environment?

I want to create conda environment, for using mainly jupyter lab.

I've tried:

conda create --name NLPConda anaconda

and also

conda create --name NLPConda --clone base

But receiving:

Preparing transaction: done
Verifying transaction: done
Executing transaction: failed
ERROR conda.core.link:_execute(502): An error occurred while installing package 'defaults::python-3.7.0-hea74fb7_0'.
PermissionError(13, 'Permission denied')
Attempting to roll back.

Rolling back transaction: done

PermissionError(13, 'Permission denied')

I've tried it several times, even tried to remove Anaconda from my computer and re-install it. This is my current version: conda 4.5.11

I also tried to create a virtual environment without cloning the base, but then jupyter-lab doesn't work.

My main use it to activate JupyterLab in a cloned conda environment. What am I missing? Thanks

Upvotes: 0

Views: 820

Answers (1)

jonb
jonb

Reputation: 875

I did two things to make it work: 1. Reinstall in the default provided location 2. Run the installation as an administrator

Upvotes: 0

Related Questions