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

MacOS conflict with enum package #43

Open
vladkozlov69 opened this issue Sep 18, 2020 · 0 comments
Open

MacOS conflict with enum package #43

vladkozlov69 opened this issue Sep 18, 2020 · 0 comments

Comments

@vladkozlov69
Copy link

When trying to run kflash.py on MacOS 10.15.6, I am getting the following error:

Uploading .pio/build/sipeed-maix-bit-mic/firmware.bin
Traceback (most recent call last):
File "/Users/vkozlov/.platformio/packages/tool-kflash-kendryte210/kflash.py", line 13, in
import argparse
File "/Users/vkozlov/.platformio/python3/lib/python3.8/argparse.py", line 88, in
import re as _re
File "/Users/vkozlov/.platformio/python3/lib/python3.8/re.py", line 145, in
class RegexFlag(enum.IntFlag):
AttributeError: module 'enum' has no attribute 'IntFlag'
*** [upload] Error 1

Most probably it is related with enum34 package from built-in MacOS python.

vowstar added a commit to vowstar/kflash.py that referenced this issue Dec 6, 2020
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

1 participant