Skip to content

Commit f959f9d

Browse files
Jmuccigrrgbkrk
authored andcommitted
Adding pip install instructions (jupyter#170)
Since that key bit of `jupyter nbextension enable --py --sys-prefix <widget name>` is automatically done by condo, but not pip.
1 parent 2457486 commit f959f9d

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

widgets.html

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -87,6 +87,9 @@ <h3>Example</h3>
8787
<h3>Installation</h3>
8888
With conda:
8989
{% highlight bash %}conda install -c conda-forge ipyleaflet{% endhighlight %}
90+
With pip:
91+
{% highlight bash %}pip install ipyleaflet
92+
jupyter nbextension enable --py --sys-prefix ipyleaflet{% endhighlight %}
9093
</div>
9194
<div class="tab-pane" id="bqplot">
9295
<div class="jupyter-widget-header">
@@ -113,6 +116,9 @@ <h3>Example</h3>
113116
<h3>Installation</h3>
114117
With conda:
115118
{% highlight bash %}conda install -c conda-forge bqplot{% endhighlight %}
119+
With pip:
120+
{% highlight bash %}pip install bqplot
121+
jupyter nbextension enable --py --sys-prefix bqplot{% endhighlight %}
116122
</div>
117123
<div class="tab-pane" id="pythreejs">
118124
<div class="jupyter-widget-header">
@@ -138,6 +144,9 @@ <h3>Example</h3>
138144
<h3>Installation</h3>
139145
With conda:
140146
{% highlight bash %}conda install -c conda-forge pythreejs{% endhighlight %}
147+
With pip:
148+
{% highlight bash %}pip install pythreejs
149+
jupyter nbextension enable --py --sys-prefix pythreejs{% endhighlight %}
141150
</div>
142151
<div class="tab-pane" id="cookiecutter">
143152
<div class="jupyter-widget-header">

0 commit comments

Comments
 (0)