These are chat archives for spyder-ide/public

29th
Nov 2018
CAM Gerlach
@CAM-Gerlach
Nov 29 2018 00:30
@sanarchitect You can view, edit, set or remove global environment variables in our graphical UI under Tools --> Current user environment variables. You can also view or set them for the current console Show environment variables under the "Gear" menu in the IPython Console pane. Is that what you're looking for?
sanarchitect
@sanarchitect
Nov 29 2018 00:30
thanks
CAM Gerlach
@CAM-Gerlach
Nov 29 2018 00:33
Hope it's what you're looking for!
sanarchitect
@sanarchitect
Nov 29 2018 00:33
In Spyder, under Tools, I only have the "Reset Spyder to factory defaults" and "Update module names list"... no Current user environment variables.
I'm running 3.3.1
CAM Gerlach
@CAM-Gerlach
Nov 29 2018 01:19
Oh, those options must not be available on Linux I guess...can you see the environment variables option under the "Gear" menu in the IPython Console?
sanarchitect
@sanarchitect
Nov 29 2018 01:20
I'm on MacOs... I can see the current environment variables under the gear, and I think I can change existing ones, just can't add new ones.
CAM Gerlach
@CAM-Gerlach
Nov 29 2018 01:40
Okay, thanks. There currently is an open issue about adding a preference pane to manage environment variables , spyder-ide/spyder#3891 , that was assigned but not followed up on . You could post there with a brief description of your needs and use case to help motivate action. Also, its possible that we could make env variables editable in the current session env variable viewer, but I don't know how complex that would be on different platforms. @ccordoba12 ?
Carlos Cordoba
@ccordoba12
Nov 29 2018 01:45
We plan to add an env variables viewer/editor to our improved project preferences
CAM Gerlach
@CAM-Gerlach
Nov 29 2018 01:50
:+1:
rivitalee
@rivitalee
Nov 29 2018 08:12
hello
how can I download spyder?
I 've downloaded anaconda prompt
CAM Gerlach
@CAM-Gerlach
Nov 29 2018 08:24

@rivitalee Did you read the "Download" section right on our website? By

I 've downloaded anaconda prompt

I assume you mean you've downloaded the Anaconda distribution as we recommend; the "Anaconda prompt" is a very small piece of that only found on Windows, just a cmd.exe shell with some stuff added to the $PATH$. If so, you already have Spyder; just launch it from the start menu like any other application. You can also launch it from the Anaconda prompt itself just by typing spyder, or from Anaconda Navigator, although the shortcut is of course the most convenient.

RickShaeffer
@RickShaeffer
Nov 29 2018 15:55
I am trying to make my python program send text to a default printer on windows 10 and can't find code that works
CAM Gerlach
@CAM-Gerlach
Nov 29 2018 16:15
@RickShaeffer Sorry, but this is the Gitter room for the Spyder IDE, not for general Python help. Unless the code works on a standard IPython interpereter but not in Spyder, you're better off asking in a Python help forum (or Googling your problem further). Thanks, and best of luck!
Andrew Collmus
@AndrewCollmus_twitter
Nov 29 2018 19:44
Is anyone else having problems with Projects after the latest update? For me, no matter which project I select, it opens the same project, which is not the one I want
CAM Gerlach
@CAM-Gerlach
Nov 29 2018 19:52
@AndrewCollmus_twitter I tested it just now with 3.3.2 and I don't have a problem opening different projects. Are you able to isolate the specific conditions under which the problem occurs?
Andrew Collmus
@AndrewCollmus_twitter
Nov 29 2018 19:53
Hmm not really. I tried to switch projects a few hours ago to an older one for some documentation, then it has been "stuck" ever since. I've restarted the computer. I've tried to close the project via GUI. I've tried to switch projects or open others after it is closed. No matter what, it goes back to that one project, which isn't something I have even attempted to work on since May.
im reverting to 3.3.1 to see if it fixes the issue
it fixed it. FYI I'm using windows 10, python 3.6, conda install
CAM Gerlach
@CAM-Gerlach
Nov 29 2018 19:55
That's really strange; so it wasn't stuck right away, only after opening a specific project, and to confirm it is stuck on the "older one for documentation" you opened or some random project?
Andrew Collmus
@AndrewCollmus_twitter
Nov 29 2018 19:56
random project
CAM Gerlach
@CAM-Gerlach
Nov 29 2018 19:56
Now if you go back to 3.3.2, what happens? Is it still stuck, or is it unstuck now? What happens when you try to change projects?
Andrew Collmus
@AndrewCollmus_twitter
Nov 29 2018 19:58
It is not stuck and I have successfully switched between several projects. I'll try to re-install the upgrade to see if the problem returns
CAM Gerlach
@CAM-Gerlach
Nov 29 2018 19:58
Thanks.
Andrew Collmus
@AndrewCollmus_twitter
Nov 29 2018 20:00
problem returned. it opened to the project I left it on, then I tried to switch to project B, but it sent me to project C, which is the same project it sent me to earlier
CAM Gerlach
@CAM-Gerlach
Nov 29 2018 20:01
Can you reset your Spyder preferences (spyder --reset) and see if the problem returns?
And if so, what steps will reproduce it from a clean slate?
Andrew Collmus
@AndrewCollmus_twitter
Nov 29 2018 20:03
spyder --reset sucessfuly executed in Anaconda prompt, I restarted Spyder, but issue persists
can I post a screenshot in here?
image.png
CAM Gerlach
@CAM-Gerlach
Nov 29 2018 20:07
Okay...?
Andrew Collmus
@AndrewCollmus_twitter
Nov 29 2018 20:07
is it related to all the DEBUG text? I don't remember seeing that before today
CAM Gerlach
@CAM-Gerlach
Nov 29 2018 20:07
No.
That's normal, just means Anaconda is updating your Windows start menu shortcuts for Spyder and friends.
Mike Amy
@MikeAmy
Nov 29 2018 21:02
Hi, I installed spyder using pip on a python 3.6 virtual environment. How can I start spyder?
Carlos Cordoba
@ccordoba12
Nov 29 2018 21:10
spyder3 in a system terminal
But if you have to ask this, you should be much better by using Anaconda
Mike Amy
@MikeAmy
Nov 29 2018 21:14
I'd rather not as it Anaconda just seems way too bloated for me (I'm a python developer, not a scientist, so pip is very easy for me). Anyway, it works. Thanks. Maybe that should go in your documentation for the pip install.
Carlos Cordoba
@ccordoba12
Nov 29 2018 21:16
Ok, thanks for the suggestion. @CAM-Gerlach? ^^
CAM Gerlach
@CAM-Gerlach
Nov 29 2018 23:58
@ccordoba12 Yup, in fact I already opened this as spyder-ide/spyder-docs#89 in response to previous people asking how to open it on here, but it got delayed thanks to the website theme overhaul, other issues/PR reviews, and my own research/classwork. I'll knock it the beginning of next week after my course projects are due.