|
13 | 13 | "source": [ |
14 | 14 | "### Installation and Setup\n", |
15 | 15 | "\n", |
16 | | - "Begin by cloning the SkyThought repository and installing the necessary packages.\n", |
| 16 | + "You can install the latest release from PyPI, or install from source:\n", |
17 | 17 | "\n", |
18 | | - "We recommend using `uv` for package management (For installation, refer to the [offical guide](https://docs.astral.sh/uv/getting-started/installation)). " |
| 18 | + "#### Installing from PyPI\n", |
| 19 | + "\n", |
| 20 | + "```shell\n", |
| 21 | + "pip install skythought\n", |
| 22 | + "```" |
19 | 23 | ] |
20 | 24 | }, |
21 | 25 | { |
22 | | - "cell_type": "code", |
23 | | - "execution_count": null, |
| 26 | + "cell_type": "markdown", |
24 | 27 | "metadata": {}, |
25 | | - "outputs": [], |
26 | 28 | "source": [ |
| 29 | + "#### Installing from source\n", |
| 30 | + "\n", |
| 31 | + "For installing from source, we recommend using uv for package management (For uv installation, refer to the [official guide](https://docs.astral.sh/uv/getting-started/installation)).\n", |
| 32 | + "\n", |
| 33 | + "```shell\n", |
27 | 34 | "# Clone the repository\n", |
28 | | - "!git clone https://github.com/NovaSky-AI/SkyThought.git\n", |
29 | | - "!cd SkyThought\n", |
| 35 | + "git clone https://github.com/NovaSky-AI/SkyThought.git\n", |
| 36 | + "cd SkyThought\n", |
30 | 37 | "\n", |
31 | 38 | "# Create and activate a virtual environment (using uv here)\n", |
32 | | - "!uv venv --python 3.10\n", |
33 | | - "!source .venv/bin/activate\n", |
| 39 | + "uv venv --python 3.10\n", |
| 40 | + "source .venv/bin/activate\n", |
34 | 41 | "\n", |
35 | 42 | "# Install the package in editable mode\n", |
36 | | - "!uv pip install -e ." |
| 43 | + "uv pip install -e .\n", |
| 44 | + "```" |
37 | 45 | ] |
38 | 46 | }, |
39 | 47 | { |
|
0 commit comments