These are chat archives for spyder-ide/public

22nd
May 2018
Royi
@RoyiAvital
May 22 2018 18:13
Hello.
Anyone here?
CAM Gerlach
@CAM-Gerlach
May 22 2018 18:19
Yup! What can we help you with?
Gonzalo Peña-Castellanos
@goanpeca
May 22 2018 18:23

See https://twitter.com/NaomiCeder/status/998401657833709568

—-

Just a reminder - if you spend 5 hours a month (~60 hours a year) organizing Python community events (and attending the event you organize counts) you should register as a managing member of the PSF and VOTE. Yes, I mean YOU. 😊

How? See thread...

1) First you need to create a account on the http://python.org web site. Go to the @ThePSF landing page here - https://www.python.org/psf-landing/ and hover over the "Sign-in" button... and pick "Sign Up / Register"...

2) Hover over the "Membership"menu and choose "Sign up as a member"...

That will get you a basic membership in @ThePSF

3) Go back to @ThePSF membership page at https://www.python.org/psf/membership/ and read about the various membership types... for community work (even if it's not an official PSF work group) you will choose Managing Member. From the Membership menu choose "Self-Certify as a Voting Member"

4) It may take a few days, since the final step on our side is manual, but if you do this before May 25 you should be added in time to vote in this year's @thePSF election. You can see the nominations as they come in at https://t.co/OcVRZOIPmh

5) So do it! Join us!

Royi
@RoyiAvital
May 22 2018 18:27
@CAM-Gerlach , I have a strange error I tried opening Spyder.
Thought maybe you can assist:
ImportError: libsodium.so.23: cannot open shared object file: No such file or directory
I'm on Spyder 3.2.8.
CAM Gerlach
@CAM-Gerlach
May 22 2018 18:31
Okay, sounds like a problem with the installation of one of your other packages, possibly pyzmq. Most likely, one of the steps listed in the Spyder Troubleshooting Guide, specifically the Basic First Aid and Emergency CPR sections will resolve it.

Did you install anything with pip, or only conda? The former is likely to lead to problems like this.

Also, try updating some things: run conda update pyzmq ipykernel python and see if that fixes it.

