Skip to content

Commit 28a5a76

Browse files
authored
Update ReadMe
1 parent 8ad491f commit 28a5a76

File tree

1 file changed

+39
-6
lines changed

1 file changed

+39
-6
lines changed

README.md

Lines changed: 39 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -24,30 +24,63 @@ This repository hosts the python library for communicating with the Pocket Scien
2424

2525
To install PSLab on Debian based GNU/Linux system, the following dependencies must be installed.
2626

27-
### Dependencies
28-
29-
* Python 3.4 or higher [Link to Official download page](https://www.python.org/downloads/windows/)
27+
### Prerequisites & Dependencies
28+
* Python 3.4 or higher [Link to Official download page](https://www.python.org/downloads/)
3029
* Pip   **Support package installer**
3130
* NumPy   **For numerical calculations**
3231
* PySerial   **For device connection**
3332
* iPython-qtconsole   **_Optional_**
33+
* [Git](https://git-scm.com/book/en/v2/Getting-Started-Installing-Git)
3434

3535
**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.
3636

3737
### How To Install on Linux
3838

39-
cd into the directories
39+
Clone [pslab-python](https://github.com/fossasia/pslab-python) repository
40+
41+
$ git clone <REPO>
42+
43+
Go into **pslab-python** directory
4044

4145
$ cd <SOURCE_DIR>
4246

43-
and run the following
47+
And run the following
4448

4549
$ sudo make clean
4650
$ sudo make
4751
$ sudo make install
4852

49-
Now you are ready with the PSLab software on your machine.
53+
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.
54+
55+
Start python command-line interface and begin to program your PSLab
56+
57+
$ python3
58+
59+
### How to Install on Mac
60+
61+
Make sure you have all the Dependencies installed. Then open Terminal on your Mac.
62+
63+
Clone [pslab-python](https://github.com/fossasia/pslab-python) repository
64+
65+
$ git clone <REPO>
66+
67+
Go into **pslab-python** directory
68+
69+
$ cd <SOURCE_DIR>
70+
71+
And run the following
72+
73+
$ sudo make clean
74+
$ sudo python3 setup.py build
75+
$ sudo make install
76+
77+
Now you connect PSLab device to your machine, to check whether device is detected, run `ls -l /dev/tty.usbserial-*`
78+
79+
Start python command-line interface and begin to program your PSLab
80+
81+
$ python3
5082

83+
5184
### How to Install on Windows
5285

5386
**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:

0 commit comments

Comments
 (0)
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