These are chat archives for spyder-ide/public

25th
Feb 2019
cleungdb
@cleungdb
Feb 25 18:17
Hello, I used Anacoda prompt to do Sypder update by typing: conda update spyder, everything said done in the prompt.
However when I open Sypder, the update box is still showing up. Need some help.
CAM Gerlach
@CAM-Gerlach
Feb 25 18:37
@cleungdb Under Help > About in Spyder, what version is stated there? 3.3.3 is the latest version. Similarly, in conda list spyder in Anaconda prompt, what version is given?
  • If the two are not equal, you aren't launching Spyder from the same conda environment;
  • If conda list spyder doesn't show 3.3.3, then tell it to install via conda install spyder=3.3.3 and report any conflicts;
  • If both show 3.3.3, then something is wrong with Spyder's update checker (unlikely, but not impossible).
cleungdb
@cleungdb
Feb 25 18:40
@CAM Gerlach - I checked both in Anaconda prompt and in Spyder, they are version 3.3.2. Seems like the update did not work. I used Anacobda Netvigator to update and it gave me a message saying "multiple errors".
CAM Gerlach
@CAM-Gerlach
Feb 25 18:43

@cleungdb There are some known problems with Anaconda Navigator and updating/launching Spyder; I recommend you always launch and update it from the shortcut or Anaconda prompt since both are strictly faster than doing so through Navigator and avoid potential problems with the latter.

Given that's the case, install via conda install spyder=3.3.3 as I requested above and report the results.

Also, assuming that doesn't work, please paste the output of conda list spyder here.
cleungdb
@cleungdb
Feb 25 18:49
@CAM-Gerlach - It's working now, all updated. Thank you for your help!
CAM Gerlach
@CAM-Gerlach
Feb 25 18:49
Great to hear! Happy Spydering!
Silviu Oprea
@silviu-oprea
Feb 25 21:28
Hi everyone. I read the dark mode is still under development. Is there any chance I might try it out?
(full IDE dark theme)
rongal47
@rongal47
Feb 25 21:29
I have installed Spyder on my PC. How do I set the default console working directory? (The setup automatically set the console working directory to a directory that is not correct for my Spyder and Python exercises and applications)
CAM Gerlach
@CAM-Gerlach
Feb 25 21:36

@silviu-oprea Sure, its more or less fully implemented aside from minor polishing (you can check the latest status in spyder-ide/spyder#8068 ). It will be available in Spyder 4 Beta 2, due out soon (™), but you can try it out right now by simply running Spyder off a Github clone.

Just clone this repo, create a new conda environment (or virtualenv/venv, if not using Anaconda/Miniconda), and installing the dependencies with conda install -c spyder-ide --file requirements/conda.txt (or its pip equivalent). You can then launch Spyder by just running python bootstrap.py from the root of the repo.

More complete instructions are available in our Contributing Guide and Install docs.

@rongal47 See the Current working directory tab in Spyder's Preferences for a number of options to configure this to your liking. It can also be set automatically on a per-project basis, if you want to create a project, and you can also seperately customize the directory your scripts run in under the Run tab in preferences or the Run configuration of any individual file.
Silviu Oprea
@silviu-oprea
Feb 25 21:52
@CAM-Gerlach is it on master in the official repo? (https://github.com/spyder-ide/spyder)
CAM Gerlach
@CAM-Gerlach
Feb 25 21:52
@silviu-oprea Yup, exactly.
Silviu Oprea
@silviu-oprea
Feb 25 22:12
@CAM-Gerlach thanks