#๐Ÿ”’ Any Idea how to install tensorflow 2.10 or older using pip?

52 messages ยท Page 1 of 1 (latest)

frank pine
leaden pineBOT
#

@frank pine

Python help channel opened

Remember to:

  • Ask your Python question, not if you can ask or if there's an expert who can help.
  • Show a code sample as text (rather than a screenshot) and the error message, if you've got one.
  • Explain what you expect to happen and what actually happens.

:warning: Do not pip install anything that isn't related to your question, especially if asked to over DMs.

last trout
#

pip install tensorflor==2.10

short kernel
#

2.10 is from 2022 so it probably uses .egg instead of .whl (which means pypi won't support it)

#

Are you following a tutorial @frank pine ?

frank pine
#

but I cant find any installations for tensorflow 2.10 and lower

#

screenshot from the documentation

short kernel
#

Oh. I don't know about that. I do know that .egg has been deprecated in favor of .whl though and has been for a while though.

frank pine
frank pine
short kernel
#

Can you do the WSL2 solution?

frank pine
frank pine
short kernel
#

all you would need to do is download it then do pip nameoffile.whl

#

WSL2 is Windows Subsystem for Linux so you'd basically be installing it on Linux (but in Windows).

#

But if you found a .whl for it try that first.

frank pine
#

okay will try

short kernel
#

sorry it's pip install nameoffile.whl

frank pine
#

man

short kernel
#

What's your python version?

frank pine
#

3.11.4

short kernel
#

I think that's for 3.10

frank pine
#

welp. ill setup my wsl and try that out

short kernel
#

I don't want to say for certain and have you install 3.10 just to find out that's not the case though

#

haha okay

#

wsl would be a bit more work but then you'd be able to use wsl

#

good luck

frank pine
#

im familliar with wsl but isnt it a virtual environment?

#

im using jupyter notebook with python env but will installing it in wsl work?

short kernel
#

It's pretty performant if that's your concern. Do you have an Nvidia GPU?

#

I don't really know much about jupyter, sorry

frank pine
#

yea wsl is a seprate environment overall

#

will have to use jupyter in wsl if I want it to work

short kernel
#

Yeah, you're literally installing Linux in Windows

#

The Windows Subsystem for Linux name is a total misnomer.

#

Should be Linux Subsystem for Windows IMO

#

but that's MS branding I suppose :P

#

If you have Nvidia GPU you need to do some extra stuff too.

#

(I have an Nvidia GPU and jumped through all the hoops)

frank pine
#

man.. i already went through all the stuff in windows too haha. like installing cuda and cuDNN. I thought it could work

#

ill just give it up for now... Thanks anyways you were a lot of help

short kernel
#

Windows is precious and so is Nvidia

#

ยฏ_(ใƒ„)_/ยฏ

#

I installed Linux on my machine. :P

#

Ok, good luck.

#

You can close this with !close

frank pine
#

!close

leaden pineBOT
#
Python help channel closed

This help channel has been closed and it's no longer possible to send messages here. If your question wasn't answered, feel free to create a new post in #1035199133436354600. To maximize your chances of getting a response, check out this guide on asking good questions.