You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Traceback (most recent call last):
File "/Volumes/Study/Python/Web/venv/lib/python3.6/site-packages/cffi/cparser.py", line 5, in
from . import _pycparser as pycparser
ImportError: cannot import name '_pycparser'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/Volumes/Study/Python/Web/base64.py", line 1, in
import xxtea
File "/Volumes/Study/Python/Web/venv/lib/python3.6/site-packages/xxtea/init.py", line 9, in
ffi = FFI()
File "/Volumes/Study/Python/Web/venv/lib/python3.6/site-packages/cffi/api.py", line 65, in init
from . import cparser
File "/Volumes/Study/Python/Web/venv/lib/python3.6/site-packages/cffi/cparser.py", line 7, in
import pycparser
File "/Volumes/Study/Python/Web/venv/lib/python3.6/site-packages/pycparser/init.py", line 15, in
from .c_parser import CParser
File "/Volumes/Study/Python/Web/venv/lib/python3.6/site-packages/pycparser/c_parser.py", line 11, in
from .ply import yacc
File "/Volumes/Study/Python/Web/venv/lib/python3.6/site-packages/pycparser/ply/yacc.py", line 67, in
import base64
File "/Volumes/Study/Python/Web/base64.py", line 6, in
encrypt_data = xxtea.encrypt(text,key)
AttributeError: module 'xxtea' has no attribute 'encrypt'
Console里面import xxtea也报错
The text was updated successfully, but these errors were encountered:
Traceback (most recent call last):
File "/Volumes/Study/Python/Web/venv/lib/python3.6/site-packages/cffi/cparser.py", line 5, in
from . import _pycparser as pycparser
ImportError: cannot import name '_pycparser'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/Volumes/Study/Python/Web/base64.py", line 1, in
import xxtea
File "/Volumes/Study/Python/Web/venv/lib/python3.6/site-packages/xxtea/init.py", line 9, in
ffi = FFI()
File "/Volumes/Study/Python/Web/venv/lib/python3.6/site-packages/cffi/api.py", line 65, in init
from . import cparser
File "/Volumes/Study/Python/Web/venv/lib/python3.6/site-packages/cffi/cparser.py", line 7, in
import pycparser
File "/Volumes/Study/Python/Web/venv/lib/python3.6/site-packages/pycparser/init.py", line 15, in
from .c_parser import CParser
File "/Volumes/Study/Python/Web/venv/lib/python3.6/site-packages/pycparser/c_parser.py", line 11, in
from .ply import yacc
File "/Volumes/Study/Python/Web/venv/lib/python3.6/site-packages/pycparser/ply/yacc.py", line 67, in
import base64
File "/Volumes/Study/Python/Web/base64.py", line 6, in
encrypt_data = xxtea.encrypt(text,key)
AttributeError: module 'xxtea' has no attribute 'encrypt'
Console里面import xxtea也报错
The text was updated successfully, but these errors were encountered: