# Installing FastAPI and Dependencies

* First you need to set up a VENV for this project: [Click here!](/programming/python/virtual-environments-venv.md)
* Once the Terminal and Interpreter are set up to use the version in VENV go ahead and install via PIP

```bash
pip install fastapi[all]
```

* Once this is completed you should have both FastAPI and dependencies installed.&#x20;
* This can be checked with

```bash
pip freeze
```

* It will return a list with the packages in pip

Example:

```markdown
anyio==3.6.1
asgiref==3.5.2
certifi==2022.5.18.1
charset-normalizer==2.0.12
click==8.1.3
colorama==0.4.4
dnspython==2.2.1
fastapi==0.78.0
h11==0.13.0
httptools==0.4.0
idna==3.3
itsdangerous==2.1.2
Jinja2==3.1.2
MarkupSafe==2.1.1
orjson==3.7.2
pydantic==1.9.1
python-dotenv==0.20.0
python-multipart==0.0.5
PyYAML==6.0
requests==2.27.1
six==1.16.0
sniffio==1.2.0
starlette==0.19.1
typing_extensions==4.2.0
ujson==5.3.0
urllib3==1.26.9
uvicorn==0.17.6
watchgod==0.8.2
websockets==10.3
```

* These will also be installed in the VENV under lib
* The executables will be in scripts or in bin on Unix/Linux systems

![](/files/43Mthh24M2LJILp1zAQK)


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.arkannis.net/programming/python/frameworks/fastapi/installing-fastapi-and-dependencies.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
