Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
439 views
in Technique[技术] by (71.8m points)

opencv - How can I find python library path?

I am trying to find my openCV library path. I am pretty sure it is existing. When I run command panel on desktop to learn openCV version, I can see version of openCV. Here the result: enter image description here

I guess my base interpreter path is : enter image description here

But I couldn't find openCV library in this file. I want to use my base interpreter for another project which in another file. So I need to find openCV library is there. How can I find my openCV library path?

Also when I try to install openCV from pycharm>settings>interpreter>... , after installation cv2.version not working on desktop. I don't understand what is happening between this virtual environtments and base interprater.


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)

here is an example

>>> import numpy
>>> numpy.__file__ 

check out here


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

2.1m questions

2.1m answers

60 comments

57.0k users

...