Skip to content

Commit

Permalink
updated documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
fracpete committed Jul 23, 2024
1 parent 68f02a4 commit d69495d
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 21 deletions.
20 changes: 10 additions & 10 deletions _sources/install.rst.txt
Original file line number Diff line number Diff line change
Expand Up @@ -39,27 +39,27 @@ First, you need to be able to compile C/C++ code and Python modules:

.. code-block:: bash
sudo apt-get install build-essential python3-dev
sudo apt install build-essential python3-dev
Now, you can install the various packages that we require for installing
*python-weka-wrapper3*:

.. code-block:: bash
sudo apt-get install python3-pip python3-numpy python3-venv
sudo apt install python3-pip python3-numpy python3-venv
The following packages are optional, but necessary if you also want some
graphical output:

.. code-block:: bash
sudo apt-get install python3-pil python3-matplotlib python3-pygraphviz
sudo apt install python3-pil python3-matplotlib python3-pygraphviz libgraphviz-dev
Install OpenJDK as well, in order to get all the header files for compilation:

.. code-block:: bash
sudo apt-get install default-jdk
sudo apt install default-jdk
Create a virtual environment using the *venv* module that :

Expand Down Expand Up @@ -90,21 +90,21 @@ You need to be able to compile C/C++ code and Python modules:

