znaczacy > comp.lang.* > comp.lang.python

Robert Wankowski (09.09.2018, 15:41)
Zainstalowalem nowa wersje Inkscape.
Podczas eksportu pliku jako DXF pojawila sie informacja:

The fantastic lxml wrapper for libxml2 is required by inkex.py and
therefore this extension.Please download and install the latest version
from , or install it through your
package manager by a command like: sudo apt-get install python-lxml

Technical details:
No module named lxml

Zainstalowalem Pythona 3.7
Pobralem z w.w. strony lxml,
zainstalowalem

python -m pip install --upgrade pippython -m pip install --upgrade
pippython -m pip install --upgrade pipMicrosoft Windows [Wersja 6.1.7601]
Copyright (c) 2009 Microsoft Corporation. Wszelkie prawa zastrzezone.

C:\Users\Robert>pip install
ERROR: You must give at least one requirement to install (see "pip help
install"
)
You are using pip version 10.0.1, however version 18.0 is available.
You should consider upgrading via the 'python -m pip install --upgrade
pip' comm
and.

C:\Users\Robert>pip install
C:\Users\Robert\Downloads\lxml-4.2.4-cp37-cp37m-win_
amd64.whl
Processing c:\users\robert\downloads\lxml-4.2.4-cp37-cp37m-win_amd64.whl
Installing collected packages: lxml
Successfully installed lxml-4.2.4
You are using pip version 10.0.1, however version 18.0 is available.
You should consider upgrading via the 'python -m pip install --upgrade
pip' comm
and.

C:\Users\Robert>pip install
C:\Users\Robert\Downloads\lxml-4.2.4-cp37-cp37m-win_
amd64.whl
Requirement already satisfied: lxml==4.2.4 from
file:///C:/Users/Robert/Download
s/lxml-4.2.4-cp37-cp37m-win_amd64.whl in
c:\users\robert\appdata\local\programs\
python\python37\lib\site-packages (4.2.4)
You are using pip version 10.0.1, however version 18.0 is available.
You should consider upgrading via the 'python -m pip install --upgrade
pip' comm
and.

C:\Users\Robert>python -m pip install --upgrade pip
Collecting pip
Downloading

41213346e5b6c221c9e086a166f3703d2ddaf940/pip-18.0-py2.py3-none-any.whl
(1.3MB)
100% |████████████████ ███████████████| 1.3MB 754kB/s
Installing collected packages: pip
Found existing installation: pip 10.0.1
Uninstalling pip-10.0.1:
Successfully uninstalled pip-10.0.1
Successfully installed pip-18.0

C:\Users\Robert>pip install
C:\Users\Robert\Downloads\lxml-4.2.4-cp37-cp37m-win_
amd64.whl
Requirement already satisfied: lxml==4.2.4 from
file:///C:/Users/Robert/Download
s/lxml-4.2.4-cp37-cp37m-win_amd64.whl in
c:\users\robert\appdata\local\programs\
python\python37\lib\site-packages (4.2.4)

C:\Users\Robert>

Ale nadal przy prbie eksportu pliku jako DXF pojawia sie ten sam komunikat.

Co moge zrobic, aby dzialalo?

Robert
Robert Wankowski (09.09.2018, 16:14)
W dniu 2018-09-09 o 15:41, Robert Wankowski pisze:
> Zainstalowalem nowa wersje Inkscape.


Teraz widze, ze w katalogu od Inkscape jest np. katalog python.
Ale tez jest katalog lib a w nim python2.7.

Pewnie tam trzeba zainstalowac libmxl.
Ale polecenie pip install nie jest rozpoznawalne (odinstalowalem
wczesniej python-a 3.7)

Robert
Robert Wankowski (09.09.2018, 20:30)
W dniu 2018-09-09 o 16:14, Robert Wankowski pisze:
> W dniu 2018-09-09 o 15:41, Robert Wankowski pisze:
>> Zainstalowalem nowa wersje Inkscape.


Tu jest rozwiazanie.


Trzeba odinstalowac wczesniejsza wersje przed instalacja.

Robert