microsoft / farmvibes-ai

FarmVibes.AI: Multi-Modal GeoSpatial ML Models for Agriculture and Sustainability

Home Page:https://microsoft.github.io/farmvibes-ai/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

farmvibes-ai local setup

marias65 opened this issue · comments

Your country: USA
Your contact info to reach out to you: msbksan@iastate.edu
What is your scenario for using FarmVibes.AI?: I am a computer science college student trying to implement it on my own for a research project I am a part of. My goal is to use the segmentation notebooks to segment surrounding farmland.

I am just trying to set up farmvibes on a local machine by following the quickstart instructions but when I try to run the farmvibes-ai local setup I get a message saying "farmvibes-ai: command not found". I've included a screenshot because I am fairly sure that I am in the correct folder and I have downloaded all the dependencies without a problem so I am not sure what is wrong? Some help would be great!

GetImage

Hi, @marias65. Thanks for using FarmVibes.AI.

Seems like you did not have farmvibes-ai installed.

Did you run pip install ./src/vibe_core from the root of the repo, as explained in the Quickstart guide?

Yes, I did run pip install ./src/vibe_core before trying to run the setup command. I tried it again just in case and this was the output. Is this what it is supposed to look like?

GetImage

Please, could you run pip install --upgrade pip and then retry installing vibe_core?

Thank you, I upgraded pip and reinstalled vibe_core but I am still getting the same "farmvibes-ai: command not found error" no matter what folder I run the command in

From the first screenshot you shared, it seems you don’t have a virtualenv activated.

This means pip probably used a local bin directory to install farmvibes-ai in.

Can you try running ~/.local/bin/farmvibes-ai instead of plain farmvibes-ai when running farmvibes commands?

That seems to have worked!! Thank you so much!

Nice!

If you’re using bash, you might want to add that directory to your path by appending a line with export PATH=$PATH:$HOME/.local/.bin to your ~/.bashrc file.