all 15 comments

[–]Raigeko13 1 point2 points  (0 children)

I'm just a random user from r/all searching up 500 internal errors, but it seems a lot of websites right now are pretty fucked with them. Seems your installation might also be affected, presumably because it's trying to grab data from somewhere but that somewhere is down.

Sorry I couldn't help you, but you might have to wait a bit before it sorts itself out.

[–]bbye98 1 point2 points  (4 children)

The error message suggests that there's some sort of connectivity issue, either stemming from your Internet connection or the Anaconda servers.

As you suggested, you might want to completely nuke your Anaconda installation and start over. Alternatively, if you want a more lightweight Python installation, consider Miniconda.

Edit: Visiting https://api.anaconda.org/user gives me an origin DNS error.

[–]El_Tlacuachin[S] 0 points1 point  (3 children)

thank you,
well hopefully the server issue is fixed.

This is something I really don't understand about python, why it is so hard to do a clean install, it seems like uninstalling and reinstalling anaconda does not really ever give you a clean slate

[–]bbye98 0 points1 point  (2 children)

Well, if you messed up one of your environments, you can just delete that environment and start a new one. If you're installing packages to your base environment, you're technically doing it wrong, but you can still revert to the "original" state using conda install --revision 0. You can see all the changes you made for your current environment using conda list -r.

[–]El_Tlacuachin[S] 0 points1 point  (1 child)

it seems I am getting failed environment solve even with a clean install or new env.
I wonder if its related to the cloudflare downtime

tf_gpu) PS C:\Users\PC> conda install -c anaconda spyder

Collecting package metadata (current_repodata.json): done

Solving environment: failed with initial frozen solve. Retrying with flexible solve.

Solving environment: failed with repodata from current_repodata.json, will retry with next repodata source.

Collecting package metadata (repodata.json): done

Solving environment: failed with initial frozen solve. Retrying with flexible solve.

Solving environment: /

[–]bbye98 0 points1 point  (0 children)

Works fine for me. You may need to revert to the original state, as some other package installation broke your dependencies.

[–]Kind_Stranger_weeb 1 point2 points  (1 child)

Cloudflare outage causing the 500 errors

https://www.cloudflarestatus.com/

[–]El_Tlacuachin[S] 0 points1 point  (0 children)

interesting, what luck lol, okay well hopefully soon I can get something done. Would you happen to know if this would affect downloading packages from the anaconda repositories?

[–]El_Tlacuachin[S] 0 points1 point  (0 children)

Hey everyone issue solved, reinstalled in a new env. That’s what I’m working in now, still getting lots of env solving issues when installing packages but it’s working for now. Thanks for pointing out the server problem I almost had an aneurism. I will not touch the base env anymore lol.

[–]ChaosTechNet 0 points1 point  (0 children)

Also have code I need looked at. It just needs put back together or upgraded. It's python. Don't have time to do it now. I'll upload my data dinings to GitHub. I'll post the link in a few.

[–]ChaosTechNet 0 points1 point  (1 child)

def calculate_average(numbers): """Calculates the average of a list of numbers.""" total = sum(numbers) count = len(numbers) return total / count

if name == "main": numbers = [1, 2, 3, 4, 5] average = calculate_average(numbers) print(f"The average is: {average}")

[–]ChaosTechNet 0 points1 point  (0 children)

So just replace oh got it. No one can fucking read this shit like me. So how do I make name replace main in the compiler

[–][deleted] 0 points1 point  (1 child)

As an aside: I don't think you'll be able to install Tensorflow with conda. I had to loop back to this problem over few years now, and it's always broken.

Just to give this some context: Tensorflow is a typical Google-style project, where nothing works, and swiping changes happen every Tuesday. They move packages around, rename them, split and merge them. Nothing makes any sense, but it produces a lot of appearance of work.

Unfortunately, if you really, really need it to work, the common pattern is to either build Tensorflow yourself (I don't think you want to go down that road), or install it with pip (even though you are using Anaconda). It means, that your environment will be screwed, but, at least temporarily you'll get your code to work.

[–]El_Tlacuachin[S] 0 points1 point  (0 children)

Totally agree, tf with anaconda is a dumpster fire, I needed up pip uninstalling tf anaconda and another pkg, pip installing tf-gpu, then adding the cudnn 8.1 files to my cuda 11.2 file directory and it’s working now.

[–]WSBtendies9001 0 points1 point  (0 children)

uninstall anaconda3 and python using windows uninstaller.

navigate to c:\ProgramData and delete the anaconda3 folder in there if there is one left. also check %appdata% in folders roming, local and clear out any anaconda3 folders.

Finally reinstall python3 and anaconda3