These are chat archives for spyder-ide/public

22nd
Jun 2018
CAM Gerlach
@CAM-Gerlach
Jun 22 2018 00:07
The key thing is you'll need to make sure to install the airflow package into the same environment as Spyder (or, technically, its Python kernel). This will be easier in the forthcoming version, 3.3. Once that gets merged, I'll add a section in the Spyder documentation that makes this clear; see spyder-ide/spyder-docs#54 .
Paul Gureghian
@paulgureghian_twitter
Jun 22 2018 18:46
image.png
Paul Gureghian
@paulgureghian_twitter
Jun 22 2018 19:14
Do I set the venv in navigator or spyder ?
Carlos Cordoba
@ccordoba12
Jun 22 2018 21:11
@paulgureghian_twitter, there are no Windows package for airflow, sorry
CAM Gerlach
@CAM-Gerlach
Jun 22 2018 22:07
Also, for the record, you don't want to mix venvs with conda; use conda-envs instead. You can either set the proper environment in Anaconda Navigator that you have Spyder and your other desired packages installed in to, and then launch Spyder from there, or you can activate the environment on the command line and then launch Spyder in it with spyder. Additionally, there will be changes coming soon, in both Spyder 3.3 and then in Spyder 4 making this much easier to manage with and within Spyder, and as mentioned I'll write up a short section in the docs describing the current and new ways to do this (see spyder-ide/spyder#7306 for the changes.
Paul Gureghian
@paulgureghian_twitter
Jun 22 2018 23:47
whats the whole thing with virtual env or conda env anyways ? ive not used them much if at all. do i need one to get the most out of spyder ? or is it just like having a virtual machine in which to test things and make mistakes in ?
if anaconda doesnt have the python package i want to use in spyder, will a virtual env / conda env make any difference ? another alternative would be to use another IDE like pycharm and try to use the needed packages there with the help of pip ?