Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Spyder reports PyQT4 v4.4+ required (v4.10.2 installed) #1482

Closed
spyder-bot opened this issue Feb 17, 2015 · 5 comments
Closed

Spyder reports PyQT4 v4.4+ required (v4.10.2 installed) #1482

spyder-bot opened this issue Feb 17, 2015 · 5 comments

Comments

@spyder-bot
Copy link
Collaborator

From col.b.r...@gmail.com on 2013-07-07T16:45:30Z

What steps will reproduce the problem?

1.Attempt to run Spyder What is the expected output? What do you see instead? Expected: Spyder runs.
Actual: "Please check Spyder installation requirements: PyQT4 4.4+ is required (found v4.10.2)." What version of the product are you using? On what operating system? Spyder v2.2.0+dfsg-1 from Debian testing repository.

Please provide any additional information below

. 4.4 > 4.10 - version naming conventions are silly, aren't they?

Original issue: http://code.google.com/p/spyderlib/issues/detail?id=1482

@spyder-bot
Copy link
Collaborator Author

From pierre.raybaut on 2013-07-08T08:41:26Z

This is an IPython issue. See issue #1302 , comment #4.

Status: Duplicate
Mergedinto: 1302

@spyder-bot
Copy link
Collaborator Author

From col.b.r...@gmail.com on 2013-07-08T09:37:15Z

Not really. If I edit spyderlib/requirements.py to pass the test in function check_qt() then Spyder runs correctly and the IPython interpreter works normally. It's simply that the test in requirements.py is naively comparing version numbers. Four point four is a lesser version than four point ten, but four point four is greater than four point one zero.

@spyder-bot
Copy link
Collaborator Author

From pierre.raybaut on 2013-07-09T01:44:45Z

The test is not as naive as you describe, so I guess that you don't really use Spyder v2.2.0: https://code.google.com/p/spyderlib/source/browse/spyderlib/requirements.py#42 The test implemented since v2.1.13.1 is based on distutils LooseVersion function which is -AFAIK- the cleanest way to compare versions.

@spyder-bot
Copy link
Collaborator Author

From col.b.r...@gmail.com on 2013-07-09T02:37:24Z

Sorry, it's me that's naive! I foolishly believed apt when it reported Spyder's version as being 2.2.0. Spyder reports itself as being v2.1.11. I will now hang my head in shame.

@spyder-bot
Copy link
Collaborator Author

From pierre.raybaut on 2013-07-09T06:22:19Z

No problem.

Mergedinto: 1291

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant