Pattern along Path - Mac Problem?

Post questions on how to use or achieve an effect in Inkscape.
matthew5384
Posts: 1
Joined: Fri Nov 21, 2008 11:02 am

Pattern along Path - Mac Problem?

Postby matthew5384 » Fri Nov 21, 2008 11:08 am

I'm using the latest version of Inkscape and I'm using Mac OS 10.5 Leopard.

When I select an object and then go to Effects --> Generate from Path --> Pattern along Path
and try to create one, I get the following message:

Code: Select all

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


And then nothing happens.

What do I need to do?

I went to the site it gave me and downloaded lxml but I'm not sure how to install it. I tried cd'ing to the directory where I downloaded it and then typing "python ez_install.py" (in an attempt to run that script) and it runs, but I get this message:

Code: Select all

iMac:lxml-2.1.3 Matt$ python ez_setup.py
Downloading http://cheeseshop.python.org/packages/2.6/s/setuptools/setuptools-0.6c3-py2.6.egg
Traceback (most recent call last):
  File "ez_setup.py", line 217, in <module>
    main(sys.argv[1:])
  File "ez_setup.py", line 149, in main
    egg = download_setuptools(version, delay=0)
  File "ez_setup.py", line 131, in download_setuptools
    src = urllib2.urlopen(url)
  File "/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/urllib2.py", line 124, in urlopen
    return _opener.open(url, data, timeout)
  File "/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/urllib2.py", line 389, in open
    response = meth(req, response)
  File "/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/urllib2.py", line 502, in http_response
    'http', request, response, code, msg, hdrs)
  File "/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/urllib2.py", line 421, in error
    result = self._call_chain(*args)
  File "/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/urllib2.py", line 361, in _call_chain
    result = func(*args)
  File "/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/urllib2.py", line 597, in http_error_302
    return self.parent.open(new)
  File "/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/urllib2.py", line 389, in open
    response = meth(req, response)
  File "/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/urllib2.py", line 502, in http_response
    'http', request, response, code, msg, hdrs)
  File "/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/urllib2.py", line 427, in error
    return self._call_chain(*args)
  File "/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/urllib2.py", line 361, in _call_chain
    result = func(*args)
  File "/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/urllib2.py", line 510, in http_error_default
    raise HTTPError(req.get_full_url(), code, msg, hdrs, fp)
urllib2.HTTPError: HTTP Error 404: Not Found


I know I can't use "sudo apt-get install python-lxml" in the terminal because I'm not on Ubuntu. I've tried "easy_install python-lxml" as well as as many combinations of that kind of thing that I thought would work. I'm a n00b when it comes to doing stuff in the terminal, so if that is required, a step-by-step solution would be appreciated. Also, I have no idea what lxml, libxml2, or any of those things are.

Thanks a ton in advance!

DarthMark
Posts: 1
Joined: Sun Dec 14, 2008 12:21 pm

Re: Pattern along Path - Mac Problem?

Postby DarthMark » Wed Dec 17, 2008 7:09 am

I got it to work by compiling Inkscape on my mac using the directions at: http://www.inkscape.org/wiki/index.php/CompilingMacOsX


Return to “Help with using Inkscape”