question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Update to 3.2.5 with pip fails for Python 2.7 as it pulls pyqt5

See original GitHub issue

Description of your problem

Hello there,

So far, working with spyder has been great. I have been using spyder 3.2.4. Today, when the update message for spyder 3.2.5 came in, I tried upgrading to it. But, it failed because it has pyqt5 as a requirement. (I have pyqt4 for python2 and pyqt5 for python3 and as far as I know pyqt5 is very glitchy and not completely compatible with python2)

I also have python3.6 on my computer, which is a windows 7, I tried upgrading the spyder on python3 and that worked without a hitch.

What steps will reproduce the problem?

spyder

Just try installing or upgrading spyder using pip (Python 2.7.14 (32bit), Windows 7, Current spyder version: 3.2.4)

I have never had a problem with upgrades for Python2 so far.

Python3 continues to work without any issues… Is it anything to do with Qt itself?

What is the expected output? What do you see instead? Upgrade to 3.2.5

Please provide any additional information below

Versions and main components

  • Spyder Version: 3.2.4
  • Python Version: 2.7.14/3.6.3 (32-bit)
  • Qt Version: 4.8.7 for python2 and python3
  • PyQt Version: pyQt4 for 2.7.14 and pyQT5 for 3.6.3
  • Operating system: Windows 7

Dependencies

Please go to the menu entry Help > Optional Dependencies (or Help > Dependencies), press the button Copy to clipboard and paste the contents below:

IPython >=4.0;<6.0: 5.5.0 (OK) cython >=0.21 : 0.27.3 (OK) jedi >=0.9.0 : 0.11.0 (OK) nbconvert >=4.0 : 5.3.1 (OK) numpy >=1.7 : 1.11.1 (OK) pandas >=0.13.1 : 0.18.1 (OK) pycodestyle >=2.3 : 2.3.1 (OK) pyflakes >=0.5.0 : 1.6.0 (OK) pygments >=2.0 : 2.2.0 (OK) pylint >=0.25 : 1.7.4 (OK) qtconsole >=4.2.0 : 4.3.1 (OK) rope >=0.9.4 : 0.10.7 (OK) sphinx >=0.6.6 : 1.6.5 (OK) sympy >=0.7.3 : 1.0 (OK)

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:12 (9 by maintainers)

github_iconTop GitHub Comments

1reaction
ccordoba12commented, Dec 28, 2017

should I also tweak the instructions and the CONTRIBUTING.md file to recommend instead, e.g. just installing spyder normally with conda into the environment to get the deps, and then proceeding from there to use the source checkout copy instead?

Sure, the process would be something like

conda install spyder
conda remove spyder
git clone ...
cd your-clone-dir
python bootstrap.py
0reactions
CAM-Gerlachcommented, Dec 28, 2017

Yup, that’s how it did it before. The PR is next in the queue.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Can't install PyQt5 using pip - Stack Overflow
I use Ubuntu 18.04. My python version is: Python 2.7.15rc1. I have already installed python3-pip and tried to install PyQt5 using pip3 install ......
Read more >
Python(x,y) - Downloads.
The following installers will help you keep your Python(x,y) installation up-to-date: only installed plugin will be updated according to the change log.
Read more >
How to Install Python PIP on Windows, Mac, and Linux
Many Python developers rely on a tool called PIP for Python to streamline development. Here's how to install Python PIP.
Read more >
Package List — Spack 0.20.0.dev0 documentation
A package universe and a request to install, remove, or upgrade packages have to ... 2.7.0, 2.6.1, 2.6.0, 2.5.1, 2.5.0; Build Dependencies: python,...
Read more >
Using Python's pip to Manage Your Projects' Dependencies
Package management is so important that Python's installers have included pip since versions 3.4 and 2.7.9, for Python 3 and Python 2, ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found