Hi,
When trying to use the Extension->Modfify Path->Perspective filter in 0.48.1 (official and any of the latest dev snapshots)
i get the old "The fantastic lxml wrapper for libxml2 is required..." problem.
I have tried searching all over the net for a solution for this problem.
But i can't find any real answers to it, and it seems to have been a problem for years.
Does anyone know how this can be fixed?
I'm using OS X 10.7.1
Thanks a lot
The "The fantastic lxml wrapper..." issue in OS X 10.7.1
Re: The "The fantastic lxml wrapper..." issue in OS X 10.7.1
Jmx wrote:I have tried searching all over the net for a solution for this problem.
Known issue with Inkscape on OS X Lion:
- Bug #819209 in Inkscape: “Extensions do not work with Mac OS X Lion”
Lion has been out for a few weeks only, and on Mac OS X Tiger, Leopard and Snow Leopard, python-based extensions work out-of-the-box in Inkscape 0.48 now (yes, for Snow Leopard, it took a while to get a fix into a stable release package (bug #482993).Jmx wrote:But i can't find any real answers to it, and it seems to have been a problem for years.
Re: The "The fantastic lxml wrapper..." issue in OS X 10.7.1
Thanks ~suv!
I used the EggBot2.2.2.r2 patch from your link and it worked great.
I thought that the needed python libraries was included in the Inkscape app to avoid these things?
Anyway... great forum for help Thanks
I used the EggBot2.2.2.r2 patch from your link and it worked great.
I thought that the needed python libraries was included in the Inkscape app to avoid these things?
Anyway... great forum for help Thanks
-
- Posts: 57
- Joined: Fri Feb 11, 2011 3:46 am
Re: The "The fantastic lxml wrapper..." issue in OS X 10.7.1
~suv, are there any known issues with using the eggbot patch, above?
lb
lb
-
- Posts: 2
- Joined: Thu Dec 06, 2012 8:48 am
Re: The "The fantastic lxml wrapper..." issue in OS X 10.7.1
In case this helps anybody, here's how I resolved this issue for OSX 10.8.
Firstly, when you type 'python -V' in the Terminal it should report Python 2.7. (Mine did not as I had MacPython 2.6 installed, which clobbers the default Python on your path in ~/.bash_profile. If you cannot upgrade your Python to the default version this might not work, I couldn't get this problem solved while running Python 2.6.6 in my environment.)
In Termimal:
Confirm that lxml installed in the correct directory:
Firstly, when you type 'python -V' in the Terminal it should report Python 2.7. (Mine did not as I had MacPython 2.6 installed, which clobbers the default Python on your path in ~/.bash_profile. If you cannot upgrade your Python to the default version this might not work, I couldn't get this problem solved while running Python 2.6.6 in my environment.)
In Termimal:
Code: Select all
sudo bash
export ARCHFLAGS='-arch i386 -arch x86_64'
export MACOSX_DEPLOYMENT_TARGET=10.8
export CC=gcc
easy_install pip #(if not already installed, I prefer pip)
pip install lxml
Confirm that lxml installed in the correct directory:
Code: Select all
ls -l /Library/Python/2.7/site-packages/
-
- Posts: 2
- Joined: Thu Dec 06, 2012 8:48 am
Re: The "The fantastic lxml wrapper..." issue in OS X 10.7.1
Then after all that, a much simpler answer was found here: https://answers.launchpad.net/inkscape/+question/194132
D'oh!
D'oh!