4

I have installed a package and cannot get it to work. I know that one of the possible reasons of this problem is incorrect (or not existing) values of certain environment variables. In particular, I know that I need to set PYTHONPATH and PYTHON_LIBRARY_PATH. To set the correct values for these variables I need to know their meaning.

For example, after the installation of the package, I got a directory with a lot of *.dll files. Should I use the name of this directory as a value for one of the two above mentioned environment variables?

I also have another directory (C:\OpenCV2.2\Python2.7\Lib\site-packages) that contains just two files: cv.lib and cv.pyd. Should I use this directory as a value for one of the above mentioned environment variables (people recommend that but I do not understand why).

1 Answer 1

3
  • PYTHONPATH is documented
  • PYTHON_LIBRARY_PATH is something I never heard of. That variable is not set in my environment and is not mentioned in the entire documentation. I also searched the entire python source code and that string is also not mentioned there. Where did you see about this variable? Maybe it is some vendor-specific thing?
Sign up to request clarification or add additional context in comments.

2 Comments

Looks like PYTHON_LIBRARY_PATH is an OpenCV-project specific build variable. See their install guide: opencv.willowgarage.com/wiki/InstallGuide

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.