Pyinstaller fail with Prophet

Open
#2,664 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
25/100
Issue type
Bug
Clarity
Needs clarification
Activity status
Stale
Tech stack
python
Domain
build-system

Research direction

Start with Untitled5.py at line 7 and reproduce the PyInstaller build from the Jupyter-based script. Investigate why the generated executable cannot import Prophet and compare the bundled application with the reported traceback. Done means the executable starts without reporting that prophet is missing.

Written by the indexing model from the issue text.

Description

Hello everyone,

I wrote a Python script on Jupyter with several libraries including prophet.
When I try to transform it into exe, the application is created but I have the error below :

Traceback (most recent call last):
File "Untitled5.py", line 7, in
ModuleNotFoundError: No module named 'prophet'
[PYI-19624:ERROR] Failed to execute script 'Untitled5' due to unhandled exception!
The application opens, displays the error and closes after 5 seconds.

Does anyone know how to fix this problem?

Thank you for the help!

Dominant language
Python
Stars
20.5k
Forks
4.6k
PR merge metrics
No merged PRs in 30d

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from facebook/prophet

All issues in facebook/prophet

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.