Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 16 additions & 2 deletions docs/startup-guide/linux.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ sudo rm -r /opt/sensing-dev

## Python User <a id="python"/>
### Prerequisite
* OS: ubuntu 22.04 **with sudo privilege**
* OS: ubuntu 22.04 or later **with sudo privilege**
* Development environment
* Python >=3.10
* Hardware:
Expand All @@ -88,21 +88,35 @@ pip uninstall ion-python -y
:::

### Install dependency

#### Ubuntu 22.04
<pre>
<code class="language-bash">
sudo apt install -y libgirepository1.0-dev gcc libcairo2-dev pkg-config python3-dev gir1.2-gtk-4.0<br />
pip3 install -U pip<br />
pip3 install pycairo<br />
pip3 install 'PyGObject&lt;=3.50'<br />
</code>
</pre>

#### Ubuntu later than 22.04
install libgirepository-2.0-dev if you want to install latest PyGObject
<pre>
<code class="language-bash">
sudo apt install -y libgirepository-2.0-dev gcc libcairo2-dev pkg-config python3-dev gir1.2-gtk-4.0<br />
pip3 install -U pip<br />
pip3 install pycairo<br />
pip3 install 'PyGObject&gt;3.50'<br />
</code>
</pre>


### Install Python Modules

Install aravis-python and gendc-python and ion-contrib-python to fully utilize. It is optional to install opencv-python, which is required for some of tutorials.

<pre>
<code class="language-bash">
pip3 install PyGObject<br />
pip3 install aravis-python=={this_version.aravis_python_version}<br />
pip3 install ion-contrib-python=={this_version.ion_python_version}<br />
pip3 install gendc-python=={this_version.gendc_python_version}<br />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -114,18 +114,30 @@ pip3 install pycairo<br />

### Pythonモジュールのインストール

本ウェブサイトで紹介するチュートリアルやソフトウェアはaravis-python、 gendc-python、そして ion-contrib-pythonをインストールすることで実行可能です。opencv-pythonのインストールは任意ですが、一部のチュートリアルで必要になります。
#### Ubuntu 22.04
<pre>
<code class="language-bash">
sudo apt install -y libgirepository1.0-dev gcc libcairo2-dev pkg-config python3-dev gir1.2-gtk-4.0<br />
pip3 install -U pip<br />
pip3 install pycairo<br />
pip3 install 'PyGObject&lt;=3.50'<br />
</code>
</pre>

#### Ubuntu later than 22.04
最新のPyGObjectをインストールしたい場合は、libgirepository-2.0-dev をインストールしてください。
<pre>
<code class="language-bash">
pip3 install PyGObject<br />
pip3 install aravis-python=={this_version.aravis_python_version}<br />
pip3 install ion-contrib-python=={this_version.ion_python_version}<br />
pip3 install gendc-python=={this_version.gendc_python_version}<br />
pip3 install opencv-python<br />
sudo apt install -y libgirepository-2.0-dev gcc libcairo2-dev pkg-config python3-dev gir1.2-gtk-4.0<br />
pip3 install -U pip<br />
pip3 install pycairo<br />
pip3 install 'PyGObject&gt;3.50'<br />
</code>
</pre>




### Pythonモジュールのアンインストール

上記の手順でインストールしたPythonモジュールをアンインストールしたい場合は以下のコマンドを実行してください。
Expand Down
6 changes: 3 additions & 3 deletions static/version_const/latest.js
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
//THIS IS WHERE YOU UPDATE
const is_latest = true;
const latest_version = 'v25.01.00';
const latest_version = 'v25.01.02';
const latest_winUSB_URL = "v24.02.02"
const ion_python_version = '3.2.6'
const gendc_python_version = '0.4.0'
const ion_python_version = '3.2.7'
const gendc_python_version = '0.4.1'
const aravis_python_version = '0.8.31.dev1'

const GenerateVersionInfo = require('./generate_version_info.js');
Expand Down
4 changes: 2 additions & 2 deletions static/version_const/v2405.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
//THIS IS WHERE YOU UPDATE
const is_latest = false;
const latest_version = 'v24.05.11';
const latest_version = 'v24.05.12';
const latest_winUSB_URL = "v24.02.02"
const ion_python_version = '1.8.9'
const ion_python_version = '1.8.10'
const gendc_python_version = '0.2.8'

const GenerateVersionInfo = require('./generate_version_info.js');
Expand Down