Royi
@RoyiAvital
May 22 2018 18:35
OK. I will give it a try.
CAM Gerlach
@CAM-Gerlach
May 22 2018 18:35
Of course, that won't work if you installed anything with pip so let us know that first.
Royi
@RoyiAvital
May 22 2018 19:25
Never used pip.
CAM Gerlach
@CAM-Gerlach
May 22 2018 19:28
Okay, thanks. Then try the above and, if that doesn't work, let us know your linux distro/version, Python version, and the output from conda list (post it over on the issue thread you posted on, not here), and the other things listed under the relevant subsection. One of the steps in the troubleshooting guide should do it though.
Royi
@RoyiAvital
May 22 2018 19:30
I tried what you wrote.
CAM Gerlach
@CAM-Gerlach
May 22 2018 19:30
No change?
Royi
@RoyiAvital
May 22 2018 19:30
It only updated Python from 3.6.4 to 3.6.5 (Others seemed to be the latest which might be the issue, right?).
Still the same problem with Spyder.
CAM Gerlach
@CAM-Gerlach
May 22 2018 19:32
Okay. My guess is it has to do with an incompatible version of something the PyTorch environment has installed. Create a fresh conda-env environment and only install Spyder into it, and see if it works.
On my root environment Spyder does work.
Do you think the only solution would be deleting PyTorch and starting it from scratch?
CAM Gerlach
@CAM-Gerlach
May 22 2018 19:37
Well, no reason to delete it, you can create as many new ones as you want.
Basically, if you compare the conda list output for the two envs, particularly comparing pyzmq, ipykernel, tornado, etc. versions, you can figure out exactly what's doing it.
Royi
@RoyiAvital
May 22 2018 19:38
I updated ipykernel to the latest.
Could that be it?
CAM Gerlach
@CAM-Gerlach
May 22 2018 19:39
Its ipykernel
It's probably pyzmq if its anything, since that's where the error is occurring.
Royi
@RoyiAvital
May 22 2018 19:44
I'm doing 'conda install pymzq 16.0.3' to install the same version as in root.
Yet it says PackagesNotFoundError: The following packages are not available from current channels
What a bummer. I don't remember how I built this PyTorch.
Can I rename an environment?
CAM Gerlach
@CAM-Gerlach
May 22 2018 19:46
Its conda install pyzmq=16.0.3 Not the spelling of pyzmq and the = sign to denote versions.
Yeah, see the conda documentation—I don't know it off the top of my head.
There's probably a conda-env command
Royi
@RoyiAvital
May 22 2018 19:47
It seems one can not rename an environment.
OK. I downgraded pyzmq. It also downgraded notebook. Let's see.
Nope. Same issue.
Royi
@RoyiAvital
May 22 2018 19:57
Tried removing pyzmq and then reinstall Spyder. Still no luck.
CAM Gerlach
@CAM-Gerlach
May 22 2018 20:05
Not sure what to tell you, but the issue clearly isn't with Spyder. I'd recommend creating a fresh environment and installing Spyder and then the other packages you need into that, one by one, to figure out which one is causing the problem if it does happen.
Also try the extensive list of troubleshooting steps listed in the guide, and post the above requested information in the spyder-ide/spyder#1818 thread for more specific help.
Royi
@RoyiAvital
May 22 2018 20:13
I will take your advise and will start fresh.
By teh way, Are you part of the Spyder developer team?
CAM Gerlach
@CAM-Gerlach
May 22 2018 20:13
Yup
Royi
@RoyiAvital
May 22 2018 20:14
May I ask for a feature?
I'd really Spyder to be able to show PyTorch Tensors like it does for Numpy Arrays.
CAM Gerlach
@CAM-Gerlach
May 22 2018 20:14
Hope that fixes it for you! Let us know how that goes.
Royi
@RoyiAvital
May 22 2018 20:14
Also I miss the auto complete in Debug Mode.
CAM Gerlach
@CAM-Gerlach
May 22 2018 20:15
PyTorch tensor support (and possibly other custom types) is planned for Spyder 4 spyder-ide/spyder#7042
Royi
@RoyiAvital
May 22 2018 20:17
Nice!
CAM Gerlach
@CAM-Gerlach
May 22 2018 20:17
Yeah, it has to do with the limitations of the ipdb kernel used for debugging. That's also going to be fixed and vastly improved in Spyder 4
Royi
@RoyiAvital
May 22 2018 20:17
I was really sad to hear Anconda stopped funding you guys.
You're doing amazing work!
CAM Gerlach
@CAM-Gerlach
May 22 2018 20:18
Thanks! I'm not the one doing most of it, though. And thanks to members of the community, like you, that are funding us, we were able to fund those features I just mentioned for Spyder 4.
Royi
@RoyiAvital
May 22 2018 20:19
I'm planning on a donation next month.
CAM Gerlach
@CAM-Gerlach
May 22 2018 20:19
Thanks <3
Royi
@RoyiAvital
May 22 2018 20:20
By the way, how do you suggest installing these:
In Anaconda?
As you said never use pip.
CAM Gerlach
@CAM-Gerlach
May 22 2018 20:21
I dunno. See if they have a package on conda-forge or a custom conda channel? Or you could risk it with pip, just create an environment for testing it first so it doesn't mess anything else up.
Or ask them to package it for conda.
One of the other devs would know more about that; I rarely venture outside of the conda ecosystem myself except for my own stuff.
Royi
@RoyiAvital
May 22 2018 20:30
I posted about conda package.
When I do pip how do I make it aware of the env of conda?
CAM Gerlach
@CAM-Gerlach
May 22 2018 20:37
activate the clean environment, install pip into the environment (if you haven't already) with conda install pip, and then any use of pip from that env will install things locally into that environment only.
Royi
@RoyiAvital
May 22 2018 20:38
I thought it requires some special treatment.
My friend, really appreciate your assistance.
Keep up the good work and hopefully we'll see Spyde 4.x soon.
Gonzalo Peña-Castellanos
@goanpeca
May 22 2018 20:39
@RoyiAvital you can help spyder reach that goal sooner by contributing on https://opencollective.com/spyder
CAM Gerlach
@CAM-Gerlach
May 22 2018 20:39
Yup @goanpeca , they already said they would actually!
Royi
@RoyiAvital
May 22 2018 20:54
By the way, any way to contribute with PayPal?
I see only option with Credit Card.
CAM Gerlach
@CAM-Gerlach
May 22 2018 21:33
Not at the moment, but we're working on it spyder-ide/spyder#5872