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
+8-5Lines changed: 8 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -24,10 +24,13 @@ 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
32
+
If you are not using a virtualenv or are not elevated, use:
33
+
=======
31
34
For using the AS108 you will need to use the following as well:
32
35
33
36
python setupPicosynth.py install
@@ -37,13 +40,13 @@ On macOS and Linux you will either need to use `sudo` with this command, to
37
40
install into the system folders, or to install for the current user only you
38
41
can use:
39
42
40
-
python setup.py install --user
43
+
pip install . --user
41
44
42
45
Within python, the library for `import` is called `picosdk`.
43
46
44
47
## Compatibility
45
48
46
-
This code is written to be compatible with both python 2.7 and python 3 (any version).
49
+
This code is written to be compatible with both Python 2.7 and Python 3 (any version).
47
50
48
51
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,
49
52
picosdk commit hash, etc.) and your error message(s).
@@ -72,7 +75,7 @@ The following drivers and devices are not yet supported:
72
75
73
76
### Dependencies
74
77
75
-
As well as depending on the C libraries, the Pythonic wrappers use some python libraries like `numpy`. Many of the
78
+
As well as depending on the C libraries, the Python wrappers use some Python libraries like `numpy`. Many of the
76
79
examples scripts also use the `matplotlib` plotting library. You can install these dependencies with pip as follows:
0 commit comments