Skip to content
This repository was archived by the owner on Sep 13, 2023. It is now read-only.

Wrap pip error with MLEM error #547

Closed
aguschin opened this issue Dec 27, 2022 · 1 comment · Fixed by #597
Closed

Wrap pip error with MLEM error #547

aguschin opened this issue Dec 27, 2022 · 1 comment · Fixed by #597
Assignees
Labels
bug Something isn't working cli MLEM command-line interface errors Errors and Exceptions thrown by MLEM p2-medium Medium priority

Comments

@aguschin
Copy link
Contributor

$ mlem build venv --model lyrics2emoji --current_env True
⏳️ Loading model from lyrics2emoji.mlem
💼 Detected the virtual env /Users/aguschin/Git/iterative/mlem/emoji/.venv
💼 Installing the required packages...
ERROR: You must give at least one requirement to install (see "pip help install")
❌ Error running pip
Command '['/Users/aguschin/Git/iterative/mlem/emoji/.venv/bin/python', '-m', 'pip', 'install']' returned non-zero exit status 1.
@aguschin aguschin added bug Something isn't working cli MLEM command-line interface p2-medium Medium priority errors Errors and Exceptions thrown by MLEM labels Dec 27, 2022
@aguschin
Copy link
Contributor Author

aguschin commented Dec 28, 2022

Plus another mistake here:

(.venv) $ mlem build venv --model lyrics2emoji --current_env True
⏳️ Loading model from lyrics2emoji.mlem
💼 Detected the virtual env /Users/aguschin/Git/iterative/mlem/emoji/.venv
💼 Installing the required packages...
...
Successfully installed numpy-1.23.5 scikit-learn-1.1.1 torch-1.13.0
✅  virtual environment `venv` is ready, activate with `source venv/bin/activate`

Should be

✅  virtual environment `.venv` is ready, activate with `source .venv/bin/activate`

# for free to subscribe to this conversation on GitHub. Already have an account? #.
Labels
bug Something isn't working cli MLEM command-line interface errors Errors and Exceptions thrown by MLEM p2-medium Medium priority
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant