MacPorts, OpenCV, Python, and PyGame configuration help


 
Thread Tools Search this Thread
Operating Systems OS X (Apple) MacPorts, OpenCV, Python, and PyGame configuration help
# 1  
Old 11-24-2010
MacPorts, OpenCV, Python, and PyGame configuration help

Hullo,

I've been banging around all week (after re-install of Snow Leopard) trying to get python configured with MacPorts, OpenCV, and PyGame (at least). I've got python_select properly configured and seemingly working, but I can't seem to get any of these modules including all at once. Currently I can include “cv” in python26, but pygame only works with MacPython (which I am hoping to ditch). Any ideas about the cleanest way to run python and configure all the necessary libraries and dependencies? If it would help, I'm not averse to starting over. Additionally, if anyone has any ideas about the best environment to develop with Python on Mac, I feel I've just been kludging it for a while, and would be happy to clean up this town.

Thanks in advance.
# 2  
Old 12-16-2010
What did you end up doing? Am having similar frustrations trying to get opencv and pygame working on a Mac and am thinking of moving to linux.
# 3  
Old 12-16-2010
What did I end up doing? Guh! Put the project on the "indefinite backburner". I never really got anything successfully working. I DID get pygame set up and switched my python install to the macPorts version so I can swap it out at will now, but openCV is shelved for the moment. Good luck. Let me know if you have any.
# 4  
Old 12-18-2010
Back to Ubuntu I think. Will let you know if I ever do get it working on OSX.
Smilie
# 5  
Old 12-20-2010
Hammer & Screwdriver IT WORKED IT WORKED IT WORKED!

After 3 years on and off trying to get opencv installed on my mac I finally cracked it thanks to homebrew.

Go to page wiki/Mac_OS_X_OpenCV_Port page on the willowgarage site (can't post url as not allowed) and follow the instructions for Homebrew including using brew to install opencv. I had to change my permissions (instruction given) and delete /usr/local/include and /usr/local/lib and uninstall MacPorts, but I just followed the instructions after it worked!
Login or Register to Ask a Question

Previous Thread | Next Thread

4 More Discussions You Might Find Interesting

1. Programming

OpenCV hello world c?

Hi, I am new to openCV, please I want an openCV hello world in C? (1 Reply)
Discussion started by: ubuaku
1 Replies

2. Linux

Unable to access CentOS setup Network Configuration after attempting Python update

I attempted to update Python on my CentOS 5.6 VM and have encountered some issues after then. Initially yum wouldn't work, but I have resolved that. However, now I am unable to access the Network Configuration section under setup. When I do select this option I see this at the command line: ... (2 Replies)
Discussion started by: crmpicco
2 Replies

3. UNIX for Dummies Questions & Answers

Mac OS 10.6 and MacPorts

Hello everyone. I was previously using MacPorts 1.8 on Mac OS 10.5.8 without any problems and everything was working well. I recently upgraded to Xcode 3.2 and Mac OS 10.6, since then my MacPorts installation has not been working at all. I deleted it and then reinstalled the .dmg from the... (2 Replies)
Discussion started by: HoldenCaulfield
2 Replies

4. Ubuntu

ZStar ZC0305 doesn't work under openCV

I am using ZC0305b ZStar webcam. Highgui errors that compression format is invalid for both v4l2 and v4l. The same openCV apps work with different camera. openCV message boards suggest using libv4l . How can I implement this? tia (0 Replies)
Discussion started by: mehdi9
0 Replies
Login or Register to Ask a Question