daniel_jimenez86

ImportError: No module named numpy

Discussion created by daniel_jimenez86 on Oct 8, 2013
Latest reply on May 23, 2014 by cookeville
Hello, I'm trying to set up my python configuration to import arcpy to PythonWin, I'm using python 2.7.2 and using arcgis10.1, 
however I'm getting the following import error in pythonwin.


>>> import arcpy
Traceback (most recent call last):
  File "<interactive input>", line 1, in <module>
  File "C:\Program Files (x86)\ArcGIS\Desktop10.1\arcpy\arcpy\__init__.py", line 24, in <module>
    from arcpy.toolbox import *
  File "C:\Program Files (x86)\ArcGIS\Desktop10.1\arcpy\arcpy\toolbox.py", line 342, in <module>
    from management import Graph, GraphTemplate
  File "C:\Program Files (x86)\ArcGIS\Desktop10.1\arcpy\arcpy\management.py", line 22, in <module>
    import _management
  File "C:\Program Files (x86)\ArcGIS\Desktop10.1\arcpy\arcpy\_management.py", line 14, in <module>
    import _graph
  File "C:\Program Files (x86)\ArcGIS\Desktop10.1\arcpy\arcpy\_graph.py", line 27, in <module>
    import numpy
ImportError: No module named numpy


I have set a Desktop10.1.pth under C:\Python27\ArcGIS10.1\Lib\site-packages which includes:
C:\Program Files (x86)\ArcGIS\Desktop10.1\bin
C:\Program Files (x86)\ArcGIS\Desktop10.1\arcpy
C:\Program Files (x86)\ArcGIS\Desktop10.1\ArcToolbox\Scripts


also if it helps my path looks like this:
PATH=C:\Program Files (x86)\Intel\MPI-RT\4.1.0.023\em64t\bin;C:\Program Files (x
86)\Intel\MPI-RT\4.1.0.023\ia32\bin;C:\Anaconda;C:\Anaconda\Scripts;C:\Program F
iles (x86)\Java\jdk1.6.0_27\bin;C:\oraclexe\app\oracle\product\10.2.0\server\bin
;C:\Program Files (x86)\ImageMagick-6.6.4-Q16;C:\Windows\system32;C:\Windows;C:\
Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;c:\Program Fil
es (x86)\ATI Technologies\ATI.ACE\Core-Static;C:\Program Files (x86)\NTRU Crypto
systems\NTRU TCG Software Stack\bin\;C:\Program Files\NTRU Cryptosystems\NTRU TC
G Software Stack\bin\;C:\Program Files\Wave Systems Corp\Gemalto\Access Client\v
5\;C:\Program Files (x86)\Common Files\Roxio Shared\DLLShared\;C:\Program Files
(x86)\Common Files\Roxio Shared\10.0\DLLShared\;C:\Program Files (x86)\QuickTime
\QTSystem\;C:\Program Files (x86)\Graphviz2.26\bin;C:\Program Files\MySQL\MySQL
Server 5.1\bin\C:\Python26\Lib\site-packages\PyQt4;C:\Python26\GDAL\bin;C:\Progr
am Files (x86)\Microsoft SQL Server\100\Tools\Binn\;C:\Program Files\Microsoft S
QL Server\100\Tools\Binn\;C:\Program Files\Microsoft SQL Server\100\DTS\Binn\;C:
\Program Files\TortoiseSVN\bin;C:\Python26\ArcGIS10.0\python.exe


Seems that arcpy is being imported but for some reason is looking for the numpy inside the same arcpy folder. How can i resolve the problem so i can import arcpy without any issues. If i need to provide more configuration options i'll gladly do it.
Thanks

Outcomes