You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+7-8Lines changed: 7 additions & 8 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -24,21 +24,20 @@ libraries.
24
24
## Installing the python driver bindings
25
25
26
26
A `distutils` installer is provided. After you have installed the PicoSDK
27
-
driver package (see above), the Python installer can be used as follows:
27
+
driver package (see above), the Python package can be installed using the
28
+
following command in the top-level directory:
28
29
29
-
python setup.py install
30
+
pip install .
30
31
31
-
On macOS and Linux you will either need to use `sudo` with this command, to
32
-
install into the system folders, or to install for the current user only you
33
-
can use:
32
+
If you are not using a virtualenv or are not elevated, use:
34
33
35
-
python setup.py install --user
34
+
pip install . --user
36
35
37
36
Within python, the library for `import` is called `picosdk`.
38
37
39
38
## Compatibility
40
39
41
-
This code is written to be compatible with both python 2.7 and python 3 (any version).
40
+
This code is written to be compatible with both Python 2.7 and Python 3 (any version).
42
41
43
42
If you find a compatibility problem please raise an [Issue](https://www.picotech.com/tech-support), listing all the versions you can find (python, numpy,
44
43
picosdk commit hash, etc.) and your error message(s).
@@ -68,7 +67,7 @@ The following drivers and devices are not yet supported:
68
67
69
68
### Dependencies
70
69
71
-
As well as depending on the C libraries, the Pythonic wrappers use some python libraries like `numpy`. Many of the
70
+
As well as depending on the C libraries, the Python wrappers use some Python libraries like `numpy`. Many of the
72
71
examples scripts also use the `matplotlib` plotting library. You can install these dependencies with pip as follows:
0 commit comments