You can select another Python interpreter (i.e. environment) under Preferences  
-> Python Interpreter. This one can be different from the one you run Spyder 
from.

Cheers,
F

Am June 7, 2021 2:17:27 PM UTC schrieb yfprojects <[email protected]>:
>Hello,
>
>I don't know whether there is a way to upgrade Spyder's python if you
>are 
>using the stand-alone version. But you can use Anaconda and its Spyder 
>version instead. You can follow these instructions 
><https://groups.google.com/g/spyderlib/c/N1F8lc9f_6M/m/BcAvMD9lBwAJ> 
>(without the steps for installing sklearn) to either use Spyder for 
>Anaconda or your own version of Python with the stand-alone Spyder. 
>In the Anaconda Navigator you can update the Python version the tab 
>*Environments*. There you can search for the 'python' package and
>update it 
>to any version you like.
>
>Kind regards
>yfprojects
>
>[email protected] schrieb am Montag, 7. Juni 2021 um 02:06:24 UTC:
>
>> I use Spyder 5.0.3. 
>> While running running some statistics code I noticed that the 
>> statistics.multimode(...) statement gave me an error and when I
>checked 
>> the version 
>> of python my Spyder was using 
>> import sys
>> print(sys.version), 
>> I've got version 3.7.9
>> That explained the error. The Python version that Spyder uses MUST me
>3.8 
>> or higher.
>> The question is:
>> How can I update Spyder 5.0.3 to use a later version of Python?
>>
>>
>
>-- 
>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/d0481313-46d6-4bb6-ae7a-596b406d86a0n%40googlegroups.com.

-- 
Sent from my Java VM aka "Android" phone with K-9 Mail.

-- 
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/14475AA3-A3DD-4C0E-A603-41F53CF92268%40googlemail.com.

Reply via email to