Skip to content

pip package missing cryptography dependency #4408

@koliyo

Description

@koliyo
SUMMARY

Installed using pip package

pip3 install -U st2client

Got error for missing dependency package

$ st2
Traceback (most recent call last):
  File "/usr/local/bin/st2", line 7, in <module>
    from st2client.shell import main
  File "/usr/local/lib/python3.7/site-packages/st2client/shell.py", line 27, in <module>
    from cryptography.utils import CryptographyDeprecationWarning
ImportError: cannot import name 'CryptographyDeprecationWarning' from 'cryptography.utils' (/usr/local/lib/python3.7/site-packages/cryptography/utils.py)

Manually install dep

pip3 install -U cryptography

Now it works

$ st2 --version
st2 2.9.1, on Python 3.7.0
ISSUE TYPE

Pick one below and delete the rest:

  • Bug Report
STACKSTORM VERSION

Paste the output of st2 --version:

st2 2.9.1, on Python 3.7.0

OS / ENVIRONMENT / INSTALL METHOD
STEPS TO REPRODUCE
EXPECTED RESULTS
ACTUAL RESULTS

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions