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

flake8-html cannot be packed by pyinstaller #39

Open
chrisixlalala opened this issue Jul 12, 2023 · 0 comments
Open

flake8-html cannot be packed by pyinstaller #39

chrisixlalala opened this issue Jul 12, 2023 · 0 comments

Comments

@chrisixlalala
Copy link

  • flake8-html version: 0.4.3
  • flake8 version: 6.0.0
  • Python version: 3.9.7 64 bit
  • Operating System: Windonws OS

Description

We developed a SW to do code inspection. The flake8 and flake8-html works well. However, we tried to using pyinstaller to pack flake8-html , the flake8-html reported error. Seems that the flake8_html cannot be packed. Is there some kind of restriction here? Or any settings we should do?
Pyinstaller version: 5.3
Package command:
pyinstaller -F setup.py

What I Did

Traceback (most recent call last):
  File "setup.py", line 4, in <module>
    import flake8_html
  File "<frozen importlib._bootstrap>", line 1007, in _find_and_load
  File "<frozen importlib._bootstrap>", line 986, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 680, in _load_unlocked
  File "PyInstaller\loader\pyimod02_importers.py", line 493, in exec_module
  File "flake8_html\__init__.py", line 9, in <module>
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