OiO.lk Community platform!

Oio.lk is an excellent forum for developers, providing a wide range of resources, discussions, and support for those in the developer community. Join oio.lk today to connect with like-minded professionals, share insights, and stay updated on the latest trends and technologies in the development field.
  You need to log in or register to access the solved answers to this problem.
  • You have reached the maximum number of guest views allowed
  • Please register below to remove this limitation

conda activate fails (results in IndexError: list index out of range)

  • Thread starter Thread starter Nate Givens
  • Start date Start date
N

Nate Givens

Guest
I have a fresh copy of Ubuntu 22.04 that I'm running in a Hyper-V virtual machine in Windows 11 Pro. I just installed Anaconda from anaconda.com. Everything seems fine (I've also added Conda to the path.)

I created a new environment using:

conda create --name proto202211

Environment is created successfully and conda tells me:

to activate this environment, use $ conda activate proto202211

So I do that, but I get a long ERROR REPORT and the environment fails to activate. I rebooted the Linux machine. Same thing. I created a new environment, myenv, and I can't switch to that either (same error). I can list the environments, and conda sees proto202211 and myenv. It recognizes that they're there. But if I try to activate them, I get this long failure.

I've attached images of the errors that I'm getting.

First part of the error message

Second part of the error message

Help.
<p>I have a fresh copy of Ubuntu 22.04 that I'm running in a Hyper-V virtual machine in Windows 11 Pro. I just installed Anaconda from anaconda.com. Everything seems fine (I've also added Conda to the path.)</p>
<p>I created a new environment using:</p>
<p>conda create --name proto202211</p>
<p>Environment is created successfully and conda tells me:</p>
<p>to activate this environment, use
$ conda activate proto202211</p>
<p>So I do that, but I get a long ERROR REPORT and the environment fails to activate. I rebooted the Linux machine. Same thing. I created a new environment, myenv, and I can't switch to that either (same error). I can list the environments, and conda sees proto202211 and myenv. It recognizes that they're there. But if I try to activate them, I get this long failure.</p>
<p>I've attached images of the errors that I'm getting.</p>
<p><a href="https://i.sstatic.net/d4cE6.jpg" rel="nofollow noreferrer"><img src="https://i.sstatic.net/d4cE6.jpg" alt="First part of the error message" /></a></p>
<p><a href="https://i.sstatic.net/63KxO.jpg" rel="nofollow noreferrer"><img src="https://i.sstatic.net/63KxO.jpg" alt="Second part of the error message" /></a></p>
<p>Help.</p>
 

Latest posts

ن
Replies
0
Views
1
نعمان منذر محمود الجميلي
ن
Top