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

Help! What wrong with this error?"AttributeError: 'zipimporter' object has no attribute 'exec_module'" #1488

Closed
Cocoooliu opened this issue Oct 13, 2024 · 4 comments
Labels
duplicate The issue has been previously reported.

Comments

@Cocoooliu
Copy link

Sorry I'm new to writing programs and don't know how to fix this error. I'm trying to read and format a document, but I'm running markdown and I'm having this problem.

@facelessuser
Copy link
Collaborator

It is difficult to help as you've given us very little info. This might not even be a problem in a Python Markdown. Can you post a full traceback?

@Cocoooliu
Copy link
Author

I'm sorry if I said anything wrong.
I create a virtual environment to run my code.
螢幕擷取畫面 2024-10-14 013521

And there is a code to read the data, which contains the code to read the markdown file.
image
image

But when I run the program, I get this error
image

I'm sorry for my stupidity.

@facelessuser
Copy link
Collaborator

This might be a duplicate of #1132. Unfortunately, I don't think progress has been made on that issue.

@waylan waylan added the duplicate The issue has been previously reported. label Oct 15, 2024
@waylan
Copy link
Member

waylan commented Oct 15, 2024

As explained in #1132, this is a bug in Python's standard library, which was fixed in Python 3.10. It appears that you are using Python 3.9. I would suggest updating to Python 3.10 to avoid the issue.

I am closing this as a duplicate.

@waylan waylan closed this as not planned Won't fix, can't repro, duplicate, stale Oct 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
duplicate The issue has been previously reported.
Projects
None yet
Development

No branches or pull requests

3 participants