Git Product home page Git Product logo

Comments (3)

PhilipYip1988 avatar PhilipYip1988 commented on June 29, 2024

I think the standalone installer only comes with Python 3.10.

The conda install instructions on the Spyder 6.0.0a5 Release Notes also default to Python 3.10:

conda create -n spyder-env -c conda-forge python=3.10
conda activate spyder-env
conda install -c conda-forge/label/spyder_dev -c conda-forge/label/spyder_kernels_rc -c conda-forge spyder=6.0.0a5

However if search is used, instead of install in the third command:

conda install -c conda-forge/label/spyder_dev -c conda-forge/label/spyder_kernels_rc -c conda-forge spyder=6.0.0a5

There is a Python 3.11 version but no Python 3.12 version:

spyder

Spyder is an IDE that uses lots of Python libraries as dependencies and it is likely that one or more of these dependencies aren't updated to Python 3.12 yet.

I installed the Python 3.11 version, alongside some of the optional dependencies:

conda create -n spyder-env -c conda-forge python=3.11
conda activate spyder-env
conda install -c conda-forge/label/spyder_dev -c conda-forge/label/spyder_kernels_rc -c conda-forge spyder=6.0.0a5
conda install -c conda-forge cython seaborn scikit-learn pyarrow sympy openpyxl xlrd xlsxwriter lxml sqlalchemy tabulate pyqt
image

The Status of Python Versions shows that Python 3.12 is still in the bugfix stage and therefore it is still considered somewhat unstable.

It is generally recommended to use an earlier version that is on the security stage, especially with a large Python environment with a large number of packages which is required for Spyder. This would be Python 3.11 or Python 3.10 as Python 3.9 and Python 3.8 are approaching end of life. The Anaconda 2024-02 installer Anaconda 2024-02 Release Notes which comes with Spyder 5.4.3, for example uses Python 3.11.

from spyder.

ccordoba12 avatar ccordoba12 commented on June 29, 2024

@Firestar-Reimu thanks for reporting and @PhilipYip1988 for your thoughtful comment.

@Firestar-Reimu, you said:

Is there any problem running spyder 6.0 on 3.12?

No, due to the reasons explained by @PhilipYip1988. We don't use the latest Python version in our installers to avoid potential issues while it's still being developed.

However, that doesn't make much a of a difference because the Spyder installers come with the most basic Python libraries for scientific development. So, users have to connect Spyder to a separate Python installation that comes with a larger amount of packages (usually Anaconda). That's explained in our docs:

http://docs.spyder-ide.org/current/faq.html#using-packages-installer

@PhilipYip1988, you said:

It is generally recommended to use an earlier version that is on the security stage, especially with a large Python environment with a large number of packages which is required for Spyder. This would be Python 3.11 or Python 3.10

That's a very good point and we're going to update our installers to use Python 3.11 before the final 6.0 release.

from spyder.

ccordoba12 avatar ccordoba12 commented on June 29, 2024

@mrclary, could you take care of updating Python to 3.11 in our installers? Thanks!

from spyder.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.