Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Importing python packages - TouchTerrain_jupyter_for_starters #1

Open
Rolleroo opened this issue May 6, 2021 · 8 comments
Open

Importing python packages - TouchTerrain_jupyter_for_starters #1

Rolleroo opened this issue May 6, 2021 · 8 comments

Comments

@Rolleroo
Copy link

Rolleroo commented May 6, 2021

Loving this idea of this and really would like to put it to use.

I am having issues importing the packages in thee starter notebook. I don't get the message.

EE init() worked with .config/earthengine/credentials!

After this I get the following message which appears to be an issue with authentication of ee

AttributeError: module 'ee' has no attribute 'Reducer'

I am unsure if the errors coming up when touch terrain is first started in Docker are at fault?
Terrain Touch Beginner Notebook Errors.txt

Any help much appreciated.

@ChHarding
Copy link
Owner

ChHarding commented May 6, 2021 via email

@Rolleroo
Copy link
Author

Hi there,

Retried and got it working as advertised.

I think I was running from inside Docker as you mentioned.

Also had to sign up for GE on my Google account which it noted may take a few days to update.

Particularly happy with the polygon selection.

Really appreciate the work you've put into this. Keep up the good work. Is there anywhere I can support you or post on?

Rolleroo

@ChHarding
Copy link
Owner

ChHarding commented May 10, 2021 via email

@Rolleroo
Copy link
Author

I use it for printing terrain maps, generally as gifts but some for interest. My son has asked for a map of the world in the game Skyrim which I'll have to master geotiffs for.

Unfortunately social media doesn't come easily to me either but I'll see what I can do!

@ChHarding
Copy link
Owner

ChHarding commented May 10, 2021 via email

@gravity981
Copy link

gravity981 commented Aug 15, 2021

AttributeError: module 'ee' has no attribute 'Reducer'

I had this problem too.
Running ee.Initialize() after importing ee (and after first time authentication) solved the problem for me.

@ChHarding
Copy link
Owner

ChHarding commented Aug 16, 2021 via email

@sr71shark
Copy link

I also had this issue with the same notebook. It seems to have been fixed by both following the given by @ChHarding of:

  1. open a terminal shell (cmd.exe or powershell)
  2. cd (which contains a rouchterrain folder and the setup.py script, and other stuff …)
  3. run this: pip install . (<- dot!)

But then I had to also run ee.Initialize() as @gravity981 said above.

But now I have another issue I'm struggling to figure out. I will create a new issue ticket for that one though.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants