Before I installed ArcGIS , I have installed python2.7 with many modules and then the ArcGIS installed another python2.7 in other folder.
Now I want to use the arcpy in own old installed python,because I dont want to install these modules again.
I have added Paths in the PYTHONPATH system environment variable included
D:\software\arcgis10.2\python2.7\ArcGIS10.2\Lib
D:\software\arcgis10.2\python2.7\ArcGIS10.2\Lib\site-packages
and add paths in the PATH included
D:\software\arcgis10.2\arcgis10.2\Desktop10.2\arcpy
D:\software\arcgis10.2\arcgis10.2\Desktop10.2\bin
However, when I import arcpy ,I still encountered errors ImportError: No module named arcpy