An error occurred during the execution of the EXE file generated by pyinstall package
no module named sklearn.neighbors_typedefs
Solution
Delete the original dist, build file and spec file, and add:
python pyinstaller.py -F -c xxx.py --hidden-import sklearn.neighbors.typedefs
For example:
python pyinstaller.py -F device_data_collect.py -p src --hidden-import sklearn.neighbors.typedefs
Postscript
[postscript] in order to enable everyone to learn programming easily, I created a public official account, which includes programming for quick learning, and some dry cargo to improve your programming level. There are also some programming projects suitable for some courses design.
You can also add my wechat [1257309054] to bring you into the group and let us exchange and study together
Focus on me, we grow together~~
Read More:
- ModuleNotFoundError: No module named ‘sklearn.datasets.samples_generator‘
- Module not founderror: no module named ‘nets.ssd‘
- Module not found error: the solution to the problem of no module named ‘MySQL’
- ModuleNotFoundError: No module named ‘numpy.testing.nosetester‘
- How to Fix gdb error: Failed to import the site module,No module named ‘_sysconfigdata_m’
- Unable to call numpy in pychar, module notfounderror: no module named ‘numpy’
- ModuleNotFoundError: No module named xxx
- ModuleNotFoundError: No module named ‘apt_pkg‘
- [Solved] ModuleNotFoundError: No module named ‘win32api’
- ImportError: No module named indexes.base
- Processing method of PIP exception no module named ‘pip’
- ModuleNotFoundError: No module named ‘MySQLdb‘
- matplotlib error – no module named tkinter
- Modulenotfounderror: no module named ‘CV2’ – (version problem)
- Error no module named ‘in newly installed Python_ sqlite3‘
- Importerror of Django error: no module named**
- ModuleNotFoundError: No module named ‘tensorboardX‘
- ModuleNotFoundError: No module named ‘notebook‘
- Python:ImportError: No module named indexes.base
- ModuleNotFoundError: No module named ‘ahocorasick‘ [100% Work Method]