How to install 3rd party module/dependencies for Spyder (dmg version)

243 views
Skip to first unread message

Tiger

unread,
Mar 7, 2021, 5:41:18 PM3/7/21
to spyder
hello, I've installed 4.2.3 (using dmg package ) on Catalina, any trying to install Scikit-learn, but the only guide for that is using anaconda, which's not my case.
any suggestions for making it without involving anaconda? thanks!

Carlos Córdoba

unread,
Mar 7, 2021, 5:56:17 PM3/7/21
to spyd...@googlegroups.com
Hi,

If you want to use to other modules that don't come with our installer, you need to do the following:

1. Install Miniconda: https://docs.conda.io/en/latest/miniconda.html

2. Create a conda environment, as explained here:

https://docs.conda.io/projects/conda/en/latest/user-guide/tasks/manage-environments.html#creating-an-environment-with-commands

with the packages you want to use and `spyder-kernels`. In your case you need to run these commands in a system terminal (i.e. Terminal.app):

conda activate base
conda create -n myenv spyder-kernels scikit-learn

3. Connect Spyder to that environment by following these instructions:

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


Cheers,
Carlos

El 5/03/21 a las 10:26 a. m., Tiger escribió:
hello, I've installed 4.2.3 (using dmg package ) on Catalina, any trying to install Scikit-learn, but the only guide for that is using anaconda, which's not my case.
any suggestions for making it without involving anaconda? thanks!
--
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/e1fdc58b-ca02-49fd-9307-f003566041d8n%40googlegroups.com.

Tiger

unread,
Mar 9, 2021, 1:10:05 AM3/9/21
to spyder
Thanks you, Carlos

one question, does it mean I'll have to reinstall all 3rd party dependancies in Miniconda environment, even for those bundled with Spyder installer, like numpy, etc.

Carlos Córdoba

unread,
Mar 9, 2021, 5:08:42 PM3/9/21
to spyd...@googlegroups.com
Hi,

Yes, you will have to.


Cheers,
Carlos

El 9/03/21 a las 1:10 a. m., Tiger escribió:
Reply all
Reply to author
Forward
0 new messages