From 28a5a76e51d4482e2c4b5fa98398b6add3cb4095 Mon Sep 17 00:00:00 2001 From: Hong Phuc Dang Date: Sat, 1 Aug 2020 13:23:43 +0200 Subject: [PATCH] Update ReadMe --- README.md | 45 +++++++++++++++++++++++++++++++++++++++------ 1 file changed, 39 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index 1c8e01bc..dbe392a4 100644 --- a/README.md +++ b/README.md @@ -24,30 +24,63 @@ This repository hosts the python library for communicating with the Pocket Scien To install PSLab on Debian based GNU/Linux system, the following dependencies must be installed. -### Dependencies - -* Python 3.4 or higher [Link to Official download page](https://www.python.org/downloads/windows/) +### Prerequisites & Dependencies +* Python 3.4 or higher [Link to Official download page](https://www.python.org/downloads/) * Pip   **Support package installer** * NumPy   **For numerical calculations** * PySerial   **For device connection** * iPython-qtconsole   **_Optional_** +* [Git](https://git-scm.com/book/en/v2/Getting-Started-Installing-Git) **Note**: If you are only interested in using PSLab as an acquisition device without a display/GUI, only one repository [pslab-python](https://github.com/fossasia/pslab-python) needs to be installed. If you like a GUI, install the [pslab-desktop app](https://github.com/fossasia/pslab-desktop) and follow the instructions of the Readme in that repo. ### How To Install on Linux -cd into the directories +Clone [pslab-python](https://github.com/fossasia/pslab-python) repository + + $ git clone + +Go into **pslab-python** directory $ cd -and run the following +And run the following $ sudo make clean $ sudo make $ sudo make install -Now you are ready with the PSLab software on your machine. +Now you connect PSLab device to your machine, to check whether device is detected, run `$ ls -l /dev/ttyACMx`: x is 0 for the first device. + +Start python command-line interface and begin to program your PSLab + + $ python3 + +### How to Install on Mac + +Make sure you have all the Dependencies installed. Then open Terminal on your Mac. + +Clone [pslab-python](https://github.com/fossasia/pslab-python) repository + + $ git clone + +Go into **pslab-python** directory + + $ cd + +And run the following + + $ sudo make clean + $ sudo python3 setup.py build + $ sudo make install + +Now you connect PSLab device to your machine, to check whether device is detected, run `ls -l /dev/tty.usbserial-*` + +Start python command-line interface and begin to program your PSLab + + $ python3 + ### How to Install on Windows **Step 1**: Install the latest Python version on your computer and configure `PATH` variable to have both Python installation directory and the Scripts directory to access `pip` tools. In Windows, Python is installed in `C:` drive by default. We can set `$PATH` by opening the **Environment variables** dialog box by following the steps below: pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy