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.
​
On Tuesday, May 4, 2021 at 5:06:35 PM UTC+1 Olivier H. wrote:

> I am trying to use pyinstaller to compile a script, but no matter what I 
> do I cannot get it to be included. The package in question is *geemap*. 
>
> The package is an import in my script, but is not included. I also tried 
> using a --hiddenimport but it was still not included.
>
> Really hope someone can help out! :)
>

-- 
You received this message because you are subscribed to the Google Groups 
"PyInstaller" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/pyinstaller/e36b0d5c-4c0d-48cc-9eb3-0006a05ce940n%40googlegroups.com.

Reply via email to