.. code-block:: bash
apt-get install build-essential python3-dev
apt install build-essential python3-dev
Now, you can install the various packages that we require for installing
*`python-weka-wrapper3*:

.. code-block:: bash
apt-get install python3-pip python3-numpy python3-venv
apt install python3-pip python3-numpy python3-venv
The following packages are optional, but necessary if you also want some
graphical output:

.. code-block:: bash
apt-get install python3-pil python3-matplotlib python3-pygraphviz
apt install python3-pil python3-matplotlib python3-pygraphviz libgraphviz-dev
Older Debian versions used `python3-imaging` instead of `python3-pil`.

Expand Down Expand Up @@ -185,7 +185,7 @@ graphical output and plots:
* numpy
* PIL (optional)
* matplotlib (optional)
* pygraphviz (optional)
* pygraphviz (optional; requires graphviz headers)

Create a virtual environment using the *venv* module that :

Expand All @@ -210,8 +210,8 @@ In a Python 3 COLAB environment, you need to run the following steps for full fu
.. code-block:: bash
# install dependencies
!apt-get install build-essential python3-dev
!apt-get install python3-pil python3-pygraphviz
!apt install build-essential python3-dev
!apt install python3-pil python3-pygraphviz libgraphviz-dev
!apt install openjdk-11-jdk
# install pww3
!pip install wheel
Expand Down
20 changes: 10 additions & 10 deletions install.html
Original file line number Diff line number Diff line change
Expand Up @@ -57,21 +57,21 @@ <h2>Optional features<a class="headerlink" href="#optional-features" title="Perm
<section id="ubuntu">
<h2>Ubuntu<a class="headerlink" href="#ubuntu" title="Permalink to this heading"></a></h2>
<p>First, you need to be able to compile C/C++ code and Python modules:</p>
<div class="highlight-bash notranslate"><div class="highlight"><pre><span></span>sudo<span class="w"> </span>apt-get<span class="w"> </span>install<span class="w"> </span>build-essential<span class="w"> </span>python3-dev
<div class="highlight-bash notranslate"><div class="highlight"><pre><span></span>sudo<span class="w"> </span>apt<span class="w"> </span>install<span class="w"> </span>build-essential<span class="w"> </span>python3-dev
</pre></div>
</div>
<p>Now, you can install the various packages that we require for installing
<em>python-weka-wrapper3</em>:</p>
<div class="highlight-bash notranslate"><div class="highlight"><pre><span></span>sudo<span class="w"> </span>apt-get<span class="w"> </span>install<span class="w"> </span>python3-pip<span class="w"> </span>python3-numpy<span class="w"> </span>python3-venv
<div class="highlight-bash notranslate"><div class="highlight"><pre><span></span>sudo<span class="w"> </span>apt<span class="w"> </span>install<span class="w"> </span>python3-pip<span class="w"> </span>python3-numpy<span class="w"> </span>python3-venv
</pre></div>
</div>
<p>The following packages are optional, but necessary if you also want some
graphical output:</p>
<div class="highlight-bash notranslate"><div class="highlight"><pre><span></span>sudo<span class="w"> </span>apt-get<span class="w"> </span>install<span class="w"> </span>python3-pil<span class="w"> </span>python3-matplotlib<span class="w"> </span>python3-pygraphviz
<div class="highlight-bash notranslate"><div class="highlight"><pre><span></span>sudo<span class="w"> </span>apt<span class="w"> </span>install<span class="w"> </span>python3-pil<span class="w"> </span>python3-matplotlib<span class="w"> </span>python3-pygraphviz<span class="w"> </span>libgraphviz-dev
</pre></div>
</div>
<p>Install OpenJDK as well, in order to get all the header files for compilation:</p>
<div class="highlight-bash notranslate"><div class="highlight"><pre><span></span>sudo<span class="w"> </span>apt-get<span class="w"> </span>install<span class="w"> </span>default-jdk
<div class="highlight-bash notranslate"><div class="highlight"><pre><span></span>sudo<span class="w"> </span>apt<span class="w"> </span>install<span class="w"> </span>default-jdk
</pre></div>
</div>
<p>Create a virtual environment using the <em>venv</em> module that :</p>
Expand All @@ -93,17 +93,17 @@ <h2>Debian<a class="headerlink" href="#debian" title="Permalink to this heading"
</pre></div>
</div>
<p>You need to be able to compile C/C++ code and Python modules:</p>
<div class="highlight-bash notranslate"><div class="highlight"><pre><span></span>apt-get<span class="w"> </span>install<span class="w"> </span>build-essential<span class="w"> </span>python3-dev
<div class="highlight-bash notranslate"><div class="highlight"><pre><span></span>apt<span class="w"> </span>install<span class="w"> </span>build-essential<span class="w"> </span>python3-dev
</pre></div>
</div>
<p>Now, you can install the various packages that we require for installing
<em>`python-weka-wrapper3</em>:</p>
<div class="highlight-bash notranslate"><div class="highlight"><pre><span></span>apt-get<span class="w"> </span>install<span class="w"> </span>python3-pip<span class="w"> </span>python3-numpy<span class="w"> </span>python3-venv
<div class="highlight-bash notranslate"><div class="highlight"><pre><span></span>apt<span class="w"> </span>install<span class="w"> </span>python3-pip<span class="w"> </span>python3-numpy<span class="w"> </span>python3-venv
</pre></div>
</div>
<p>The following packages are optional, but necessary if you also want some
graphical output:</p>
<div class="highlight-bash notranslate"><div class="highlight"><pre><span></span>apt-get<span class="w"> </span>install<span class="w"> </span>python3-pil<span class="w"> </span>python3-matplotlib<span class="w"> </span>python3-pygraphviz
<div class="highlight-bash notranslate"><div class="highlight"><pre><span></span>apt<span class="w"> </span>install<span class="w"> </span>python3-pil<span class="w"> </span>python3-matplotlib<span class="w"> </span>python3-pygraphviz<span class="w"> </span>libgraphviz-dev
</pre></div>
</div>
<p>Older Debian versions used <cite>python3-imaging</cite> instead of <cite>python3-pil</cite>.</p>
Expand Down Expand Up @@ -167,7 +167,7 @@ <h2>Other Linux distributions<a class="headerlink" href="#other-linux-distributi
<li><p>numpy</p></li>
<li><p>PIL (optional)</p></li>
<li><p>matplotlib (optional)</p></li>
<li><p>pygraphviz (optional)</p></li>
<li><p>pygraphviz (optional; requires graphviz headers)</p></li>
</ul>
<p>Create a virtual environment using the <em>venv</em> module that :</p>
<div class="highlight-bash notranslate"><div class="highlight"><pre><span></span>python3<span class="w"> </span>-m<span class="w"> </span>venv<span class="w"> </span>pww3
Expand All @@ -184,8 +184,8 @@ <h2>Other Linux distributions<a class="headerlink" href="#other-linux-distributi
<h2>COLAB<a class="headerlink" href="#colab" title="Permalink to this heading"></a></h2>
<p>In a Python 3 COLAB environment, you need to run the following steps for full functionality:</p>
<div class="highlight-bash notranslate"><div class="highlight"><pre><span></span><span class="c1"># install dependencies</span>
!apt-get<span class="w"> </span>install<span class="w"> </span>build-essential<span class="w"> </span>python3-dev
!apt-get<span class="w"> </span>install<span class="w"> </span>python3-pil<span class="w"> </span>python3-pygraphviz
!apt<span class="w"> </span>install<span class="w"> </span>build-essential<span class="w"> </span>python3-dev
!apt<span class="w"> </span>install<span class="w"> </span>python3-pil<span class="w"> </span>python3-pygraphviz<span class="w"> </span>libgraphviz-dev
!apt<span class="w"> </span>install<span class="w"> </span>openjdk-11-jdk
<span class="c1"># install pww3</span>
!pip<span class="w"> </span>install<span class="w"> </span>wheel
Expand Down
2 changes: 1 addition & 1 deletion searchindex.js

Large diffs are not rendered by default.

0 comments on commit d69495d

Please sign in to comment.