#1
  1. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Nov 2012
    Posts
    4
    Rep Power
    0

    How to set up path for OpenCV 2.4.3 in Python


    Hello there everybody, i am really new here and i would really appreciate if anybody out there(especially those who already use OpenCV) can help me

    here's my problem

    i already installed Python2.7.x on my windows 7 succesfully (numpy, scipy and sphinx included) and already done this

    C:\Python27;C:\Python27\Lib\site-packages\;C:\Python27\Scripts\;
    i am asked to use opencv on python programming and so i search the web and stumbled into one shown here

    h t t p ://luugiathuy. c o m/2011/02/setup-opencv-for-python/#comment-62
    **(new account cannot post url, obviously no "spacing" ._.)**

    i actually have installed opencv 2.4.3 and already using it on visual studio 2010 and it already work just fine.

    so the problem is that i do not know how to do step 4 on the link above shown here

    Step 4:Setup Windows Path in Environment Variables Add “C:/Python2.7;C:/OpenCV2.2/bin” to PATH variable (You need to change the directory to where you install Python and OpenCV). Create PYTHONPATH variable and put “C:/OpenCV2.2/Python2.7/Lib/site-packages” as value.
    as i have installed opencv on my (E directory

    so if anybody understand and knows how to set up the path ASAP i would be very very grateful.
  2. #2
  3. Contributing User
    Devshed Demi-God (4500 - 4999 posts)

    Join Date
    Aug 2011
    Posts
    4,997
    Rep Power
    481
    Search the internet for
    windows 7 set environment variable
    [code]Code tags[/code] are essential for python code and Makefiles!

IMN logo majestic logo threadwatch logo seochat tools logo