Feb-05-2023, 08:51 PM
Hello again!
I apologize if this is not the right forum for the following problems and doubts.
I was still using Python 3.7.4 for my little simple programs, but I decided to update and use the latest version of Python installing Anaconda, following the instructions of a book. The author said that Anaconda comes with VS Code. Instead, Anaconda provides Spyder, which is fine with me.
I ran one of my old little programs (that I pasted on the left pane of Spyder) by pressing the play button (the little green triangle) and it worked smoothly on the bottom right pane, while on the top right pane some data appeared coloured indicating if the numbers were part of a list or single integers.
Now, my list of doubts and problems:
1) When I launched Spyder from the Anaconda Navigator, a command window pops in and out 6 times, and then it is kept opened, displaying something like "Active code page: 1252" and if I close that command window, Spyder also closes. Is that normal?
2) While using Spyder, a window pops up suggesting to update. It says not to use pip, as it will break my installation. Is that true?
![[Image: New-Spyder-version-5-3-3-available.png]](https://i.postimg.cc/4y92spMR/New-Spyder-version-5-3-3-available.png)
3) So I followed the instructions and use "conda update anaconda" instead. There were a few minor problems but it seemed fine. Then I tried to update Spyder from version 5.2.2 to version 5.3.3, as suggested and using "conda install spyder=5.3.3" and all kind of conflicts appeared. It took ages to finish (more than 4 hours!, as I left and did other things). This is just a tiny portion of endless conflicts found:
![[Image: Endless-conflict-with-packages-for-anaco...-5-3-3.png]](https://i.postimg.cc/K8GXrswK/Endless-conflict-with-packages-for-anaconda-and-spyder-5-3-3.png)
Is that normal?
4) At the beginning of the countless hours that my computer spent trying to update the program, I saw on the command window that some packages were upgraded (something I would expect), but also with other packages, it said they were downgraded (something I would never expect in an update). Is that correct?
5) After all those endless problems, I checked if Spyder had been updated. First from the Anaconda Navigator, but as you can see from the images, it is the 5.2.2 version. I even checked after I launched it:
![[Image: Anaconda-Navigator-with-CMD-Promp-and-Sp...icated.png]](https://i.postimg.cc/xTrNCL7p/Anaconda-Navigator-with-CMD-Promp-and-Spyder-5-2-2-indicated.png)
![[Image: Spyder-IDE-version-5-2-2.png]](https://i.postimg.cc/gkPrdmXf/Spyder-IDE-version-5-2-2.png)
Also, when I launched it from the start menu of Windows, it is still the version 5.2.2. Does that mean that I haven't managed to update Spyder to version 5.3.3?
6) Do I try again to update it or I shouldn't bother? I look for answers somewhere else and I found something that maybe I could use, dalthviz at github.com advised:
https://github.com/spyder-ide/spyder/issues/19965
I guess, in my case, it would be "python=3.9.13" instead of "python=3.10".
As I was a bit worried, I decided to check here, before I make a disaster with my computer.
Sorry for the long post, and thank you very much in advance.
I apologize if this is not the right forum for the following problems and doubts.
I was still using Python 3.7.4 for my little simple programs, but I decided to update and use the latest version of Python installing Anaconda, following the instructions of a book. The author said that Anaconda comes with VS Code. Instead, Anaconda provides Spyder, which is fine with me.
I ran one of my old little programs (that I pasted on the left pane of Spyder) by pressing the play button (the little green triangle) and it worked smoothly on the bottom right pane, while on the top right pane some data appeared coloured indicating if the numbers were part of a list or single integers.
Now, my list of doubts and problems:
1) When I launched Spyder from the Anaconda Navigator, a command window pops in and out 6 times, and then it is kept opened, displaying something like "Active code page: 1252" and if I close that command window, Spyder also closes. Is that normal?
2) While using Spyder, a window pops up suggesting to update. It says not to use pip, as it will break my installation. Is that true?
![[Image: New-Spyder-version-5-3-3-available.png]](https://i.postimg.cc/4y92spMR/New-Spyder-version-5-3-3-available.png)
3) So I followed the instructions and use "conda update anaconda" instead. There were a few minor problems but it seemed fine. Then I tried to update Spyder from version 5.2.2 to version 5.3.3, as suggested and using "conda install spyder=5.3.3" and all kind of conflicts appeared. It took ages to finish (more than 4 hours!, as I left and did other things). This is just a tiny portion of endless conflicts found:
![[Image: Endless-conflict-with-packages-for-anaco...-5-3-3.png]](https://i.postimg.cc/K8GXrswK/Endless-conflict-with-packages-for-anaconda-and-spyder-5-3-3.png)
Is that normal?
4) At the beginning of the countless hours that my computer spent trying to update the program, I saw on the command window that some packages were upgraded (something I would expect), but also with other packages, it said they were downgraded (something I would never expect in an update). Is that correct?
5) After all those endless problems, I checked if Spyder had been updated. First from the Anaconda Navigator, but as you can see from the images, it is the 5.2.2 version. I even checked after I launched it:
![[Image: Anaconda-Navigator-with-CMD-Promp-and-Sp...icated.png]](https://i.postimg.cc/xTrNCL7p/Anaconda-Navigator-with-CMD-Promp-and-Spyder-5-2-2-indicated.png)
![[Image: Spyder-IDE-version-5-2-2.png]](https://i.postimg.cc/gkPrdmXf/Spyder-IDE-version-5-2-2.png)
Also, when I launched it from the start menu of Windows, it is still the version 5.2.2. Does that mean that I haven't managed to update Spyder to version 5.3.3?
6) Do I try again to update it or I shouldn't bother? I look for answers somewhere else and I found something that maybe I could use, dalthviz at github.com advised:
Quote:if you want to install Spyder 5.3.3 through conda, you will need to create a new environment. To do that, you can run something like the following from an Anaconda prompt:
conda create -n spyder-533 python=3.10 spyder=5.3.3
Then you will need to either activate the env and launch from it Spyder by running on an Anaconda prompt something like:
conda activate spyder-533
spyder
https://github.com/spyder-ide/spyder/issues/19965
I guess, in my case, it would be "python=3.9.13" instead of "python=3.10".
As I was a bit worried, I decided to check here, before I make a disaster with my computer.
Sorry for the long post, and thank you very much in advance.