Cant install Spyder in Tensorflow environment

22 views
Skip to first unread message

DrBwts

unread,
Jan 3, 2023, 2:27:52 PM1/3/23
to spyder
No matter what I try Spyder just wont install in an evironment that contains Tensorflow. I've been trawling the internet for hours now & tried pretty much everything I can find, no dice!

It wont install with conda or pip, no matter what python version I create the tensorflow environment with.

What gives here? Tensorflow is a huge part of computational science nowadays so why is an IDE touted as a scietific IDE not trageting it as something important to intergrate with?

Nic

Carlos Córdoba

unread,
Jan 3, 2023, 7:21:53 PM1/3/23
to spyd...@googlegroups.com
Hi,

There are probably conflicting dependencies between Spyder and Tensorflow that don't allow to install them side by side. However, a much better approach is to install Tensorflow and Spyder-kernels in one environment, Spyder in another one and connect the two following this procedure:

http://docs.spyder-ide.org/current/faq.html#using-existing-environment


Cheers,
Carlos

El 3/01/23 a las 14:27, DrBwts escribió:
--
You received this message because you are subscribed to the Google Groups "spyder" group.
To unsubscribe from this group and stop receiving emails from it, send an email to spyderlib+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/spyderlib/580c6033-fbda-4456-95f5-2d887940f6b7n%40googlegroups.com.

DrBwts

unread,
Jan 4, 2023, 5:06:35 AM1/4/23
to spyder
Hi Carlos,

I installed Spyder-kernels in the Tensorflow environment & followed the instructions you linked to.
Then Spyder complained that the Spyder-kernels was too new to be used (why would that happen?) so then I tried to install an older version  but conda just freezes up & then says the channel (the one that Spyder itself told me to use 2.2) doesn't exist.
So then I tried with pip which also didn't recognize earlier version of Spyder-kernels as valid (again using the recommended version Spyder itself said to use spyder-kernels==2.2 *).

So I went back to the base evironment & thought updatng Spyder might solve the issue of Spyder-kernals being too new for the installation of Spyder that I'm using. Now that is conflicting with loads of packages & is still trying to resolve.

Nic

DrBwts

unread,
Jan 4, 2023, 6:09:41 AM1/4/23
to spyder
OK reolved, created a Spyder only environment & runn form there following the above instructions.

Thanks for you help, Nic
Reply all
Reply to author
Forward
0 new messages