yurijmikhalevich / rclip

AI-Powered Command-Line Photo Search Tool
MIT License
746 stars 57 forks source link

ERROR: Cannot install rclip using pip #104

Closed sugizo closed 7 months ago

sugizo commented 7 months ago

info

execute pip install -U rclip

result

Downloading rclip-1.4.4-py3-none-any.whl (11 kB)
  Downloading rclip-1.4.3-py3-none-any.whl (11 kB)
ERROR: Cannot install rclip==1.4.10, rclip==1.4.3, rclip==1.4.4, rclip==1.4.5, rclip==1.4.6, rclip==1.4.7, rclip==1.4.8, rclip==1.4.9, rclip==1.5.0, rclip==1.5.1, rclip==1.5.2, rclip==1.5.3, rclip==1.5.4, rclip==1.6.0, rclip==1.6.1, rclip==1.7.0, rclip==1.7.1, rclip==1.7.10, rclip==1.7.11, rclip==1.7.13, rclip==1.7.14, rclip==1.7.15, rclip==1.7.16, rclip==1.7.17, rclip==1.7.18, rclip==1.7.19, rclip==1.7.2, rclip==1.7.20, rclip==1.7.21, rclip==1.7.22, rclip==1.7.23, rclip==1.7.24, rclip==1.7.25, rclip==1.7.26, rclip==1.7.3, rclip==1.7.4, rclip==1.7.5, rclip==1.7.6, rclip==1.7.7, rclip==1.7.9, rclip==1.8.0, rclip==1.8.1, rclip==1.8.2, rclip==1.8.3, rclip==1.8.4 and rclip==1.8.5 because these package versions have conflicting dependencies.

