Skip to content

How to specify a specific variation of a package (pip install 'influxdb-client[ciso]') #6451

Answered by DeadNews
shyney7 asked this question in Q&A
Discussion options

You must be logged in to vote
❯ poetry add 'influxdb-client[ciso]' 
Using version ^1.32.0 for influxdb-client

Updating dependencies
Resolving dependencies... (10.0s)

Writing lock file

Package operations: 4 installs, 1 update, 0 removals

  • Updating six (1.16.0 /home/name/.cache/pypoetry/artifacts/89/b2/f8/fd92b6d5daa0f8889429b2fc67ec21eedc5cae5d531ee2853828ced6c7/six-1.16.0-py2.py3-none-any.whl -> 1.16.0)
  • Installing ciso8601 (2.2.0)
  • Installing python-dateutil (2.8.2)
  • Installing reactivex (4.0.4)
  • Installing influxdb-client (1.32.0)
[tool.poetry.dependencies]
python = "^3.9"
influxdb-client = {extras = ["ciso"], version = "^1.32.0"}

Btw, in your second example, there is no closing quote.

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@shyney7
Comment options

@DeadNews
Comment options

Answer selected by shyney7
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants