Installing python libraries in ArcGIS

1847
3
03-22-2017 08:12 AM
AhmedAbdelnasser1
New Contributor III

I want to use Levenshtein & Fuzzy String python libraries in ArcMap  - find attached

How Simply could I add these libraries to be called from inside the ArcMap?

I have two directories to python on my  C: 
- C:\Python27\ArcGIS10.4
- C:\Program Files (x86)\ArcGIS\Desktop10.4\arcpy

What I have done so far:
Download the libraries, move them to the mentioned above directories, click on the setup.py

What should I do next? 

Thanks,

0 Kudos
3 Replies
JoshuaBixby
MVP Esteemed Contributor

I recommend using one of the bundled package managers to install it.  FuzzyWuzzy 0.15 is available through PIP:

C:\>Python27\ArcGIS10.5\Scripts\pip.exe search fuzzywuzzy
fuzzywuzzy (0.15.0)  - Fuzzy string matching in python

C:\>Python27\ArcGIS10.5\Scripts\pip.exe install fuzzywuzzy
Collecting fuzzywuzzy
  Downloading fuzzywuzzy-0.15.0-py2.py3-none-any.whl
Installing collected packages: fuzzywuzzy
Successfully installed fuzzywuzzy-0.15.0

C:\>‍‍‍‍‍
DanPatterson_Retired
MVP Emeritus
Operativo_GISRTM_GIS
New Contributor II

how, solve the installation of fuzzywuzzy to use it in arcmap?

0 Kudos