OpenHands icon indicating copy to clipboard operation
OpenHands copied to clipboard

fix: Update requirements.txt with google-generativai

Open goudbor opened this issue 1 year ago • 2 comments

Resolves #285

The package google-generativeai was installed using venv and requirements.txt updated with

pip freeze > requirements.txt

This creates versioning numbers for all packages used which were not included before.

goudbor avatar Mar 28 '24 18:03 goudbor

@jojeyh I don't think we want to go so far as a pip freeze, but it would definitely be nice to have a more reproducible build.

I wonder if a Pipfile is the right way to go? https://pipenv.pypa.io/en/latest/pipfile.html

rbren avatar Mar 28 '24 19:03 rbren

@rbren Sounds good to me. I'll try to get it working. At first glance it looks like pipenv doesn't play nice if there are multiple installations of python on a system (I use Ubuntu), but there's not really a lot of good options for python package management in general.

goudbor avatar Mar 28 '24 20:03 goudbor

@rbren Now works with pipenv , also updated and reordered the README a little for better readability

goudbor avatar Mar 29 '24 03:03 goudbor

LGTM! You just need to resolve the conflicts--looks like maybe someone added a line to requirements.txt you'll need to incorporate

rbren avatar Mar 29 '24 15:03 rbren

@rbren Resolved

goudbor avatar Mar 29 '24 16:03 goudbor

Thanks!

rbren avatar Mar 29 '24 19:03 rbren