Forums
New posts
Articles
Product Reviews
Policies
FAQ
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Menu
Log in
Register
Install the app
Install
Forums
macOS & iOS Developer Playground
macOS - Development and Darwin
Python and cv2
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="TamPepper" data-source="post: 1479280" data-attributes="member: 242542"><p>I am taking my first steps in python 2.7 and am using Mountain Lion on a MacBook Pro</p><p>I cannot see what I am doing wrong re cv2</p><p></p><p>After installing Xcode and command tools, then Macports, I then used the following in a terminal</p><p></p><p>sudo port selfupdate</p><p>sudo port install py27-numpy</p><p>sudo port install opencv +python27</p><p></p><p>All went through without errors.</p><p>However when I enter "import cv2" in python it returns "no module named cv2" </p><p></p><p>Any help most appreciated</p></blockquote><p></p>
[QUOTE="TamPepper, post: 1479280, member: 242542"] I am taking my first steps in python 2.7 and am using Mountain Lion on a MacBook Pro I cannot see what I am doing wrong re cv2 After installing Xcode and command tools, then Macports, I then used the following in a terminal sudo port selfupdate sudo port install py27-numpy sudo port install opencv +python27 All went through without errors. However when I enter "import cv2" in python it returns "no module named cv2" Any help most appreciated [/QUOTE]
Verification
Post reply
Forums
macOS & iOS Developer Playground
macOS - Development and Darwin
Python and cv2
Top