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 answers
Related Questions in PYINSTALLER
- Stop building when a missing module is encountered
- Produce both versions x32 and x64 under PyInstaller
- Running a Pyinstaller Django application using nginx
- couchbase is installed but still getting import error (Pyinstaller)
- Pyaudio recognizer error cannot find path
- How to create .exe from python script with modules and dependent files
- PyInstaller output artifacts in different folders
- How to run pyinstaller correctly on cygwin?
- Pyinstaller bundling all non-executables into one seperate folder
- pyinstaller: _libcouchbase module not found after building the executable
- Errno 22:invalid mode('rb') or filename:' ' while running a spec file while using pyinstaller
- Pyinstaller .exe compilation error
- AttributeError: After converting python script to EXE by Pyinstaller
- Packaging Kivy Python applications on OSX Yosemite not working
- Command prompt closing too quickly
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
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?
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)