I'm turning some of my work into EXEs to be distributed amongst my colleagues, and before doing so I'd prefer to slim down the EXE that PyInstaller is coming out with. I'm currently using Auto-Py-To-Exe, but would be fine doing it in CLI. How would I go about importing matplotlib.pyplot, without including the entirety of matplotlib? I first tried including --exclude-module matplotlib and --hidden-import matplotlib.pyplot but that didn't work, and I got error ModuleNotFoundError: No module named 'matplotlib' upon running the EXE.
Including submodules without entire modules with PyInstaller
36 Views Asked by Daniel At
0
There are 0 best solutions below
Related Questions in PYINSTALLER
- Raspberry Pi Sense Hat with Pyinstaller
- Error "No module named autopygui" after opening the compiled exe file
- Django miss static files after packaging with pyinstaller
- RecursionError and pyinstaller .spec error
- How can i debug a python exe which is created by using pyinstaller?
- Issue with pyinstaller, transforming .py file into .exe
- The assembled Python application does not launch
- When I try to convert this code to exe file it runs a cmd window
- pyninstaller error: ignored explicit argument '--'
- error 'sequence item 2: expected str instance, NoneType found' while operating HDF5 format in Python
- Problem opening .robot from .exe generated with pyinstaller
- Importing assets in Python doesn't work after making a build
- How to convert multiple Python files to multiple executable using pyinstaller
- pyinstaller' is not recognized as an internal or external command, operable program or batch file
- ModuleNotFoundError: No module named 'scipy.linalg.basic
Related Questions in AUTO-PY-TO-EXE
- Error "No module named autopygui" after opening the compiled exe file
- Cannot include ffmpeg.exe using auto-py-to-exe
- Auto-py-to-exe not packaging all the references properly
- Python and PyQT5, exe file is not running
- I am having problem converting py file to exe with ultralytics library = 8.1.20
- Python NSSM commands packaged in .exe
- Including submodules without entire modules with PyInstaller
- Fix FileNotFoundError: while running *exe file of python source code generated by pyinstaller
- Python app detected as virus by defender after addition of classes
- auto-py-to-exe "'extra' does not exist in evaluation environment."
- auto-py-to-exe doesn't properly convert py to exe. keep getting warnings
- Error Loading Python DLL while running a .exe scrapper made with auto-py-to-exe
- Script does not save output to correct path while using auto py to exe
- PyInstaller compiled .exe raises error "OSError: could not get source code" when calling inspect.getsource(v)
- What signal receives a python program converted into an .exe (with auto_py_to_exe) from NSSM stop service command? Windows O.S
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?