Etiket Arşivi: ‘python’

Eclipse Neon 2 + PyDev Kurulumu

Merhaba arkadaşlar. Python geliştirme ortamı olarak da kullanılabilen çok maksatlı güzel bir uygulama olan “Eclipse” geliştirme ortamını linux için elle kuracağız. Neden el ile kuruyoruz derseniz. “pacman” ile yapılan kurulumlar sorunlu, apt-get ise güncel değil. El ile kurduğunuz zaman daha sağlıklı ve güncel bir ortam elde ediyorsunuz.
Şimdi Kuruluma geçelim:
1.Eclipse uygulamamızın indirme bağlantısı: https://www.eclipse.org/downloads/ Bu bağlantığı açıp “Download 64 bit” tıklayalım. Yeni bir sayfa açılacak ve yine turuncu bir “Download” butonu var. Tıklayıp indirelim. Linux dağıtımı için inecek olan tar.gz uzantılı dosyayı Downloads dizinine açalım.

tar -zxvf eclipse-inst-linux64.tar.gz

Not indirdiğiniz dosya adı biraz daha ayrı olabilir.
devamını okuyun »

27.03.2017
3121 Okunma

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 »

08.09.2013
11685 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

python3

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.

25.08.2013
2916 Okunma