Closed adamltran closed 6 years ago
Figure out how to import the core module from dnppy and access its functions
Task: Import arcpy (an external python module) to be implemented by dnppy, a collection of python modules.
What doesn't work:
moving arcpy into the dnppy master folder and importing dnppy with arcpy
import sys sys.path.append('/Users/Adam Tran/Desktop/dnppy')
sys.path.append('/Users/Adam Tran/Desktop/dnppy/arcpy')
import dnppy
Every attempt returns "ImportError: No module named arcpy" in the python console.
Successfully imported arcpy. We had path problems in dnppy while trying to run it in Wing IDE Personal 6.0, then was able to fix it later. Immediately afterwards, dnppy required another external python module named osgeo and decided to try some other software.