pyinstaller / pyinstaller/pyinstaller
The Built application cannot load module scipy.sparse.linalg
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 13.1k
- Forks
- 2k
- Avg merge
- 1d 3h
- Merged PRs (30d)
- 11
Description
The error occurred when running the application after it was successfully built.
- Python 2.7.14
- PyInstaller 3.4.dev0+133d18156.
- The version of the 3rd-party module trapping the error is scipy‑1.0.0‑cp27‑cp27m‑win_amd64.whl. This was downloaded from https://www.lfd.uci.edu/~gohlke/pythonlibs/#scipy.
- 64bit Windows 7
Following is the minimal code which shows the error.
import scipy.sparse.linalg
The error reads
File "messagestream.pxd", line 5, in init scipy.optimize._trlib._trlib
ImportError: No module named messagestream
[12496] Failed to execute script Sparse
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
Start by reproducing the minimal import scipy.sparse.linalg application with the listed Python, PyInstaller, SciPy, and Windows versions, then inspect the resulting messagestream traceback. Done means the built application starts successfully and loads scipy.sparse.linalg without the missing-module error.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- build-system, tooling
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100