microsoft / vcpkg

C++ Library Manager for Windows, Linux, and MacOS
MIT License
22.9k stars 6.32k forks source link

[opencv4] Feature python tries to install into system directory #35060

Open Neumann-A opened 10 months ago

Neumann-A commented 10 months ago

Operating system

Windows

Compiler

MSVC

Steps to reproduce the behavior

(Maybe have anaconda installed as system python).

opencv4[python] tries to install python stuff into ProgramData/anaconda/...

Failure logs

Trace log showed INSTALL_PATH_PYTHON3 set to that path in: `E:/all/vcpkg/buildtrees/opencv4/src/4.8.0-28394c3990.clean/modules/python/common.cmake(197): set(INSTALL_PATH_PYTHON3 C:/ProgramData/anaconda3/Lib/site-packages/cv2/python-3.11 CACHE INTERNAL )`

Additional context

No response

github-actions[bot] commented 4 months ago

This is an automated message. Per our repo policy, stale issues get closed if there has been no activity in the past 180 days. The issue will be automatically closed in 14 days. If you wish to keep this issue open, please add a new comment.

Cheney-W commented 4 months ago

Stay active