datamade / probablepeople

:family: a python library for parsing unstructured western names into name components.
http://parserator.datamade.us/probablepeople
MIT License
593 stars 71 forks source link

installation error #65

Open vtangutoori opened 6 years ago

vtangutoori commented 6 years ago

Hi, while trying to install propablepeople library, system is throwing the below error, can someone please provide a solution for this.

C:\WINDOWS\system32>pip install probablepeople Collecting probablepeople Using cached probablepeople-0.5.4-py2.py3-none-any.whl Collecting probableparsing (from probablepeople) Using cached probableparsing-0.0.1-py2.py3-none-any.whl Collecting doublemetaphone (from probablepeople) Using cached DoubleMetaphone-0.1.tar.gz Collecting python-crfsuite>=0.8 (from probablepeople) Using cached python_crfsuite-0.9.5-cp36-cp36m-win_amd64.whl Collecting future>=0.14 (from probablepeople) Building wheels for collected packages: doublemetaphone Running setup.py bdist_wheel for doublemetaphone ... error Complete output from command C:\ProgramData\Anaconda3\python.exe -u -c "import setuptools, tokenize;file='C:\Users\Chandra\AppData\Local\Temp\pip-build-j04s_wkj\doublemetaphone\setup.py';f=getattr(tokenize, 'open', open)(file);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, file, 'exec'))" bdist_wheel -d C:\Users\Chandra\AppData\Local\Temp\tmpa7lkg1cipip-wheel- --python-tag cp36: running bdist_wheel running build running build_py creating build creating build\lib.win-amd64-3.6 creating build\lib.win-amd64-3.6\doublemetaphone copying doublemetaphone__init__.py -> build\lib.win-amd64-3.6\doublemetaphone running build_ext building 'doublemetaphone.doublemetaphone' extension error: [WinError 3] The system cannot find the path specified: 'C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\PlatformSDK\lib'


Failed building wheel for doublemetaphone Running setup.py clean for doublemetaphone Failed to build doublemetaphone Installing collected packages: probableparsing, doublemetaphone, python-crfsuite, future, probablepeople Running setup.py install for doublemetaphone ... error Complete output from command C:\ProgramData\Anaconda3\python.exe -u -c "import setuptools, tokenize;file='C:\Users\Chandra\AppData\Local\Temp\pip-build-j04s_wkj\doublemetaphone\setup.py';f=getattr(tokenize, 'open', open)(file);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, file, 'exec'))" install --record C:\Users\Chandra\AppData\Local\Temp\pip-uzoy20_1-record\install-record.txt --single-version-externally-managed --compile: running install running build running build_py creating build creating build\lib.win-amd64-3.6 creating build\lib.win-amd64-3.6\doublemetaphone copying doublemetaphone__init__.py -> build\lib.win-amd64-3.6\doublemetaphone running build_ext building 'doublemetaphone.doublemetaphone' extension error: [WinError 3] The system cannot find the path specified: 'C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\PlatformSDK\lib'

----------------------------------------

Command "C:\ProgramData\Anaconda3\python.exe -u -c "import setuptools, tokenize;file='C:\Users\Chandra\AppData\Local\Temp\pip-build-j04s_wkj\doublemetaphone\setup.py';f=getattr(tokenize, 'open', open)(file);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, file, 'exec'))" install --record C:\Users\Chandra\AppData\Local\Temp\pip-uzoy20_1-record\install-record.txt --single-version-externally-managed --compile" failed with error code 1 in C:\Users\Chandra\AppData\Local\Temp\pip-build-j04s_wkj\doublemetaphone\

fgregg commented 6 years ago

Please upgrade pip and try again

pip install --upgrade pip

pip shouldn't have tried to build the wheel but used the windows wheel from https://pypi.python.org/pypi/DoubleMetaphone

There might also be some anaconda nonsense going on too.

syurdin commented 6 years ago

I have just migrated from Python 2.7 -> Python 3.6 on Windows 10. I have the identical error. I have the most recent version of pip. Any other suggestions?

toonarmycaptain commented 6 years ago

Ditto here. Pip is updated. I'm using the latest python 3 ot Anaconda Also tried directly downloading the whl file and installation via commandline, with the same error. I also downloaded each py36 version of DoubleMetaphone wheels, none f which are apparently a "supported wheel on this platform."