Are you starting the spyder in your venv or the one from the installer?

Kind regards
yfprojects

s.molnar schrieb am Montag, 17. Mai 2021 um 18:38:56 UTC:

> Thanks for the reply. 
>
> I used the new installer and put Spyder in my user file tree.
>
> I just removed Spyder and reinstalled it, this time in a  venv. I got ete 
> same missing kernel message when I ran the new installation for the first 
> time. When I checked the installation I found that the correct kernel had 
> been installed. Of course because my venv contained python3.9 the pip that 
> I used to install the kernel was pip3. Here is what happened:
>
> (Spyder-5.0.2) C:\Users\SPM\Apps\Spyder-5.0.2>pip install 
> spyder-kernels==2.0.2 
> Collecting spyder-kernels==2.0.2 
>   Using cached spyder_kernels-2.0.2-py2.py3-none-any.whl (65 kB) 
> Collecting jupyter-client>=5.3.4 
>   Using cached jupyter_client-6.1.12-py3-none-any.whl (112 kB) 
> Collecting cloudpickle 
>   Using cached cloudpickle-1.6.0-py3-none-any.whl (23 kB) 
> Collecting ipython>=7.6.0 
>   Using cached ipython-7.23.1-py3-none-any.whl (785 kB) 
> Collecting ipykernel>=5.3.0 
>   Using cached ipykernel-5.5.4-py3-none-any.whl (120 kB) 
> Collecting decorator<5 
>   Using cached decorator-4.4.2-py2.py3-none-any.whl (9.2 kB) 
> Collecting pyzmq>=17 
>   Using cached pyzmq-22.0.3-cp39-cp39-win_amd64.whl (1.2 MB) 
> Collecting traitlets>=4.1.0 
>   Using cached traitlets-5.0.5-py3-none-any.whl (100 kB) 
> Collecting tornado>=4.2 
>   Using cached tornado-6.1-cp39-cp39-win_amd64.whl (422 kB) 
> Collecting backcall 
>   Using cached backcall-0.2.0-py2.py3-none-any.whl (11 kB) 
> Collecting pygments 
>   Using cached Pygments-2.9.0-py3-none-any.whl (1.0 MB) 
> Collecting matplotlib-inline 
>   Using cached matplotlib_inline-0.1.2-py3-none-any.whl (8.2 kB) 
> Requirement already satisfied: setuptools>=18.5 in 
> c:\users\spm\apps\spyder-5.0.2\lib\site-packages (from 
> ipython>=7.6.0->spyder-kernels==2.0.2) (56.0.0) 
> Collecting prompt-toolkit!=3.0.0,!=3.0.1,<3.1.0,>=2.0.0 
>   Using cached prompt_toolkit-3.0.18-py3-none-any.whl (367 kB) 
> Collecting pickleshare 
>   Using cached pickleshare-0.7.5-py2.py3-none-any.whl (6.9 kB) 
> Collecting colorama 
>   Using cached colorama-0.4.4-py2.py3-none-any.whl (16 kB) 
> Collecting jedi>=0.16 
>   Using cached jedi-0.18.0-py2.py3-none-any.whl (1.4 MB) 
> Collecting parso<0.9.0,>=0.8.0 
>   Using cached parso-0.8.2-py2.py3-none-any.whl (94 kB) 
> Collecting jupyter-core>=4.6.0 
>   Using cached jupyter_core-4.7.1-py3-none-any.whl (82 kB) 
> Collecting python-dateutil>=2.1 
>   Using cached python_dateutil-2.8.1-py2.py3-none-any.whl (227 kB) 
> Collecting pywin32>=1.0 
>   Using cached pywin32-300-cp39-cp39-win_amd64.whl (9.2 MB) 
> Collecting wcwidth 
>   Using cached wcwidth-0.2.5-py2.py3-none-any.whl (30 kB) 
> Collecting six>=1.5 
>   Using cached six-1.16.0-py2.py3-none-any.whl (11 kB) 
> Collecting ipython-genutils 
>   Using cached ipython_genutils-0.2.0-py2.py3-none-any.whl (26 kB) 
> Installing collected packages: ipython-genutils, wcwidth, traitlets, six, 
> pywin32, parso, tornado, pyzmq, python-dateutil, pygments, prompt-toolkit, 
> pickleshare, matplotlib-inline, jupyter-core, jedi, decorator, colorama, 
> backcall, jupyter-client, ipython, ipykernel, cloudpickle, spyder-kernels 
> Successfully installed backcall-0.2.0 cloudpickle-1.6.0 colorama-0.4.4 
> decorator-4.4.2 ipykernel-5.5.4 ipython-7.23.1 ipython-genutils-0.2.0 
> jedi-0.18.0 jupyter-client-6.1.12 jupyter-core-4.7.1 
> matplotlib-inline-0.1.2 parso-0.8.2 pickleshare-0.7.5 prompt-toolkit-3.0.18 
> pygments-2.9.0 python-dateutil-2.8.1 pywin32-300 pyzmq-22.0.3 six-1.16.0 
> spyder-kernels-2.0.2 tornado-6.1 traitlets-5.0.5 wcwidth-0.2.5 
>  
> (Spyder-5.0.2) C:\Users\SPM\Apps\Spyder-5.0.2>
>
> So, problem solver, right?
>
> Unfortunately not, the same error message was generated (Screenshot_2. 
> attached).
>
>
>
> On 05/12/2021 01:44 AM, yfprojects wrote:
>
> Hi,
>
> it looks like your are calling the `pip` for Python2. I am not sure for 
> Windows but the pip for Python 3 might be called using `pip3`.
>
> Kind regards
> yfprojects
>
> s.molnar schrieb am Dienstag, 11. Mai 2021 um 11:17:52 UTC:
>
>> Thanks for the reply. Still having the same problem.
>>
>> I downloaded the exe installer and it ran without problems but I got, on 
>> execution:
>>
>>
>>
>>
>> On 05/11/2021 01:39 AM, Björn Johansson wrote:
>>
>> It works fine for me. Try spyder-kernels  2.0.2 /bjorn
>>
>> (base) bjorn@bjorn-ThinkPad-T450s:~$ conda list spyd
>> # packages in environment at /home/bjorn/anaconda3:
>> #
>> # Name                    Version                   Build  Channel
>> pyls-spyder               0.3.2              pyhd8ed1ab_0    conda-forge
>> spyder                    5.0.2            py38h578d9bd_0    conda-forge
>> spyder-kernels            2.0.2            py38h578d9bd_0    conda-forge
>> spyder-notebook           0.1.4                      py_0    conda-forge
>> (base) bjorn@bjorn-ThinkPad-T450s:~$ 
>>
>>
>> On Tuesday, May 11, 2021 at 6:06:38 AM UTC+1 s.molnar wrote:
>>
>>> Slight problem:
>>>
>>>  
>>>
>>> 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.*0.*
>>>
>>>  
>>>
>>> Dosen’t work.
>>>
>>>  
>>>
>>> *From:* [email protected] <[email protected]> *On Behalf 
>>> Of *Carlos Córdoba
>>> *Sent:* Monday, May 10, 2021 12:43 PM
>>> *To:* spyder <[email protected]>
>>> *Subject:* [spyder] [ANN] Spyder 5.0.2 is released!
>>>
>>>  
>>>
>>> Hi all,
>>>
>>> On the behalf of the Spyder Project Contributors 
>>> <https://github.com/spyder-ide/spyder/graphs/contributors>, I’m pleased 
>>> to announce that Spyder *5.0.2* has been released and is available for 
>>> Windows, GNU/Linux and MacOS X: 
>>> https://github.com/spyder-ide/spyder/releases
>>>
>>> This release comes more than three weeks after version 5.0.1 and 
>>> contains the following important fixes:
>>>
>>>    - Fix error when restarting kernels. 
>>>    - Fix outline, folding and go-to-defintion when Kite is installed. 
>>>    - Make Plots pane show again separate plots generated in different 
>>>    consoles. 
>>>    - Fix preferences error when following Kite’s tutorial. 
>>>
>>> In this release we fixed 14 issues and merged 19 pull requests that 
>>> amount to more than 60 commits. For a full list of fixes, please see our 
>>> Changelog <https://github.com/spyder-ide/spyder/blob/5.x/CHANGELOG.md>.
>>>
>>> Don’t forget to follow Spyder updates/news on the project’s website 
>>> <https://www.spyder-ide.org>.
>>>
>>> Last, but not least, we welcome any contribution that helps making 
>>> Spyder an efficient scientific development and computing environment. Join 
>>> us to help creating your favorite environment!
>>>
>>> Enjoy!
>>> Carlos
>>>
>>> -- 
>>> 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/6cd46255-ad49-7745-3c7d-aa14326e764d%40gmail.com
>>> .
>>>
>> -- 
>> 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/196244ca-5c70-4e97-886b-13d6ebb94758n%40googlegroups.com
>> .
>>
>>
>> -- 
>> Stephen P. Molnar, Ph.D.www.molecular-modeling.net614.312.7528 
>> <%28614%29%20312-7528> (c)
>> Skype:  smolnar1
>>
>>
>> -- 
> 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/94b6bc8c-d63f-4579-a753-329092329d81n%40googlegroups.com
>  
> <https://groups.google.com/d/msgid/spyderlib/94b6bc8c-d63f-4579-a753-329092329d81n%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>
>
> -- 
> Stephen P. Molnar, Ph.D.www.molecular-modeling.net614.312.7528 
> <(614)%20312-7528> (c)
> Skype:  smolnar1
>
>
>

-- 
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/c431c88a-2335-43d8-92e0-45e199a33ae2n%40googlegroups.com.

Reply via email to