GithubHelp home page GithubHelp logo

Comments (11)

kvos avatar kvos commented on June 12, 2024

thanks @conlin-matt ! this is very useful for other MacOS users.
what was the error when you ran "conda env create -f environment.yml -n coastsat"?

from coastsat.

conlin-matt avatar conlin-matt commented on June 12, 2024

Sorry, should have posted that before. The error is as follows:
"SpecNotFound: Invalid name, try the format: user/package"

I tried changing the name to the full path where I am trying to create the environment, but that didn't work either with error "path was not found on anaconda.org"

from coastsat.

Julai091 avatar Julai091 commented on June 12, 2024

from coastsat.

Julai091 avatar Julai091 commented on June 12, 2024

from coastsat.

kvos avatar kvos commented on June 12, 2024

ok so there seems to be an issue with the installation.
@conlin-matt did you manage to get coastsat running on your Mac with your fix?
@Julai091 what is the problem on Windows? could you please add a screenshot of the error?

If the environment.yml file does not work for you, another option is to install the individual packages separately:

  1. conda create --name coastsat
  2. conda activate coastsat
  3. conda install <name_of_the_package>

You will need to install the following packages to run coastsat:

  • earthengine-api, gdal, geopandas, pytz, scikit-image, scikit-learn, shapely
  • as well as these basic python packages numpy, scipy, spyder, notebook.

Once they have all been installed you have to run the command earthengine authenticate and link to your gmail account.

I hope this helps, let me know if there are still issues with the installation.

from coastsat.

conlin-matt avatar conlin-matt commented on June 12, 2024

@kvos yes, after using my 4 steps above I individually downloaded all the required packages with conda or pip and coastsat seems to be running. Thanks for providing that package dependency list- very helpful!

from coastsat.

Julai091 avatar Julai091 commented on June 12, 2024

from coastsat.

kvos avatar kvos commented on June 12, 2024

great! thanks @conlin-matt for providing a fix for Mac, I will leave this issue open for a little longer to see if other users have similar issues before closing it and updating the documentation.

from coastsat.

hamidj2019 avatar hamidj2019 commented on June 12, 2024

Hi Kilian,
You posted some message here to me but that has been deleted. Are you deleting the messages and communications after some time period?
Could you please advise so that I can know about it so I do not miss them.
Best regards
Hamid

from coastsat.

hamidj2019 avatar hamidj2019 commented on June 12, 2024

from coastsat.

hamidj2019 avatar hamidj2019 commented on June 12, 2024

ok so there seems to be an issue with the installation.
@conlin-matt did you manage to get coastsat running on your Mac with your fix?
@Julai091 what is the problem on Windows? could you please add a screenshot of the error?

If the environment.yml file does not work for you, another option is to install the individual packages separately:

  1. conda create --name coastsat
  2. conda activate coastsat
  3. conda install <name_of_the_package>

You will need to install the following packages to run coastsat:

  • earthengine-api, gdal, geopandas, pytz, scikit-image, scikit-learn, shapely
  • as well as these basic python packages numpy, scipy, spyder, notebook.

Once they have all been installed you have to run the command earthengine authenticate and link to your gmail account.

I hope this helps, let me know if there are still issues with the installation.


After that I tried to follow the following 3 steps:

conda create --name coastsat
conda activate coastsat
conda install <name_of_the_package>
BUT in step 3, I get an ERROR message. please see below:

(coastsat) C:\Users\TANIN>conda install earthengine-api
Collecting package metadata: done
Solving environment: failed

PackagesNotFoundError: The following packages are not available from current channels:

  • earthengine-api

Current channels:

To search for alternate channels that may provide the conda package you're
looking for, navigate to

https://anaconda.org

and use the search bar at the top of the page.

from coastsat.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.