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

Having trouble building Evals locally? Try this. #1340

Open
silverfoxf7 opened this issue Aug 25, 2023 · 1 comment
Open

Having trouble building Evals locally? Try this. #1340

silverfoxf7 opened this issue Aug 25, 2023 · 1 comment
Labels
bug Something isn't working

Comments

@silverfoxf7
Copy link

Describe the bug

I used

git clone [email protected]:openai/evals.git

and couldn't get pip install -e . to run.

Error logs said I was missing a setup.py or setup.cfg file. That's odd. Poking around, I realized that my git clone hadn't copied pyproject.toml and mypy.ini into my local directory.

No problem, I manually downloaded those files and voila it compiled.

So then I ran oaieval gpt-3.5-turbo test-closedqa-uniqueness and got this error: ModuleNotFoundError: No module named 'evals.utils'

Upon closer inspection, it was the "git clone" issue again! For some reason, cloning the repo isn't bringing in all of the files and folders. Sure enough, I was missing the utils folders under /evals/

I downloaded the entire repo as a Zip file. That zip contained all of the files, at which point building and running the oaievals worked.

To Reproduce

  1. git clone this main branch
  2. run 'pip install -e .'
  3. it will fail.

Code snippets

No response

OS

macOS

Python version

Python 3.9.7

Library version

openai-evals 1.0.3.post1

@silverfoxf7 silverfoxf7 added the bug Something isn't working label Aug 25, 2023
@mmtmn
Copy link
Contributor

mmtmn commented Oct 21, 2023

I posted a similar issue when this repository first came out here. Make sure to update your pip!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants