[ros-users] crash importing opencv on mac python

Tom Panzarella tpanzarella at gmail.com
Mon May 10 17:47:24 UTC 2010


>
> One of the things that's being debated for C-Turtle is how to  
> package Python this time around. The options are:
>
> 1) status quo: py25-* packages via MacPorts
> 2) py26-* packages via MacPorts
> 3) easy_install for all Python packages, use system installation of  
> Python
>
> I'm starting to lean towards #3, based on the fact that I've  
> experienced numerous Python regressions with the MacPorts packages  
> (e.g. ipython and readline), but feedback is always welcome. I would  
> like a solution that works well with both 10.5 and 10.6, though the  
> large discontinuity between those OSX releases makes maintaining  
> both difficult (even from a Python perspective).

Ken,

Another option is to use virtualenv (with the --no-site-packages  
option) to package python with ROS then use easy_install to install  
python packages into that python environment. This essentially allows  
you to dedicate a python to ROS and insulate ROS from any issues with  
other pythons installed on the host. If you are not familiar with  
virtualenv, you can read about it / get it from here: http://pypi.python.org/pypi/virtualenv

Thanks,
Tom.




More information about the ros-users mailing list