I get error “No module named 'pyproj._datadir'” after I made .py to .exe with pyinstaller
问题 My code works well when it's .py but when I make .exe file with pyinstaller, it shows ModuleNotFoundError. I write this when I made .exe pyinstaller -F MyCode.py How can I solve this problem? I've read Issues with pyinstaller and pyproj and I was going to try to make and located hook-pyproj.py at "hooks" folder in Pyinstaller. but hook-pyproj.py was already there with the same code. After that, I installed "basemap" and tried to use pyproj from it. However it shows me the same error. This is