Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create Ubuntu.md #267

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
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
21 changes: 21 additions & 0 deletions Ubuntu.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
#Running Inselect on Ubuntu
Ubuntu is not an officially supported platform. Most Inselect functionality (barcode reading being a notable exception) is usable if a number of Python packages are installed. The following instructions have been tested on Ubuntu 16.04 and should work on most recent Ubuntu releases.

### Preparation
Copy link
Member

@quicklizard99 quicklizard99 Apr 17, 2016

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I would rather these instructions used a virtual environment.

```
sudo apt-get install python-pyside python-pathlib python-opencv
sudo apt-get install python-unicodecsv python-humanize python-psutil python-pip

pip install schematics
Copy link
Member

@quicklizard99 quicklizard99 Apr 17, 2016

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Many of these dependencies come from requirements.txt.

Prefer

sudo apt-get install build-essential python-dev python-pip git-all
sudo pip install --upgrade pip

# Inselect dependencies not provided by requirements.txt
sudo apt-get install libzbar-dev libdmtx-dev python-pyside python-numpy python-opencv

```

### Download Inselect
```
[email protected]:NaturalHistoryMuseum/inselect.git
```
Copy link
Member

@quicklizard99 quicklizard99 Apr 17, 2016

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Needs git clone at start of the line.

Install dependencies

sudo pip install -r requirements.txt 


### Running Inselect
```
cd inselect
python inselect.py
```