Open Kokozzi opened 4 years ago
Same problem:
Traceback (most recent call last):
File ".\index.py", line 2, in <module>
from sendsay.api import SendsayAPI
File "C:\Program Files (x86)\Python38-32\lib\site-packages\sendsay\api.py", line 8, in <module>
from exceptions import SendsayAPIError
ModuleNotFoundError: No module named 'exceptions'
After direct message to SendSay support they mentioned, that it's only python2 lib. It won't work with python3.
Enough to fix the import of exceptions in api.py
to work on python3:
from .exceptions import SendsayAPIError // add dot "." before "exceptions"
same issue
Traceback (most recent call last): File "E:\02 Python 基础\练习代码\word.py", line 2, in <module> from docx import Document File "C:\Users\admin\anaconda3\lib\site-packages\docx.py", line 30, in <module> from exceptions import PendingDeprecationWarning ModuleNotFoundError: No module named 'exceptions'
root@aeb4686b140b:/tmp# python3 Python 3.8.10 (default, Jun 2 2021, 10:49:15) [GCC 9.4.0] on linux Type "help", "copyright", "credits" or "license" for more information.
import cql Traceback (most recent call last): File "
", line 1, in File "/usr/local/lib/python3.8/dist-packages/cql/init.py", line 17, in from cql.apivalues import * File "/usr/local/lib/python3.8/dist-packages/cql/apivalues.py", line 17, in import exceptions ModuleNotFoundError: No module named 'exceptions'
same issue even i have
oh god this is sad
Full lib seems to be broken because of incorrect modules imports:
Tested with Python 3.7.5, Ubuntu 18.04.3 LTS.