|
21 | 21 | "## pynq library\n", |
22 | 22 | "Let's check that the Xilinx pynq library is installed: you should see (among things) a version number, which should match the version of the PYNQ Linux image you installed.\n", |
23 | 23 | "\n", |
24 | | - "The QICK software supports pynq versions 2.6.0 and above." |
| 24 | + "The QICK software supports pynq versions 2.6 through 3.0 (including 3.0.1). Version 3.1 is not supported at this time." |
25 | 25 | ] |
26 | 26 | }, |
27 | 27 | { |
|
165 | 165 | "source": [ |
166 | 166 | "### Installing using pip (recommended option)\n", |
167 | 167 | "\n", |
168 | | - "You could run these `pip3` commands from the shell over SSH - they need to be run as root (using `sudo`), and on pynq 2.7 you must additionally enable the pynq `venv`. Running the commands inside a notebook, as we do here, conveniently ensures that the commands run in (and install to) the same environment that the notebook runs in." |
| 168 | + "You could run these `pip3` commands from the shell over SSH - they need to be run as root (using `sudo`), and on pynq 2.7 you must additionally enable the pynq `venv`. Running the commands inside a notebook, as we do here, conveniently ensures that the commands run in (and install to) the same environment that the notebook runs in.\n", |
| 169 | + "\n", |
| 170 | + "The options `--no-index --no-build-isolation` are important for two reasons:\n", |
| 171 | + "1. they allow pip to run even if the board doesn't have Internet access\n", |
| 172 | + "2. they prevent pip from attempting to install the `pynq` library, which may happen if you've somehow broken your board's Python environment or your `pynq` version is unsupported; pip can't actually install `pynq` correctly so this is unhelpful" |
169 | 173 | ] |
170 | 174 | }, |
171 | 175 | { |
|
205 | 209 | "# It is recommended if you expect to update the git repo, or you want to test changes to the QICK library, \n", |
206 | 210 | "# and don't want to reinstall the library every time.\n", |
207 | 211 | "\n", |
208 | | - "!pip3 install -e ../\n", |
209 | | - "\n", |
210 | | - "# If your board doesn't have Internet access, you may need to add some extra options:\n", |
211 | | - "\n", |
212 | | - "# !pip3 install --no-index --no-build-isolation -e ../\n", |
| 212 | + "!pip3 install --no-index --no-build-isolation -e ../\n", |
213 | 213 | "\n", |
214 | 214 | "# Use the line below instead for a normal pip install, which copies the library files to a central location.\n", |
215 | 215 | "# In contrast to an editable install, you will need to re-install whenever you modify or update the qick library;\n", |
216 | 216 | "# a normal install is somewhat slower for the initial install and infinitely slower for updates.\n", |
217 | 217 | "# This is only recommended if for some reason you want to delete the git repo after installing,\n", |
218 | 218 | "# or the git repo is on a temporarily available filesystem (e.g. flash drive).\n", |
219 | 219 | "\n", |
220 | | - "# !pip3 install ../\n" |
| 220 | + "# !pip3 install --no-index --no-build-isolation ../" |
221 | 221 | ] |
222 | 222 | }, |
223 | 223 | { |
|
0 commit comments