The conflict is caused by:
    rclip 1.8.5 depends on torch==2.2.2+cpu; sys_platform == "linux" and platform_machine != "aarch64"
    rclip 1.8.4 depends on torch==2.2.2+cpu; sys_platform == "linux" and platform_machine != "aarch64"
    rclip 1.8.3 depends on torch==2.2.2+cpu; sys_platform == "linux" and platform_machine != "aarch64"
    rclip 1.8.2 depends on torch==2.2.2+cpu; sys_platform == "linux" and platform_machine != "aarch64"
    rclip 1.8.1 depends on torch==2.2.2+cpu; sys_platform == "linux" and platform_machine != "aarch64"
    rclip 1.8.0 depends on torch==2.2.2+cpu; sys_platform == "linux" and platform_machine != "aarch64"
    rclip 1.7.26 depends on torch==2.0.1+cpu; sys_platform == "linux" and platform_machine != "aarch64"
    rclip 1.7.25 depends on torch==2.0.1+cpu; sys_platform == "linux" and platform_machine != "aarch64"
    rclip 1.7.24 depends on torch==2.0.1+cpu; sys_platform == "linux" and platform_machine != "aarch64"
    rclip 1.7.23 depends on torch==2.0.1+cpu; sys_platform == "linux" and platform_machine != "aarch64"
    rclip 1.7.22 depends on torch==2.0.1+cpu; sys_platform == "linux" and platform_machine != "aarch64"
    rclip 1.7.21 depends on torch==2.0.1+cpu; sys_platform == "linux" and platform_machine != "aarch64"
    rclip 1.7.20 depends on torch==2.0.1+cpu; sys_platform == "linux" and platform_machine != "aarch64"
    rclip 1.7.19 depends on torch==2.0.1+cpu; sys_platform == "linux" and platform_machine != "aarch64"
    rclip 1.7.18 depends on torch==2.0.1+cpu; sys_platform == "linux" and platform_machine != "aarch64"
    rclip 1.7.17 depends on torch==2.0.1+cpu; sys_platform == "linux" and platform_machine != "aarch64"
    rclip 1.7.16 depends on torch==2.0.1+cpu; sys_platform == "linux" and platform_machine != "aarch64"
    rclip 1.7.15 depends on torch==2.0.1+cpu; sys_platform == "linux" and platform_machine != "aarch64"
    rclip 1.7.14 depends on torch==2.0.1+cpu; sys_platform == "linux" and platform_machine != "aarch64"
    rclip 1.7.13 depends on torch==2.0.1+cpu; sys_platform == "linux" and platform_machine != "aarch64"
    rclip 1.7.11 depends on torch==2.0.1+cpu; sys_platform == "linux" and platform_machine != "aarch64"
    rclip 1.7.10 depends on torch==2.0.1+cpu; sys_platform == "linux" and platform_machine != "aarch64"
    rclip 1.7.9 depends on torch==2.0.1+cpu; sys_platform == "linux" and platform_machine != "aarch64"
    rclip 1.7.7 depends on torch==2.0.1+cpu; sys_platform == "linux" and platform_machine != "aarch64"
    rclip 1.7.6 depends on torch==2.0.1+cpu; sys_platform == "linux" and platform_machine != "aarch64"
    rclip 1.7.5 depends on torch==2.0.1+cpu; sys_platform == "linux" and platform_machine != "aarch64"
    rclip 1.7.4 depends on torch==2.0.1+cpu; sys_platform == "linux" and platform_machine != "aarch64"
    rclip 1.7.3 depends on torch==2.0.1+cpu; sys_platform == "linux" and platform_machine != "aarch64"
    rclip 1.7.2 depends on torch==2.0.1+cpu; sys_platform == "linux" and platform_machine != "aarch64"
    rclip 1.7.1 depends on torch==2.0.1+cpu; sys_platform == "linux" and platform_machine != "aarch64"
    rclip 1.7.0 depends on torch==2.0.1+cpu; sys_platform == "linux" and platform_machine != "aarch64"
    rclip 1.6.1 depends on torch==2.0.1+cpu; sys_platform == "linux" and platform_machine != "aarch64"
    rclip 1.6.0 depends on torch==2.0.1+cpu; sys_platform == "linux" and platform_machine != "aarch64"
    rclip 1.5.4 depends on torch==2.0.1+cpu; sys_platform == "linux" and platform_machine != "aarch64"
    rclip 1.5.3 depends on torch==2.0.1+cpu; sys_platform == "linux" and platform_machine != "aarch64"
    rclip 1.5.2 depends on torch==2.0.1+cpu; sys_platform == "linux" and platform_machine != "aarch64"
    rclip 1.5.1 depends on torch==2.0.1+cpu; sys_platform == "linux" and platform_machine != "aarch64"
    rclip 1.5.0 depends on torch==2.0.1+cpu; sys_platform == "linux" and platform_machine != "aarch64"
    rclip 1.4.10 depends on torch==2.0.1+cpu; sys_platform == "linux" and platform_machine != "aarch64"
    rclip 1.4.9 depends on torch==2.0.1+cpu; sys_platform == "linux" and platform_machine != "aarch64"
    rclip 1.4.8 depends on torch==2.0.1+cpu; sys_platform == "linux" and platform_machine != "aarch64"
    rclip 1.4.7 depends on torch==2.0.1+cpu; sys_platform == "linux"
    rclip 1.4.6 depends on torch==2.0.1+cpu; sys_platform == "linux"
    rclip 1.4.5 depends on torch==2.0.1+cpu; sys_platform == "linux"
    rclip 1.4.4 depends on torch==2.0.1+cpu; sys_platform == "linux"
    rclip 1.4.3 depends on torch==2.0.1+cpu; sys_platform == "linux"

To fix this you could try to:
1. loosen the range of package versions you've specified
2. remove package versions to allow pip attempt to solve the dependency conflict

ERROR: ResolutionImpossible: for help visit https://pip.pypa.io/en/latest/topics/dependency-resolution/#dealing-with-dependency-conflicts

best regards

yurijmikhalevich commented 7 months ago

@sugizo, hi! If you are installing it on Linux using pip, please, follow the instructions from the README: https://github.com/yurijmikhalevich/rclip?tab=readme-ov-file#using-pip

Running the command below should do the trick

pip install --extra-index-url https://download.pytorch.org/whl/cpu rclip