human-eval icon indicating copy to clipboard operation
human-eval copied to clipboard

Problems with installation instructions

Open jonpincus opened this issue 3 years ago • 3 comments

After setting up my environment with conda, I ran into problems with

$ git checkout https://github.com/openai/human-eval
$ pip install -e human-eval

First, git checkout should be a git clone.

Then, when I run the pip command, I get

ERROR: human-eval is not a valid editable requirement. It should either be a path to a local project or a VCS URL (beginning with bzr+http, bzr+https, bzr+ssh, bzr+sftp, bzr+ftp, bzr+lp, bzr+file, git+http, git+https, git+ssh, git+git, git+file, hg+file, hg+http, hg+https, hg+ssh, hg+static-http, svn+ssh, svn+http, svn+https, svn+svn, svn+file).

jonpincus avatar Jul 22 '21 17:07 jonpincus

Thanks for catching git checkout. It's fixed now.

Hm.. I haven't seen that before. What python/pip version are you using? Could you try again with python 3.7 and the latest pip? I'm using

$ pip --version
pypip 21.1.3 ...

heewooj avatar Jul 23 '21 03:07 heewooj

@jonpincus , you can simply run pip install -e . from the human-eval directory after cloning.

abtExp avatar Oct 27 '21 09:10 abtExp

I keep getting this error:

ModuleNotFoundError: No module named 'human_eval.data'; 'human_eval' is not a package

mtisz avatar Dec 16 '23 20:12 mtisz