Hello,
It looks like *spyder-kernels* is already installed in your standard Python 
but the wrong version of it.
Try `pip install -U "spyder-kernel==2.0.*"` instead to update it.

Kind regards
yfprojects

[email protected] schrieb am Dienstag, 8. Juni 2021 um 13:14:30 UTC:

> Hi team, 
>
> Both options didn't work. Without Anaconda, with my direct path 
> as @yfprojects suggested, I get the following:
>
> Your Python environment or installation doesn't have the spyder‑kernels 
> module 
> or the right version of it installed (>= 2.0.1 and < 2.1.0). Without this 
> module is not possible for Spyder to create a console for you.
>
> You can install it by running in a system terminal:
>
> conda install spyder‑kernels=2.0
>
> or
>
> pip install spyder‑kernels==2.0.*
>
>
> When I try the pip install spyder-kernels==2.0.* or pip3 install 
> spyder-kernels==2.0.*, I get "Requirement already satisfied" on all kernels.
>
> I'll completely uninstall Anaconda and re-install it again. Something 
> majorly is messed up in my environment :) just can't figure it out what.
>
> Thanks,
>
> Alper
>
> On Thu, Jun 3, 2021 at 7:53 AM yfprojects <[email protected]> wrote:
>
>> Hi,
>> Philip correctly states how to install spyder 5.0.3 inside Anaconda. This 
>> allows you to use the python packages in the base environment inside 
>> spyder. You can install new ones using *conda* or the Anaconda Navigator.
>> If you don't want to use Anaconda,  you can also select the normal 
>> (cpython) interpreter as python interpreter in *Preferences *> *Python 
>> Interpreter *> *Python Interpreter *>* Use the following Python 
>> interpreter*. Spyder expects the executable file of the program that is 
>> also run by the `python3` terminal command. On MacOS this should be 
>> /usr/bin/python3. Now you can install packages using pip and use those 
>> packages in the console or when executing a program in spyder.
>>
>> Kind regards
>> yfprojects
>>
>> [email protected] schrieb am Donnerstag, 3. Juni 2021 um 09:34:24 UTC:
>>
>>> The direct download has its own Python environment which is independent 
>>> of Anaconda. It has numpy, matplotlib, pandas and scipy but none of the 
>>> additional data science libraries. It also can't use pip and conda commands.
>>>
>>> Ensure you have anaconda 2021-05 installed (the latest standalone 
>>> installer).
>>> In Windows open up the Anaconda PowerShell Prompt or in Linux/Mac open 
>>> up the Terminal.
>>> Type in:
>>> conda update --all
>>> This should update the Anaconda Python distribution to the latest stable 
>>> version, specifically updating Python to a compatible version for Spyder 5.
>>>
>>> Next search the anaconda and conda-forge channels for the latest Spyder 
>>> release:
>>> conda search --channel anaconda spyder
>>> conda search --channel conda-forge spyder
>>>
>>> At the time of writing the conda-forge channel is more up to date than 
>>> the anaconda channel.
>>> Type in:
>>> conda install --channel conda-forge spyder=5.0.3
>>> On my Linux and Windows 10 install not specifying the version number 
>>> preferenced spyder version 4.2.5, so I had to specify 5.0.3 to begin the 
>>> install.
>>>
>>> On Thursday, June 3, 2021 at 12:30:20 AM UTC+1 [email protected] wrote:
>>>
>>>> Hi all,
>>>>
>>>> Just upgraded to 5.0.3 with direct download.
>>>>
>>>> Getting the following:
>>>> import mysql.connector
>>>> ModuleNotFoundError: No module named 'mysql'
>>>>
>>>> I have tried the following:
>>>>
>>>> pip3 install mysql-connector-python <- didn't solve it
>>>>
>>>> pip3 install mysql-connector <- didn't solve it
>>>>
>>>> pip3 install mysql-connector-python-rf <- didn't solve it
>>>>
>>>> conda install -c anaconda mysql-connector-python <-this one failed
>>>>
>>>> failed                                           
>>>>
>>>> UnsatisfiableError: The following specifications were found
>>>>
>>>> to be incompatible with the existing python installation in your 
>>>> environment:
>>>>
>>>> Specifications:
>>>>
>>>>   - mysql-connector-python -> 
>>>> python[version='>=2.7,<2.8.0a0|>=3.7,<3.8.0a0|>=3.6,<3.7.0a0|>=3.5,<3.6.0a0']
>>>>
>>>> Your python: python=3.8
>>>>
>>>> Does that mean I have to downgrade my python version?
>>>>
>>>> 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/d8f84ff3-f539-4969-8e16-1194f362609en%40googlegroups.com
>>  
>> <https://groups.google.com/d/msgid/spyderlib/d8f84ff3-f539-4969-8e16-1194f362609en%40googlegroups.com?utm_medium=email&utm_source=footer>
>> .
>>
>

-- 
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/85af4c84-eef9-458b-a2d8-a2ae7f37af97n%40googlegroups.com.

Reply via email to