Etiket Arşivi: ‘install’

How to Install PyQt4 on OS X

res-py2app-pyqtHello! In my tutorial i’ll describe how to install PyQt4 on Os X manually. You can try installing by MacPorts or HomeBrew. I had tried both. But i couldn’t get the result what i wanted. So i managed my goal by installing and configuring manually.

This is a tutorial on Mac OS X 10.8.4, with: Python2.7; with : PyQt-mac-gpl-4.10.4-snapshot-f32540dbcf98.tar.gz and with : sip-4.15.2-snapshot-14732b487dda.tar.gz.

It should be the same on previous and next versions.

How to install PyQt4 ?
devamını okuyun »

11508 Okunma

How To Install Python 3 on OS X

python-logoIf you have a updated or you have OS X Lion, it comes with Python 2.7 by default. But whether you want to install Python 3; it is really easy, just follow the steps:

1. Ok go to Python 3 download page and read the features of new release. Then scroll a little bit and download Python 3 for your Mac. Or simply click here.

2. After download finishes check your download folder and simply double click(or Cmd+Down Arrow) on the installer and follow the instructions.

3. After installation finishes you have brand new Python 3 with Python 2.7 on your Mac without restart. But don’t forget to write


Because if you write down “python” and hit enter the Python 2.7 will run.

4. You can add an alias for “python3” and call it “python” so that no matter what, Python 3.x.x will always open whether you type “python” or “python3.” To do this, open up Terminal.

5. At the command prompt,  type: open ~/.bash_profile And this will open up the file in your default text editor. Add the following line to the file and save: alias python=”python3″

6. That’s all.

2868 Okunma