[AstroPy] Using MacPorts for Python

David Johnston dave31415@gmail....
Mon Nov 28 11:27:17 CST 2011


Just to confirm. wxpython does indeed fail.

Davids-MacBook-Pro:~ davej$ sudo port install py27-wxpython
Password:
--->  Computing dependencies for py27-wxpython
--->  Dependencies to be installed: wxWidgets
--->  Building wxWidgets
Error: Target org.macports.build returned: shell command failed (see log
for details)
Error: Failed to install wxWidgets
Log for wxWidgets is at:
/opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_graphics_wxWidgets/wxWidgets/main.log
Error: The following dependencies were not installed: wxWidgets
Error: Status 1 encountered during processing.
To report a bug, see <http://guide.macports.org/#project.tickets>

On Mon, Nov 28, 2011 at 11:02 AM, David Johnston <dave31415@gmail.com>wrote:

> Yes, I have found it to work well. It is probably the best way to install
> these packages on Mac.
>
> I have found that a few things do not install. I think wxpython was one of
> those. Some packages are not available at Mac ports so you should install
> those using pip or easyinstall with the --user flag which install them in
> your home directory.
> Dave
>
>
>
> On Mon, Nov 28, 2011 at 10:18 AM, Thomas Robitaille <
> thomas.robitaille@gmail.com> wrote:
>
>> I was wondering whether anyone has used the instructions below to
>> install Python on 10.7 using MacPorts, and if so, whether everything
>> works fine?
>>
>> Tom
>>
>> On 25 July 2011 18:36, Thomas Robitaille <thomas.robitaille@gmail.com>
>> wrote:
>> > Hi Everyone,
>> >
>> > Earlier this year I was given commit privileges to the MacPorts
>> > (http://www.macports.org/) package index, and I've already added a few
>> > Astronomy Python packages. After moved between various install methods
>> > in the last couple of years (system Python, EPD, source install,
>> > python.org distribution, ...) I've now settled on using the Python
>> > distribution from MacPorts. One of my main reasons for doing this is
>> > that I needed some complex packages (Qt and GTK+) which are not
>> > included in EPD, and by far the easiest way to install them has been
>> > through MacPorts. However, I believe a MacPorts Python distribution
>> > can still be very useful even if you don't need these packages, so
>> > I've compiled a list of simple instructions to set up a full Python
>> > distribution using MacPorts on Mac:
>> >
>> > http://astrofrog.github.com/macports-python/
>> >
>> > Updating packages is easy, and dependencies are automatically taken
>> > care of. For now I recommend using Python 2.7 as indicated in the
>> > instructions. I would welcome any feedback, especially if you run into
>> > issues, and would also welcome suggestions for other packages to add.
>> > For new packages you can either email me directly or open a ticket on
>> > MacPorts and cc robitaille@macports.org on the ticket. To report
>> > issues with the instructions, open an issue at:
>> >
>> > https://github.com/astrofrog/macports-python
>> >
>> > Note that it's possible/easy to install several Python versions with
>> > MacPorts at the same time and you can switch which one is the default
>> > with 'port select', or call the version you want directly with
>> > ipython-3.1 for example. This makes it ideal if you want to be able to
>> > test your code using different python versions or want to experiment
>> > with Python 3.
>> >
>> > Cheers,
>> > Thomas
>> >
>> _______________________________________________
>> AstroPy mailing list
>> AstroPy@scipy.org
>> http://mail.scipy.org/mailman/listinfo/astropy
>>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.scipy.org/pipermail/astropy/attachments/20111128/18c82390/attachment.html 


More information about the AstroPy mailing list