Hello,

in standard python new packages (like folium) are installed using the `pip` 
package manager. There is also a concept called virtual environments that 
lets you create multiple environments with different installed packages.
If you installed Spyder using the stand-alone windows installer, spyder 
will be using the standard python distribution, but not the main or default 
virtual environment. This can be changed. As explained in the Spyder FAQ 
<http://docs.spyder-ide.org/current/faq.html#using-existing-environment>.
If you installed Spyder using a anaconda distribution of python, you should 
be able to install packages using the graphical anaconda navigator (might 
not be the right name).

Since I am not using Windows, I am not sure how to use pip there but I 
looked in the Internet: I found a (kids) friendly guide on raspberrypi.org 
which normally provides well working tutorials. This one is about `pip` on 
Windows. 
<https://projects.raspberrypi.org/en/projects/using-pip-on-windows/3>
If you have more questions, don't hesitate to ask.

Kind regards,
yfprojects
[email protected] schrieb am Donnerstag, 1. April 2021 um 22:50:02 UTC:

> Hi there,
> I am trying to prepare a lesson for my students on Spider and I'm quite 
> new to it
> Computers are all running windows 10 and Spyder 4.2
> I am not managing to import folium library
> I wan to install it but don't know really how, I searched some forums and 
> I found
> "conda install folium" 
> but it doesn't work, I have an error message saying : ValueError: The 
> python kernel does not appear to be a conda environment.  Please use ``%pip 
> install`` instead.
> if I do run "%pip install folium" it says : 'C:\Program' is not recognized 
> as an internal or external command, operable program or batch file.
>
> I am kinda confused and I am stuck with this, please can someone help
> 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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/spyderlib/df89bf6e-bc1b-4ca7-8c2d-5c3ec1ef2f2en%40googlegroups.com.

Reply via email to