Discussion:
[Eric] How to install QScintilla ?
projetmbc
2010-07-04 12:25:18 UTC
Permalink
Hello,
I've tried to install Eric via the directory "eric5-5.0.0" and using "sudo python3 /Users/cbal/Downloads/eric5-5.0.0/install.py". I've had the following message :
===========================
Checking dependencies
Python Version: 3.1.1
Found PyQt
Sorry, please install QScintilla2 and
it's PyQt4 wrapper.
Error: cannot import name Qsci
===========================

How can I intsall the missing libraries ?

Any clue is welcomed.

Best regards.
Christophe.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.riverbankcomputing.com/pipermail/eric/attachments/20100704/d43bb796/attachment.html>
projetmbc
2010-07-04 12:30:20 UTC
Permalink
I've forgot to write that I'm under Mac Snow Leopard.

--------------------------------------------------------------------------------------------------

Hello,
I've tried to install Eric via the directory "eric5-5.0.0" and using "sudo python3 /Users/cbal/Downloads/eric5-5.0.0/install.py". I've had the following message :
===========================
Checking dependencies
Python Version: 3.1.1
Found PyQt
Sorry, please install QScintilla2 and
it's PyQt4 wrapper.
Error: cannot import name Qsci
===========================

How can I intsall the missing libraries ?

Any clue is welcomed.

Best regards.
Christophe.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.riverbankcomputing.com/pipermail/eric/attachments/20100704/96bf80b2/attachment.html>
detlev
2010-07-04 13:00:23 UTC
Permalink
Post by projetmbc
Hello,
I've tried to install Eric via the directory "eric5-5.0.0" and using
"sudo python3 /Users/cbal/Downloads/eric5-5.0.0/install.py". I've had the
following message : ===========================
Checking dependencies
Python Version: 3.1.1
Found PyQt
Sorry, please install QScintilla2 and
it's PyQt4 wrapper.
Error: cannot import name Qsci
===========================
How can I intsall the missing libraries ?
Any clue is welcomed.
Best regards.
Christophe.
Get QScintilla from the PyQt4 web site, compile and install it and compile and
install the Python wrapper. Detailed instructions are in the package.

Regards,
Detlev
--
Detlev Offenbach
detlev at die-offenbachs.de
projetmbc
2010-07-04 14:32:39 UTC
Permalink
There is another problem.
Post by detlev
Get QScintilla from the PyQt4 web site, compile and install it and compile and
install the Python wrapper. Detailed instructions are in the package.
I've installed all of that using the two following sequences of commands in a terminal.

========= 1ST STEP =========
??? ??? cd path_dir_Qt4_in_unzipped_Qscintilla_source
??? ??? qmake qscintilla.pro -spec macx-g++
??? ??? make
??? ??? sudo make install

========= 2ND STEP =========
??? ??? cd path_dir_Python_in_unzipped_Qscintilla_source
??? ??? python3 configure.py
??? ??? make
??? ??? sudo make install

===========================

Then I've done "sudo python3 /Users/cbal/Downloads/eric5-5.0.0/install.py" but there is the followinf message :

========= ERROR =========
??? ?? ...
??? ??? All dependencies ok.

??? ??? Compiling user interface files...

??? ??? Compiling source files...
??? ??? Can't list eric

??? ??? Installing eric5 ...
??? ??? IOError: [Errno 2] No such file or directory: 'eric/LICENSE.GPL3'
??? ??? Try install as root.

===========================

I'm the only user in my Mac so I do not really understand the message.

Regards,
Christophe



-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.riverbankcomputing.com/pipermail/eric/attachments/20100704/5973b4f6/attachment.html>
detlev
2010-07-04 14:57:20 UTC
Permalink
Post by projetmbc
There is another problem.
Post by detlev
Get QScintilla from the PyQt4 web site, compile and install it and
compile and install the Python wrapper. Detailed instructions are in
the package.
I've installed all of that using the two following sequences of commands in a terminal.
========= 1ST STEP =========
cd path_dir_Qt4_in_unzipped_Qscintilla_source
qmake qscintilla.pro -spec macx-g++
make
sudo make install
========= 2ND STEP =========
cd path_dir_Python_in_unzipped_Qscintilla_source
python3 configure.py
make
sudo make install
===========================
Then I've done "sudo python3 /Users/cbal/Downloads/eric5-5.0.0/install.py"
========= ERROR =========
...
All dependencies ok.
Compiling user interface files...
Compiling source files...
Can't list eric
Installing eric5 ...
IOError: [Errno 2] No such file or directory: 'eric/LICENSE.GPL3'
Try install as root.
===========================
I'm the only user in my Mac so I do not really understand the message.
Regards,
Christophe
It seems a file is missing. This might be from the first installation attempt.
Please remove the installation directory, unpack the eric5 archive again and
repeat the install step.

Regards,
Detlev
--
Detlev Offenbach
detlev at die-offenbachs.de
detlev
2010-07-04 15:57:45 UTC
Permalink
Post by detlev
It seems a file is missing. This might be from the first installation
attempt. Please remove the installation directory, unpack the eric5
archive again and repeat the install step.
==============================
cd /Users/cbal/Downloads/eric5-5.0.0
sudo python3 install.py
==============================
==============================
$ eric5
/Library/Frameworks/Python.framework/Versions/3.1/bin/pythonw: No such
/Library/Frameworks/Python.framework/Versions/3.1/bin/pythonw: cannot
execute: No such file or directory MacBook-Pro-de-cbal:eric5-5.0.0 cbal$
/Library/Frameworks/Python.framework/Versions/3.1/bin/pythonw: No such
/Library/Frameworks/Python.framework/Versions/3.1/bin/pythonw: cannot
execute: No such file or directory ==============================
What's wrong ? The following works : "python3
/Library/Frameworks/Python.framework/Versions/3.1/lib/python3.1/site-packa
ges/eric5/eric5.py".
I've another problem : the window of Eric goes under my Dock. I can resize
it.
Sorry for being a little boring but that's the first time I use Eric.
You are not boring. You might actually be the first user trying to install
eric5 on a Mac. That said can you please clarify the a.m. paths? Do they exist
at all? Where is Python installed and what is the name of the executable
(python and pythonw). The code generating the command line was ported from
eric4, where it used to work.

Regards,
Detlev
--
Detlev Offenbach
detlev at die-offenbachs.de
detlev
2010-07-04 17:27:43 UTC
Permalink
Post by detlev
Where is Python installed and what is the name of the executable
(python and pythonw). The code generating the command line was ported
from eric4, where it used to work.
Indeed,
instead of
"/Library/Frameworks/Python.framework/Versions/3.1/bin/pythonw",
I have
"/Library/Frameworks/Python.framework/Versions/3.1/bin/pythonw3"
And what about the resize of the window ?
Can it be resized? Maybe it is just maximized. I cannot debug this due to lack
of a Mac computer.

Detlev
--
Detlev Offenbach
detlev at die-offenbachs.de
Loading...