pyinstaller plotly 6.1.0
Open
Nobody has claimed this yet.
bug
P2
- Dominant language
- Python
- Stars
- 18.8k
- Forks
- 2.8k
- Avg merge
- 16h 26m
- Merged PRs (30d)
- 21
Description
Using pyinstaller to compile plotly version 6.1.0 gives an error:
Traceback (most recent call last):
File "test_build.py", line 1, in <module>
File "PyInstaller/loader/pyimod02_importers.py", line 450, in exec_module
File "plotly/express/__init__.py", line 25, in <module>
File "PyInstaller/loader/pyimod02_importers.py", line 450, in exec_module
File "plotly/express/_imshow.py", line 3, in <module>
File "PyInstaller/loader/pyimod02_importers.py", line 450, in exec_module
File "plotly/express/_core.py", line 50, in <module>
File "plotly/graph_objs/__init__.py", line 161, in __getattr__
File "_plotly_utils/importers.py", line 36, in __getattr__
File "importlib/__init__.py", line 126, in import_module
ModuleNotFoundError: No module named 'plotly.graph_objs._scatter'
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Use the reported test_build.py with Plotly 6.1.0 and PyInstaller to reproduce the failure. Trace the import path through plotly/express/init.py, plotly/express/_imshow.py, plotly/express/_core.py, and plotly/graph_objs/init.py. Done means the packaged test starts without ModuleNotFoundError for plotly.graph_objs._scatter.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- build-system
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100