northlobi.blogg.se

Using macports python with eclipse
Using macports python with eclipse












This entry was posted in Blog and tagged mac, macports, python on 31 March, 2010 by david. #rsync:///release/ports/ įile:///opt/local/var/macports/sources//trunk/dports/ įinally you must create an index for the tree (otherwise you will see messages saying "Warning: No index(es) found!"). Here are the last lines from my configuration: What’s easy to forget sometimes is selecting the version to use as the system’s default.

Using macports python with eclipse install#

On OSX, installing Python is fairly easy with MacPorts: sudo port install python27 sudo port install python34. I had to use MacPorts because I couldn't get Python to load outside of MacPorts. I need to create a program with Python but it seems all the directions on the internet discuss using Python without MacPorts. Edit `/opt/local/etc/macports/nf` and add a new line to the end with the path to the ports tree, then comment out the previous line that uses rsync. At least for the time being, I need both versions side by side. I have Yosemite and MacPorts installed along with Python on MacPorts. Now tell MacPorts to use the local checkout rather than rsync. ` the trailing directory separator is significant! Sudo mkdir -p /opt/local/var/macports/sources//trunk/dportsĬd /opt/local/var/macports/sources//trunk/dports PATH=/opt/local/bin:/opt/local/sbin:$Īfter you have installed MacPorts, create a directory for the ports tree and check it out using. *(Updated to keep variables as-is as suggested by commenter Bruce).* This change will not take effect until you start a new terminal session. If the MacPorts install directories are not in your $PATH environment, you can add them to your `.profile`. Sudo installer -pkg /Volumes/MacPorts-1.8.2/MacPorts-1.8.2.pkg -target /

using macports python with eclipse

Install MacPorts using the disk image for 10.5. Fortunately plain HTTP is permitted outbound. The next problem was that MacPorts couldn’t update because was blocked by the corporate access policy.

using macports python with eclipse

So I turned to where I know I can get + all the bits working without much hassle (but with much patience). I failed to persuade to build on a install using the system + installation.












Using macports python with eclipse