🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: pl.comp.lang.python
3 messages
3 total messages Started by =?UTF-8?Q?Robert Sun, 09 Sep 2018 15:41
libmxl2
#27118
Author: =?UTF-8?Q?Robert
Date: Sun, 09 Sep 2018 15:41
82 lines
2807 bytes
Zainstalowałem nową wersję Inkscape.
Podczas eksportu pliku jako DXF pojawiła się informacja:

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

Technical details:
No module named lxml

Zainstalowałem Pythona 3.7
Pobrałem z w.w. strony lxml,
zainstalowałem


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 zastrzeżone.

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
https://files.pythonhosted.org/packages/5f/25/e52d3f31441505a5f3af
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 próbie eksportu pliku jako DXF pojawia się ten sam komunikat.

Co mogę zrobić, aby działało?

Robert
Re: libmxl2
#27119
Author: =?UTF-8?Q?Robert
Date: Sun, 09 Sep 2018 16:14
12 lines
350 bytes
W dniu 2018-09-09 o 15:41, Robert Wańkowski pisze:
> Zainstalowałem nową wersję Inkscape.

Teraz widzę, że w katalogu od Inkscape jest np. katalog python.
Ale też jest katalog lib a  w nim python2.7.

Pewnie tam trzeba zainstalować libmxl.
Ale polecenie pip install nie jest rozpoznawalne (odinstalowałem
wcześniej python-a 3.7)

Robert

Re: libmxl2
#27120
Author: =?UTF-8?Q?Robert
Date: Sun, 09 Sep 2018 20:30
9 lines
310 bytes
W dniu 2018-09-09 o 16:14, Robert Wańkowski pisze:
> W dniu 2018-09-09 o 15:41, Robert Wańkowski pisze:
>> Zainstalowałem nową wersję Inkscape.

Tu jest rozwiązanie.
http://inkscape.13.x6.nabble.com/LXML-amp-Windows-td4980699.html

Trzeba odinstalować wcześniejszą wersję przed instalacją.

Robert
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads