plotly / plotly/plotly.py

pyinstaller plotly 6.1.0

Offen
#5,190 1 Kommentar 1 Reaktion 0 zugewiesene Personen Auf GitHub ansehen

Dieses Issue hat noch niemand übernommen.

bug P2
Vorherrschende Sprache
Python
Sterne
18.8k
Forks
2.8k
Ø Merge
16 Std. 26 Min.
Gemergte PRs (30 T.)
21

Beschreibung

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'

Beitragsleitfaden

Beitragsleitfaden öffnen

Erste Schritte

  1. Lies das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreib ins Issue, dass du es übernimmst — das erspart doppelte Arbeit.
  3. Forke das Repository und arbeite in einem Branch.
  4. Öffne einen Pull Request, der die Issue-Nummer nennt.

Rechercherichtung

Verwende die gemeldete test_build.py mit Plotly 6.1.0 und PyInstaller, um den Fehler zu reproduzieren. Verfolge den Importpfad durch plotly/express/init.py, plotly/express/_imshow.py, plotly/express/_core.py und plotly/graph_objs/init.py. Die Aufgabe ist abgeschlossen, wenn der paketierte Test ohne ModuleNotFoundError für plotly.graph_objs._scatter startet.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Bewertung

Tech-Stack
python
Bereich
build-system
Issue-Typ
Bug
Schwierigkeit
4/5
Geschätzter Aufwand
3-5 Tage
Aktivitätsstatus
Veraltet
Klarheit
Größtenteils klar
Anfängerfreundlichkeit
35/100

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.