Spyder 6 IDE: Installation on Windows 11 24H2

preview_player
Показать описание

The Spyder 6 IDE has its own internal conda Python environment with Python, numpy, pandas and matplotlib.

To install other packages such as seaborn, I also demonstrate creating a custom conda (conda-forge community channel) environment with Miniconda. The shell script installation file for Miniconda can be downloaded from Anaconda:

Note that this conda environment requires spyder-kernels. The example conda-forge environment is:

conda create -n spyder-env -c conda-forge python seaborn pyarrow sympy openpyxl xlrd xlsxwriter lxml sqlalchemy tabulate pyqt ffmpeg spyder-kernels

If planning to use TeX with matplotlib plots, MikTeX should be installed and updated:
Upon first launch MikTeX will show a dialog box to install some fonts type1cm, cm-super, geometry, underscore, zhmetrics (these can also be installed using the MikTeX console).

If you want to put plot on top, this can be done with PowerToys:

0:00 Downloading Spyder 6 Standalone Installer
2:02 Spyder 6 Internal conda-forge Python environment
6:12 Installing Miniconda
7:12 Initialising Miniconda
8:43 Updating conda in the base conda Python environment
9:17 Creating a conda-forge Python environment
11:28 Selecting a conda-forge Python environment in Spyder
12:32 Test Code
15:10 Microsoft PowerToys (Always On Top)
13:23 Check for Updates
16:35 Installing MikTeX and using matplotlib with TeX
20:35 Uninstalling Spyder 6

Note any installation issues should be reported on Spyder's GitHub page:

Spyder IDE Playlist:

#spyder #python #windows
Рекомендации по теме