You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Trying to run the debug server with the other dependencies installed manually throws the following:
Traceback (most recent call last):
File "/Users/marco/Documents/projects/uniwhy/.venv/lib/python3.12/site-packages/strawberry/cli/__init__.py", line 5, in <module>
from .commands.schema_codegen import (
File "/Users/marco/Documents/projects/uniwhy/.venv/lib/python3.12/site-packages/strawberry/cli/commands/schema_codegen.py", line 7, in <module>
from strawberry.schema_codegen import codegen
File "/Users/marco/Documents/projects/uniwhy/.venv/lib/python3.12/site-packages/strawberry/schema_codegen/__init__.py", line 10, in <module>
import libcst as cst
ModuleNotFoundError: No module named 'libcst'
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/Users/marco/Documents/projects/uniwhy/.venv/bin/strawberry", line 4, in <module>
from strawberry.cli import run
File "/Users/marco/Documents/projects/uniwhy/.venv/lib/python3.12/site-packages/strawberry/cli/__init__.py", line 17, in <module>
raise MissingOptionalDependenciesError(extras=["cli"]) from exc
strawberry.exceptions.missing_dependencies.MissingOptionalDependenciesError
Installing Strawberry via
pip install 'strawberry-graphql[debug-server]'
(oruv
) requires the Rust toolchain to be installed because oflibcst
:I was wondering if
libcst
is actually needed for the debug server to work.Tested on macOS x86_64, Python 3.12.9
The text was updated successfully, but these errors were encountered: