Skip to content

Commit 29b58ea

Browse files
authored
Merge pull request #3360 from jasongrout/usereditable
Add note about workaround for editable user installs via pip.
2 parents 6456032 + 2034ac5 commit 29b58ea

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

docs/source/dev_install.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,15 @@ cd ipywidgets
2929
./dev-install.sh
3030
```
3131

32+
### Installing with pip
33+
34+
To do an editable install of the python ipywidgets package into the user site directory with pip, please use
35+
36+
```bash
37+
pip install --prefix=$(python -m site --user-base) -e .
38+
```
39+
Using `pip install --user -e .` will not work due to a bug in pip. See https://github.com/pypa/pip/issues/7953 for more details.
40+
3241
Rebuilding after making changes
3342
----------------------------
3443

0 commit comments

Comments
 (0)