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

farmvibes-ai local setup #160

Closed
marias65 opened this issue Apr 12, 2024 · 7 comments
Closed

farmvibes-ai local setup #160

marias65 opened this issue Apr 12, 2024 · 7 comments
Assignees
Labels
FarmVibes.AI setup Issues encountered during cluster setup

Comments

@marias65
Copy link

Your country: USA
Your contact info to reach out to you: [email protected]
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

@github-actions github-actions bot added the triage Issues still not triaged by team label Apr 12, 2024
@rafaspadilha
Copy link
Contributor

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?

@rafaspadilha rafaspadilha added FarmVibes.AI setup Issues encountered during cluster setup and removed triage Issues still not triaged by team labels Apr 12, 2024
@rafaspadilha rafaspadilha self-assigned this Apr 12, 2024
@marias65
Copy link
Author

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

@rafaspadilha
Copy link
Contributor

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

@marias65
Copy link
Author

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

@renatolfc
Copy link
Contributor

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?

@marias65
Copy link
Author

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

@renatolfc
Copy link
Contributor

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
FarmVibes.AI setup Issues encountered during cluster setup
Projects
None yet
Development

No branches or pull requests

3 participants