conda-forge / spyder-feedstock

A conda-smithy repository for spyder.
BSD 3-Clause "New" or "Revised" License
1 stars 17 forks source link

Spyder does not start on a fresh install #13

Closed mwtoews closed 4 years ago

mwtoews commented 7 years ago

On a new Windows 10 x64 system, I've downloaded and installed Anaconda 2.7, and added the conda-forge channel, and ran conda update --all. However, while attempting to run Spyder for the first time, I get an error dialog:

Spyder Please check Spyder installation requirements: PyQt4 4.6+ (or PySide 1.2.0+) is required.

However I see that pyqt 5.6.0 from conda-forge is installed.

mwtoews commented 7 years ago

After running conda install pyqt==4.11.4 Spyder starts normally.

Is there an error with the dependencies?

ccordoba12 commented 7 years ago

Probably an installation problem of Qt5. If you reinstall pyqt 5.6.0 and run in a terminal

qmake -query

what do you get?

mwtoews commented 7 years ago

With PyQT 4.11.4:

(C:\ProgramData\Anaconda2) C:\Windows\System32>qmake -query
QT_INSTALL_PREFIX:C:/ProgramData/Anaconda2/Library
QT_INSTALL_DATA:C:/ProgramData/Anaconda2/Library
QT_INSTALL_DOCS:C:/ProgramData/Anaconda2/Library/doc
QT_INSTALL_HEADERS:C:/ProgramData/Anaconda2/Library/include/qt
QT_INSTALL_LIBS:C:/ProgramData/Anaconda2/Library/lib
QT_INSTALL_BINS:C:/ProgramData/Anaconda2/Library/bin
QT_INSTALL_PLUGINS:C:/ProgramData/Anaconda2/Library/plugins
QT_INSTALL_IMPORTS:C:/ProgramData/Anaconda2/Library/imports
QT_INSTALL_TRANSLATIONS:C:/ProgramData/Anaconda2/Library/translations
QT_INSTALL_CONFIGURATION:C:/ProgramData/Anaconda2/Library
QT_INSTALL_EXAMPLES:C:/ProgramData/Anaconda2/Library
QT_INSTALL_DEMOS:C:/ProgramData/Anaconda2/Library
QMAKE_MKSPECS:C:/ProgramData/Anaconda2/Library\mkspecs
QMAKE_VERSION:2.01a
QT_VERSION:4.8.7

And reinstalling PyQt5:

(C:\ProgramData\Anaconda2) C:\Windows\System32>conda install pyqt==5.6.0
Fetching package metadata ...........
Solving package specifications: ..........

Package plan for installation in environment C:\ProgramData\Anaconda2:

The following packages will be UPDATED:

    anaconda-navigator: 1.2.3-py27_0                  --> 1.3.2-py27_0
    matplotlib:         2.0.0-np111py27_2 conda-forge --> 2.0.0-np111py27_3 conda-forge
    pyqt:               4.11.4-py27_2     conda-forge --> 5.6.0-py27_0      conda-forge
    qt:                 4.8.7-vc9_6       conda-forge [vc9] --> 5.6.2-vc9_1       conda-forge [vc9]

Proceed ([y]/n)?

Unlinking packages ...
[      COMPLETE      ]|##################################################| 100%
Linking packages ...
        1 file(s) copied.                                                |   0%
[      COMPLETE      ]|##################################################| 100%

(C:\ProgramData\Anaconda2) C:\Windows\System32>qmake -query
QT_SYSROOT:
QT_INSTALL_PREFIX:C:/ProgramData/Anaconda2/Library
QT_INSTALL_ARCHDATA:C:/ProgramData/Anaconda2/Library
QT_INSTALL_DATA:C:/ProgramData/Anaconda2/Library
QT_INSTALL_DOCS:C:/ProgramData/Anaconda2/Library/doc
QT_INSTALL_HEADERS:C:/ProgramData/Anaconda2/Library/include/qt
QT_INSTALL_LIBS:C:/ProgramData/Anaconda2/Library/lib
QT_INSTALL_LIBEXECS:C:/ProgramData/Anaconda2/Library/bin
QT_INSTALL_BINS:C:/ProgramData/Anaconda2/Library/bin
QT_INSTALL_TESTS:C:/ProgramData/Anaconda2/Library/tests
QT_INSTALL_PLUGINS:C:/ProgramData/Anaconda2/Library/plugins
QT_INSTALL_IMPORTS:C:/ProgramData/Anaconda2/Library/imports
QT_INSTALL_QML:C:/ProgramData/Anaconda2/Library/qml
QT_INSTALL_TRANSLATIONS:C:/ProgramData/Anaconda2/Library/translations
QT_INSTALL_CONFIGURATION:
QT_INSTALL_EXAMPLES:C:/ProgramData/Anaconda2/Library/examples
QT_INSTALL_DEMOS:C:/ProgramData/Anaconda2/Library/examples
QT_HOST_PREFIX:C:/ProgramData/Anaconda2/Library
QT_HOST_DATA:C:/ProgramData/Anaconda2/Library
QT_HOST_BINS:C:/ProgramData/Anaconda2/Library/bin
QT_HOST_LIBS:C:/ProgramData/Anaconda2/Library/lib
QMAKE_SPEC:win32-msvc2008
QMAKE_XSPEC:win32-msvc2008
QMAKE_VERSION:3.0
QT_VERSION:5.6.2

however, I see the same issue as reported: Spyder does not start, with the same error message.