Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot import name 'SigningAlgorithm' #121

Closed
Algruun opened this issue Nov 13, 2018 · 1 comment
Closed

Cannot import name 'SigningAlgorithm' #121

Algruun opened this issue Nov 13, 2018 · 1 comment

Comments

@Algruun
Copy link

Algruun commented Nov 13, 2018

ImportError: cannot import name 'SigningAlgorithm' from 'itsdangerous' (/Users/algruun/environment/bitshares/trusty/venv/lib/python3.7/site-packages/itsdangerous/__init__.py)
Just wanted to use this part, but it raising this exception

Algruun added a commit to Algruun/itsdangerous that referenced this issue Nov 13, 2018
@davidism
Copy link
Member

davidism commented Nov 13, 2018

This is on purpose, see the 1.0 changelog. Import it from its full location: from itsdangerous.signer import SigningAlgorithm.

Refactor code from a single module to a package. Any object in the API docs is still importable from the top-level itsdangerous name, but other imports will need to be changed. A future release will remove many of these compatibility imports. (#107)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants