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/830ff220-8c00-454f-8af4-e8801b637ba7n%40googlegroups.com.
