Closed paulds8 closed 7 years ago
Hi,
Here is how I managed to solve this issue on Windows 10.
First, download the lxml binding for Windows: http://www.lfd.uci.edu/~gohlke/pythonlibs/#lxml In the file name, cpXY stands for the Python version (cp27 is for Python 2.7, cp34 is for Python 3.4, etc.).
Then, in a virtual env (here "venv"), install lxml with pip install.
Verify that wheel is installed (optional):
(venv) C:\Users\afb>pip install wheel
Requirement already satisfied: wheel in c:\users\afb\venv\lib\site-packages
Install the previously downloaded file:
(venv) C:\Users\afb>pip install c:\Users\afb\lxml-3.7.0-cp27-cp27m-win32.whl
Processing c:\users\afb\lxml-3.7.0-cp27-cp27m-win32.whl
Installing collected packages: lxml
Successfully installed lxml-3.7.0
And, finally, you can install parserator:
(venv) C:\Users\afb>pip install parserator
Collecting parserator
Collecting backports.csv (from parserator)
Using cached backports.csv-1.0.2-py2.py3-none-any.whl
Collecting future>=0.14.3 (from parserator)
Collecting python-crfsuite>=0.7 (from parserator)
Requirement already satisfied: lxml>=3.4.1 in c:\users\afb\venv\lib\site-packages (from parserator)
Installing collected packages: backports.csv, future, python-crfsuite, parserator
Successfully installed backports.csv-1.0.2 future-0.16.0 parserator-0.6.2 python-crfsuite-0.9
Hope it helps.
Sorry for the late replies on this, @afbrogneaux @paulds8! We don't have any Windows users on our end, so this kind of error report is helpful.
Out of curiosity, are you able to install it now via pypi without doing the manual install of lxml? Looking at the lxml package index, it seems like they stopped providing 2.7/Windows builds after 3.6.0, which may have been messing things up. It looks like @fgregg pinned our required version of lxml to 3.6.0 about a month ago, so this may be fixed.
It seems fixed for me (venv is a brand new virtual environment):
(venv) C:\Users\afb>pip install parserator
Collecting parserator
Downloading parserator-0.6.4-py2-none-any.whl
Collecting backports.csv (from parserator)
Using cached backports.csv-1.0.2-py2.py3-none-any.whl
Collecting future>=0.14.3 (from parserator)
Collecting python-crfsuite>=0.7 (from parserator)
Downloading python_crfsuite-0.9.1-cp27-cp27m-win32.whl (113kB)
100% |################################| 122kB 1.1MB/s
Collecting lxml==3.6.0 (from parserator)
Downloading lxml-3.6.0-cp27-none-win32.whl (3.0MB)
100% |################################| 3.1MB 347kB/s
Installing collected packages: backports.csv, future, python-crfsuite, lxml, parserator
Successfully installed backports.csv-1.0.2 future-0.16.0 lxml-3.6.0 parserator-0.6.4 python-crfsuite-0.9.1
Thanks!
Hi there.. I was hoping someone could help me with this issue. I'm not able to install parserator. I know this isn't necessarily a parserator issue, but it would be really helpful to provide some assistance with this.
My intention is to build an address parser for South Africa.
This the error that comes back.