On 03/23/2015 02:44 PM, Douglas De Rizzo Meneghetti wrote:
> Hi guys, I'm having some issues installing Spyder through pip3. I'm
> running Ubuntu 14.04, and apt-get has an outdated version
> <
https://launchpad.net/ubuntu/+source/spyder> of Spyder (2.3.0) which
> works appropriately and is installed like this:
>
> |
> sudo apt-getinstall spyder3
> |
>
> I uninstalled this version and successfully installed Spyder 2.3.4 via
> pip3, along with most of the other recommended packages. However, unlike
> the one installed via apt-get, this version of Spyder fails to find
> PyQt4. I tried running it after installing the PyQt4 package via apt-get
> (python-qt4) and then, by using the binary in the official website
> <
http://www.riverbankcomputing.com/software/pyqt/download>, but both
> approaches failed.
>
> After failing with PyQt4, I installed PySide 1.2.2 from pip3, but
> running Spyder afterwards gives me the following error:
>
> /libpyside.cpython-34m.so.1.2: cannot open shared object file: No such
> file or directory/.
>
> Then, with Spyder 2.3.0 installed, I used
>
> |
> sudo pip3 install --upgrade spyder
> |
>
> to see if I could upgrade the distribution I had installed via apt-get
> (bad idea, I know, but bear with me). Even though pip3 said it had
> uninstalled Spyder 2.3.0 and installed 2.3.4, when I open Spyder and go
> to the "About" section, I'm still using version 2.3.0.
>
> Can someone lend me a hand?
Questions:
1) What versions of Python do you have installed?
2) What does:
dpkg -l | grep -i pyqt
show?
3) What does:
pip freeze | grep -i Spyder
show?
Comments:
1) Stick with PyQt. PySide is just an exercise in pain.
2) In Spyder go to Help-->Report Issue and click on it. It will take you
to the issues Web page, but in the issue will be a report like this:
## Version and main components
* Spyder Version: 2.3.3
* Python Version: 2.7.6
* Qt Version : 4.8.5, PyQt4 (API v2) 4.10.3 on Linux
## Optional dependencies
IPython >=1.0 : 2.3.0 (OK)
jedi >=0.8.1 : 0.8.1-final0 (OK)
matplotlib >=1.0: 1.3.1 (OK)
pandas >=0.13.1 : 0.13.1-656-gf30278e (OK)
pep8 >=0.6 : 1.5.7 (OK)
psutil >=0.3 : 2.2.1 (OK)
pyflakes >=0.5.0: 0.7.3 (OK)
pygments >=1.6 : 1.6 (OK)
pylint >=0.25 : 1.4.3 (OK)
rope >=0.9.2 : 0.10.2 (OK)
sphinx >=0.6.6 : 1.2.3 (OK)
sympy >=0.7.0 : None (NOK)
zmq >=2.1.11 : 14.5.0 (OK)
>
> --
> 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
spyderlib+...@googlegroups.com
> <mailto:
spyderlib+...@googlegroups.com>.
> To post to this group, send email to
spyd...@googlegroups.com
> <mailto:
spyd...@googlegroups.com>.
> Visit this group at
http://groups.google.com/group/spyderlib.
> For more options, visit
https://groups.google.com/d/optout.
--
Adrian Klaver
adrian...@aklaver.com