Spyder Installation Centos 7 and crashing during running

1,549 views
Skip to first unread message

MOHD HOMAIDUR RAHMAN

unread,
Jun 27, 2015, 9:53:36 AM6/27/15
to spyd...@googlegroups.com
Dear All 

I am trying to install spyder on Centos 7, 64 bit system but it is showing the following error.

I downloaded the binary file and proceed as given in README file. 

 python setup.py install

After Successfully installation, When I am try to run spyder. It is showing following error that is attached as png and after pressing Ok it is showing following error in log file and terminal both.

Traceback (most recent call last):
  File "/usr/lib/python2.7/site-packages/spyderlib/spyder.py", line 2336, in main
    mainwindow = run_spyder(app, options, args)
  File "/usr/lib/python2.7/site-packages/spyderlib/spyder.py", line 2220, in run_spyder
    main.setup()
  File "/usr/lib/python2.7/site-packages/spyderlib/spyder.py", line 748, in setup
    message=_("Spyder Internal Console\n\n"
  File "/usr/lib/python2.7/site-packages/spyderlib/plugins/console.py", line 74, in __init__
    self.find_widget.set_editor(self.shell)
  File "/usr/lib/python2.7/site-packages/spyderlib/widgets/findreplace.py", line 260, in set_editor
    from spyderlib.qt.QtWebKit import QWebView
  File "/usr/lib/python2.7/site-packages/spyderlib/qt/QtWebKit.py", line 10, in <module>
    from PyQt4.QtWebKit import *  # analysis:ignore
ImportError: No module named QtWebKit

So after that I install PyQt4.QtWebkit and again re run same. I am getting the same error above.

Thanks
Rahman

spyder.png

Adrian Klaver

unread,
Jun 27, 2015, 10:03:46 AM6/27/15
to spyd...@googlegroups.com
On 06/26/2015 10:40 PM, MOHD HOMAIDUR RAHMAN wrote:
> Dear All
>
> I am trying to install spyder on Centos 7, 64 bit system but it is
> showing the following error.

What version of Spyder?

>
> I downloaded the binary file and proceed as given in README file.

What binary file?
There where no errors when you did the re-install of Spyder?

Did you try from a fresh install directory?

>
> Thanks
> Rahman
>



--
Adrian Klaver
adrian...@aklaver.com

MOHD HOMAIDUR RAHMAN

unread,
Jun 27, 2015, 11:31:32 AM6/27/15
to spyd...@googlegroups.com
On Sat, Jun 27, 2015 at 7:33 PM, Adrian Klaver <adrian...@aklaver.com> wrote:
On 06/26/2015 10:40 PM, MOHD HOMAIDUR RAHMAN wrote:
Dear All

I am trying to install spyder on Centos 7, 64 bit system but it is
showing the following error.

What version of Spyder?

spyder-2.3.5.2
 

I downloaded the binary file and proceed as given in README file.

What binary file?
​I downloaded binary zip file from ​
 


​and try to install.

 No it is not working I try with different source file also.​




Thanks
Rahman




--
Adrian Klaver
adrian...@aklaver.com


--
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.
To post to this group, send email to 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

unread,
Jun 27, 2015, 12:33:05 PM6/27/15
to spyd...@googlegroups.com
On 06/27/2015 07:41 AM, MOHD HOMAIDUR RAHMAN wrote:
>
> On Sat, Jun 27, 2015 at 7:33 PM, Adrian Klaver
> <adrian...@aklaver.com <mailto:adrian...@aklaver.com>> wrote:
>
> On 06/26/2015 10:40 PM, MOHD HOMAIDUR RAHMAN wrote:
>
> Dear All
>
> I am trying to install spyder on Centos 7, 64 bit system but it is
> showing the following error.
>
>
> What version of Spyder?
>
> *spyder-2.3.5.2*
>
>
> I downloaded the binary file and proceed as given in README file.
>
>
> What binary file?
>
> ​I downloaded binary zip file from ​
>
> https://github.com/spyder-ide/spyder/releases
>

>
> No it is not working I try with different source file also.​

So if you open a Python or IPython shell from the command line and do:

from PyQt4.QtWebKit import *

what happens?

1) If it fails how did you install PyQt4?

Or more the point, you said before:

'So after that I install PyQt4.QtWebkit ..'

Does that mean you installed all of PyQt4 or some subset?


2) If it does not fail then track down where the PyQt4 package is
located and report back.

Adrian Klaver

unread,
Jun 27, 2015, 12:59:19 PM6/27/15
to spyd...@googlegroups.com
On 06/27/2015 07:41 AM, MOHD HOMAIDUR RAHMAN wrote:
>
> On Sat, Jun 27, 2015 at 7:33 PM, Adrian Klaver
> <adrian...@aklaver.com <mailto:adrian...@aklaver.com>> wrote:

> Did you try from a fresh install directory?
>
>
> No it is not working I try with different source file also.​

Had another thought.

Are you trying to run this in a virtualenv?

Carlos Córdoba

unread,
Jun 28, 2015, 1:57:56 PM6/28/15
to spyd...@googlegroups.com
Hi,

You need to install these packages

    qtwebkit
    PyQt4-webkit

to solve your problem. I think they are not part of the official CentOS repos, so you need to look for them in external ones (like EPEL).


Cheers,
Carlos

El 27/06/15 a las 00:40, MOHD HOMAIDUR RAHMAN escribió:

MOHD HOMAIDUR RAHMAN

unread,
Jun 29, 2015, 8:10:33 AM6/29/15
to spyd...@googlegroups.com

On Sun, Jun 28, 2015 at 11:27 PM, Carlos Córdoba <ccord...@gmail.com> wrote


​Hi Carlos and ​
 
​Adrian

Thanks for help

Actually ​PyQt4-webkit is not install, qtwebkit is already install from EPEL repository. The above error due to this package only not wit qtwebkit.


​Thanks & regards
Rahman​

Adrian Klaver

unread,
Jun 29, 2015, 9:21:50 AM6/29/15
to spyd...@googlegroups.com
On 06/29/2015 01:03 AM, MOHD HOMAIDUR RAHMAN wrote:
>
> On Sun, Jun 28, 2015 at 11:27 PM, Carlos Córdoba <ccord...@gmail.com
> <mailto:ccord...@gmail.com>> wrote
>
>
> ​Hi Carlos and ​
> ​Adrian
>
> Thanks for help
>
> Actually ​PyQt4-webkit is not install, qtwebkit is already install from
> EPEL repository. The above error due to this package only not wit qtwebkit.

So, is the problem fixed?

>
>
> ​Thanks & regards
> Rahman​
>
>
> You need to install these packages
>
> qtwebkit
> PyQt4-webkit
>
> to solve your problem. I think they are not part of the official
> CentOS repos, so you need to look for them in external ones (like EPEL).
>
>



--
Adrian Klaver
adrian...@aklaver.com

Carlos Córdoba

unread,
Jun 29, 2015, 11:53:57 AM6/29/15
to spyd...@googlegroups.com
I didn't understand if it is solved either :-)

El 29/06/15 a las 08:21, Adrian Klaver escribió:

MOHD HOMAIDUR RAHMAN

unread,
Jun 29, 2015, 1:55:49 PM6/29/15
to spyd...@googlegroups.com
yes it is solved.

Thanks

'''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''
Md Homaidur Rahman
PhD Research Scholar
Computational Biophysics Lab.
Department of Biotechnology
Indian Institute of Technology-Madras
Chennai-600 036
Mobile No = +91- 7845991785

'''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''

Reply all
Reply to author
Forward
0 new messages