Closed GoogleCodeExporter closed 9 years ago
It could be that the Python install with ArcGIS10.0 is using an older version
of scipy (and numpy) as the import pysal call raises the warning that scipy
0.7+ is required.
Can you report what version of scipy is loaded under
D:\Python26\ArcGIS10.0\lib\site-packages\scipy\ ?
Original comment by sjsrey
on 25 Mar 2011 at 8:37
scipy version='0.9.0'
numpy version='1.4.1'
Original comment by nh...@dot.state.ny.us
on 28 Mar 2011 at 4:33
Hi,
It appears that there is a problem with your scipy install. Can you confirm
this by running the following commands from the python interpreter?
>>> import scipy
>>> print scipy.version.version
>>> import scipy.stats as stats
And paste the results here? If the last line doesn't work the problem is with
your scipy install.
Thanks,
Charlie.
Original comment by schmi...@gmail.com
on 28 Mar 2011 at 4:45
Below are the results for scipy install. Thanks.
Python 2.6.5 (r265:79096, Mar 19 2010, 21:48:26) [MSC v.1500 32 bit (Intel)] on
win32
Type "copyright", "credits" or "license()" for more information.
****************************************************************
Personal firewall software may warn about the connection IDLE
makes to its subprocess using this computer's internal loopback
interface. This connection is not visible on any external
interface and no data is sent to or received from the Internet.
****************************************************************
IDLE 2.6.5
>>> import scipy
>>> print scipy.version.version
0.9.0
>>> import scipy.stats as stats
Traceback (most recent call last):
File "<pyshell#2>", line 1, in <module>
import scipy.stats as stats
File "D:\Python26\ArcGIS10.0\lib\site-packages\scipy\stats\__init__.py", line 7, in <module>
from stats import *
File "D:\Python26\ArcGIS10.0\lib\site-packages\scipy\stats\stats.py", line 198, in <module>
import distributions
File "D:\Python26\ArcGIS10.0\lib\site-packages\scipy\stats\distributions.py", line 14, in <module>
from scipy import optimize
File "D:\Python26\ArcGIS10.0\lib\site-packages\scipy\optimize\__init__.py", line 7, in <module>
from optimize import *
File "D:\Python26\ArcGIS10.0\lib\site-packages\scipy\optimize\optimize.py", line 28, in <module>
from linesearch import \
File "D:\Python26\ArcGIS10.0\lib\site-packages\scipy\optimize\linesearch.py", line 3, in <module>
from numpy.compat import asbytes
ImportError: cannot import name asbytes
Original comment by nh...@dot.state.ny.us
on 29 Mar 2011 at 7:03
Installed scipy 0.7 and pysal will load sucessfully. Doesn't solve the problem
with scipy 0.9 version not loading properly. Thanks.
Original comment by nh...@dot.state.ny.us
on 29 Mar 2011 at 7:18
SR is checking w ESRI
Original comment by sjsrey
on 14 Apr 2011 at 12:16
Original comment by sjsrey
on 14 Apr 2011 at 12:17
could not replicate.
Original comment by dfo...@gmail.com
on 19 May 2011 at 4:49
Original issue reported on code.google.com by
nh...@dot.state.ny.us
on 25 Mar 2011 at 5:57