Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

avoiding multiple PIP packages installation #677

Open
@apatsekin

Description

@apatsekin

Hey guys! A bit confused on how to properly set a PIP dependency for my package if it depends on OpenCV. README clearly states:

There are four different packages (see options 1, 2, 3 and 4 below) and you should SELECT ONLY ONE OF THEM.

implying
opencv-python
opencv-contrib-python
opencv-python-headless
opencv-contrib-python-headless

Say I haveopencv-contrib-python-headless installed in my environment, and then I install pip package that depends onopencv-python-headless. Even though it can perfectly fine work with (and supposed to)opencv-contrib-python-headless, pip still gonna installopencv-python-headless breaking aforementioned rule.

How to handle that? What should that package set as a dependency to install opencv only if neither packages installed

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions


      [8]ページ先頭

      ©2009-2025 Movatter.jp