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

ImportError: cannot import name 'BOOLEAN_STATES' #21

Open
dand-oss opened this issue Oct 18, 2020 · 1 comment
Open

ImportError: cannot import name 'BOOLEAN_STATES' #21

dand-oss opened this issue Oct 18, 2020 · 1 comment

Comments

@dand-oss
Copy link

pip install python-walrus
walrus

Traceback (most recent call last):
File "/i/t/pypy/bin/walrus", line 5, in
from walrus import main
File "/i/t/pypy/site-packages/walrus.py", line 13, in
from bpc_utils import BOOLEAN_STATES, CPU_CNT, LOCALE_ENCODING, UUID4Generator, archive_files, detect_files, mp
ImportError: cannot import name 'BOOLEAN_STATES'

@gousaiyang
Copy link
Collaborator

Hello! Thanks for using walrus. We were sorry to break compatibility with our internal utility library during the current refactoring of the project. Before we cut a new release, you can try out the following ways to use walrus:

  • Try using the current master branch (git clone then pip install .)
  • Try to revert to walrus v0.1.3

Thanks!

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

No branches or pull requests

2 participants