Forum: Mikrocontroller und Digitale Elektronik Python, Pakete installieren


von H. T. (Gast)


Lesenswert?

Hallo,

ich bin ganz neu in der Pythonwelt und hoffe ihr könnt mir helfen.

Ich habe Winpython heruntergeladen und nutze Spyder als Oberfläche.

Ich möchte einen Drucker anprechen und möchte die Bibliothek brother_ql 
nuten. (http://brother-ql.net/readme.html)

Also habe ich das Paket mit pip install --upgrade brother_ql 
installiert. Installation hat er auch durchgeführt....

Leider bekomme ich immer, dass brother_ql nicht bekannt ist...

Bestimmt ein dummer Anfängerfehler bzw. etwas nicht verstanden... kann 
mir da jemand helfen?

Dank und Gruß
1
pip install --upgrade brother_ql
2
Requirement already up-to-date: brother_ql in d:\winpython\wpy64-3741\python-3.7.4.amd64\lib\site-packages (0.9.4)
3
Requirement already satisfied, skipping upgrade: attrs in d:\winpython\wpy64-3741\python-3.7.4.amd64\lib\site-packages (from brother_ql) (19.1.0)
4
Requirement already satisfied, skipping upgrade: future in d:\winpython\wpy64-3741\python-3.7.4.amd64\lib\site-packages (from brother_ql) (0.17.0)
5
Requirement already satisfied, skipping upgrade: pillow>=3.3.0 in d:\winpython\wpy64-3741\python-3.7.4.amd64\lib\site-packages (from brother_ql) (6.1.0)
6
Requirement already satisfied, skipping upgrade: pyusb in d:\winpython\wpy64-3741\python-3.7.4.amd64\lib\site-packages (from brother_ql) (1.0.2)
7
Requirement already satisfied, skipping upgrade: packbits in d:\winpython\wpy64-3741\python-3.7.4.amd64\lib\site-packages (from brother_ql) (0.6)
8
Requirement already satisfied, skipping upgrade: click in d:\winpython\wpy64-3741\python-3.7.4.amd64\lib\site-packages (from brother_ql) (7.0)
9
Note: you may need to restart the kernel to use updated packages.
10
11
brother_ql
12
Traceback (most recent call last):
13
14
  File "<ipython-input-3-b5bed2da310d>", line 1, in <module>
15
    brother_ql
16
17
NameError: name 'brother_ql' is not defined
18
19
20
21
22
brother_ql --help
23
Traceback (most recent call last):
24
25
  File "<ipython-input-4-ca62959a7fbe>", line 1, in <module>
26
    brother_ql --help
27
28
NameError: name 'brother_ql' is not defined

von yesitsme (Gast)


Lesenswert?

Wenn du Python gestartet hast, vielleicht hilft dir ein
1
import brother_ql


Für das CLI-Tool musst du vielleicht den Pfad zur .exe dem %PATH% 
hinzufügen.

Bitte melde dich an um einen Beitrag zu schreiben. Anmeldung ist kostenlos und dauert nur eine Minute.
Bestehender Account
Schon ein Account bei Google/GoogleMail? Keine Anmeldung erforderlich!
Mit Google-Account einloggen
Noch kein Account? Hier anmelden.