Windows installation

79 views
Skip to first unread message

Sam

unread,
Jun 28, 2009, 4:35:38 PM6/28/09
to ProfitPy Discuss
Dear users,

I'm new to python and cygwin and was impressed by some python scripts
that I ran recently. Hence further interest in ProfitPy.

I have successfully installed on Win XP, Python 2.6.2 and SIP, Qt4,
PyQt4, QScintilla etc.

I had trouble installing SIP, but I used my MS VC9 Express
installation command prompt to compile it and it worked. I've tested a
PyQT sample message dialog to confirm that it works.

Next get the binary installation package from
http://www.riverbankcomputing.co.uk/software/pyqt/download
and get most of the required Qt4, PyQt4 etc

IbPy was a breeze, or at least I think it was cause I haven't tested
it yet. but the import works.

ProfitPy is gave me some trouble:

1. I use svn to checkout latest code
2. Start cygwin shell
3. export pyuic=pyuic4.bat and type make
- error: pyuic4 command not found
So I change pyuic4 in Makefiles to pyuic4.bat directly.
4. make command works and compiles the ui_*.py and ui_*.ui files
5. I copied the whole profit folder into site-packages
6. typed bin/profit_workbench

And it worked!!

Just wanted to share my experience. I do get the Qwt5 module not found
error from the workbench but I see its been posted for comments.
Reply all
Reply to author
Forward
0 new messages