Skip to content

fail to install via poetry  #319

@ninyawee

Description

@ninyawee
(.venv) PS C:\Users\lifep\Devs\jobsbot> poetry add pandas-gbq
Using version ^0.13.2 for pandas-gbq

Updating dependencies
Resolving dependencies...

Writing lock file


Package operations: 16 installs, 0 updates, 0 removals

  - Installing pyasn1 (0.4.8)
  - Installing cachetools (4.1.0)
  - Installing protobuf (3.12.0)

[EnvCommandError]
Command ['C:\\Users\\lifep\\Devs\\jobsbot\\.venv\\Scripts\\pip.exe', 'install', '--no-deps', 'protobuf==3.12.0'] errored with the following return code 1, and output:
Collecting protobuf==3.12.0
  ERROR: Could not find a version that satisfies the requirement protobuf==3.12.0 (from versions: 2.0.0b0, 2.0.3, 2.3.0, 2.4.1, 2.5.0, 2.6.0, 2.6.1, 3.0.0a2, 3.0.0a3, 3.0.0b1, 3.0.0b1.post1, 3.0.0b1.post2, 3.0.0b2, 3.0.0b2.post1, 3.0.0b2.post2, 3.0.0b3, 3.0.0b4, 3.0.0, 3.1.0, 3.1.0.post1, 3.2.0rc1, 3.2.0rc1.post1, 3.2.0rc2, 3.2.0, 3.3.0, 3.4.0, 3.5.0.post1, 3.5.1, 3.5.2, 3.5.2.post1, 3.6.0, 3.6.1, 3.7.0rc2, 3.7.0rc3, 3.7.0, 3.7.1, 3.8.0rc1, 3.8.0, 3.9.0rc1, 3.9.0, 3.9.1, 3.9.2, 3.10.0rc1, 3.10.0, 3.11.0rc1, 3.11.0rc2, 3.11.0, 3.11.1, 3.11.2, 3.11.3)
ERROR: No matching distribution found for protobuf==3.12.0

There is a deps conflict. Even pandas-gbq is the only package in the project.

To reporduce

  1. poetry init
  2. poetry add pandas-gbq

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions