Sounds like you’re just mixing up virtual environments. Try running from a terminal:
python your-code.py
and (note case-sensitive):
python -m PyInstaller your-code.py
Either the 1st one should fail with ModuleNotFoundError: geemap
, in which case either pip install geemap
into your current environment or track down and activate the virtual environment that geemap
is already installed in.
Or the 2nd one should fail with python: No module named PyInstaller
, in which case PyInstaller is not installed in this environment and you should pip install pyinstaller
.