Friday, 6 April 2018

arcpy - Installing third party python libraries in ArcGIS location


I'm running ArcMap 10.2.2 for desktop and have Python 2.7 installed as part of the software package. I'm trying to get the pyexcel and xlutils libraries installed. I ran a script to find the path of the arcpy module and figured this is where I would have to copy other libraries to in order to import them into my Python scripts. This is after reading the following article by ESRI:


https://www.esri.com/arcgis-blog/products/arcgis-desktop/analytics/a-simple-approach-for-including-3rd-party-python-libraries-with-your-scripts/


I now have both the pyexcel and xlutils folders in Python27/ArcGIS10.2/Lib/site-packages but am getting the generic import error stating the module does not exist when trying to import the modules.


Do I have to run pip in order to make these libraries available> I don't have admin rights to my machine and am dependent on IT staff to do anything requiring access to program files.




No comments:

Post a Comment

arcpy - Changing output name when exporting data driven pages to JPG?

Is there a way to save the output JPG, changing the output file name to the page name, instead of page number? I mean changing the script fo...