-
Notifications
You must be signed in to change notification settings - Fork 111
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
python 3.10.4 : TypeError: multiple bases have instance lay-out conflict #97
Comments
Did you read issue #90 or not? |
I did. |
Could you please tell the solution? |
This is a python 3.10 problem, so it can only be fixed by rewriting the portions of the code. |
what should i change in code ? Could you please tell ? |
You have to change the inheritance of error classes from multiple bases to just a single base class as the error says. |
I do not know where to change in code. Could you please show me? |
??? |
Just download python version below 3.9 and done. |
Does it works on 3.8? On pypi it shows 3.7 is the latest it can work with. |
@Frutto-Hub yes it works on 3.7 & 3.8 and also on 3.9 |
This is the code
from pywebcopy import save_webpage
kwargs = {'project_name': 'site folder'}
save_webpage(
)
####################################################
This the error occurs
Traceback (most recent call last):
File "C:\Users\akmv\Desktop\free\app.py", line 14, in
from pywebcopy import save_webpage
File "C:\Users\akmv\AppData\Local\Programs\Python\Python310\lib\site-packages\pywebcopy_init_.py", line 49, in
from .configs import config, SESSION
File "C:\Users\akmv\AppData\Local\Programs\Python\Python310\lib\site-packages\pywebcopy\configs.py", line 18, in
from .exceptions import AccessError
File "C:\Users\akmv\AppData\Local\Programs\Python\Python310\lib\site-packages\pywebcopy\exceptions.py", line 46, in
class UrlTransformerNotSetup(PywebcopyError, UnboundLocalError):
TypeError: multiple bases have instance lay-out conflict
How can I solve this error?
Thank you very much in advance!
The text was updated successfully, but these errors were encountered: