library · inferred from evidence
sys
A Python standard library module used to check the interpreter executable path.
- ImportError: cannot import name Mistral from mistralai after mixing conda and pip installs
This import error almost always means your interpreter is loading a different `mistralai` than you think, commonly the old 0.x from conda when pip installed 1.x. Check which Python your notebook kernel uses with `sys.executable` and compare
- `google-cloud-documentai` imports fail in GCP notebooks: kernel Python does not match pip
The package is fine — the environment is the problem. If you selected a GCP notebook instance pre-loaded for Apache Beam, its Jupyter kernel runs a different Python (`/root/apache-beam-custom/bin/python`) than the one pip installed into (`/