Skip to content

Missing dependencies for test #1680

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

Merged
merged 1 commit into from
Aug 15, 2024
Merged

Conversation

jkawamoto
Copy link
Contributor

When I ran tests using this command:

pip install -e ".[test]"
python -m pytest

I got this error message:

    def test_llama_server():
>       from fastapi.testclient import TestClient
E       ModuleNotFoundError: No module named 'fastapi'

tests/test_llama.py:246: ModuleNotFoundError

This PR adds the missing dependencies for the test feature.

@abetlen abetlen merged commit 78e35c4 into abetlen:main Aug 15, 2024
13 checks passed
@jkawamoto jkawamoto deleted the test-dependencies branch August 15, 2024 22:24
benniekiss pushed a commit to benniekiss/llama-cpp-python that referenced this pull request Aug 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants