473,422 Members | 1,759 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,422 software developers and data experts.

cannot install scipy

Hi,

I am using a Debian system. I installed NumPy and everything works
well. When I try to install SciPy, I get the following error. Any help
would be appreciated.

===
idf@server1:~/scipy/scipy-0.4.4$ python setup.py install
import core -> failed:
/usr/lib/python2.3/site-packages/numpy/core/multiarray.so: undefined
symbol: PyOS_ascii_strtod
import random -> failed: 'module' object has no attribute 'dtype'
import lib -> failed:
/usr/lib/python2.3/site-packages/numpy/core/multiarray.so: undefined
symbol: PyOS_ascii_strtod
Fatal Python error: can't initialize module lapack_lite
Aborted
idf@server1:~/scipy/scipy-0.4.4$
===

nitro

Feb 4 '06 #1
7 3038
nitro wrote:
Hi,

I am using a Debian system. I installed NumPy and everything works
well. When I try to install SciPy, I get the following error. Any help
would be appreciated.

===
idf@server1:~/scipy/scipy-0.4.4$ python setup.py install
import core -> failed:
/usr/lib/python2.3/site-packages/numpy/core/multiarray.so: undefined
symbol: PyOS_ascii_strtod
import random -> failed: 'module' object has no attribute 'dtype'
import lib -> failed:
/usr/lib/python2.3/site-packages/numpy/core/multiarray.so: undefined
symbol: PyOS_ascii_strtod
Fatal Python error: can't initialize module lapack_lite
Aborted
idf@server1:~/scipy/scipy-0.4.4$
===

nitro


Why not just "apt-get install python-scipy"?

That's one of the best parts of running Debian. :)

---J

--
(remove zeez if demunging email address)
Feb 4 '06 #2
LOL!

Thanks- ashamed :-)

nitro

Feb 4 '06 #3
I just ran

and had one test fail - any ideas?
scipy.test(level=1, verbosity=2)


================================================== ====================
FAIL: check_cdf
(scipy.stats.distributions.test_distributions.test _fatiguelife)
----------------------------------------------------------------------
Traceback (most recent call last):
File "<string>", line 10, in check_cdf
AssertionError: D = 0.359837284568; pval = 0.000275693346129; alpha =
0.01
args = (1.0108978152946058,)

Feb 4 '06 #4
I should add the following informtion that it also printed out:

===
Ran 972 tests in 2.471s

FAILED (failures=1)
<unittest.TextTestRunner object at 0x40fc4dcc>
===

Feb 4 '06 #5
nitro wrote:
Hi,

I am using a Debian system. I installed NumPy and everything works
well. When I try to install SciPy, I get the following error. Any help
would be appreciated.

===
idf@server1:~/scipy/scipy-0.4.4$ python setup.py install
import core -> failed:
/usr/lib/python2.3/site-packages/numpy/core/multiarray.so: undefined
symbol: PyOS_ascii_strtod
import random -> failed: 'module' object has no attribute 'dtype'
import lib -> failed:
/usr/lib/python2.3/site-packages/numpy/core/multiarray.so: undefined
symbol: PyOS_ascii_strtod
Fatal Python error: can't initialize module lapack_lite
Aborted
idf@server1:~/scipy/scipy-0.4.4$


The extension modules got linked wrong, somehow, and aren't linked with the
Python shared library. I've never seen that particular error, though. I'd be
happy to help you through this on nu**************@lists.sourceforge.net . We
will probably need to see the output of the numpy build.

--
Robert Kern
ro*********@gmail.com

"In the fields of hell where the grass grows high
Are the graves of dreams allowed to die."
-- Richard Harter

Feb 4 '06 #6
John M. Gabriele wrote:
Why not just "apt-get install python-scipy"?

That's one of the best parts of running Debian. :)


It's also one of the worst parts of running Debian (speaking as a happy
once-Debian-now-Ubuntu user). In this case, python-scipy is a pretty ancient
version of scipy using the old Numeric, and not the new numpy.

--
Robert Kern
ro*********@gmail.com

"In the fields of hell where the grass grows high
Are the graves of dreams allowed to die."
-- Richard Harter

Feb 4 '06 #7
Robert Kern wrote:
nitro wrote:
Hi,

I am using a Debian system. I installed NumPy and everything works
well. When I try to install SciPy, I get the following error. Any help
would be appreciated.

===
idf@server1:~/scipy/scipy-0.4.4$ python setup.py install
import core -> failed:
/usr/lib/python2.3/site-packages/numpy/core/multiarray.so: undefined
symbol: PyOS_ascii_strtod
import random -> failed: 'module' object has no attribute 'dtype'
import lib -> failed:
/usr/lib/python2.3/site-packages/numpy/core/multiarray.so: undefined
symbol: PyOS_ascii_strtod
Fatal Python error: can't initialize module lapack_lite
Aborted
idf@server1:~/scipy/scipy-0.4.4$
Actually, the numpy install did not go well. Try
import numpy


from a standard Python shell.

It looks like you are using Python 2.3 and NumPy 0.9.4 built without the
required Python 2.3 patch.

-Travis

Feb 6 '06 #8

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Justin Lemkul | last post by:
Hello All, I am hoping that someone out there will be able to help me. During the "build" phase of MMTK installation, I receive the following series of errors: $ python setup.py build...
1
by: tkpmep | last post by:
I installed SciPy and NumPy (0.9.5, because 0.9.6 does not work with the current version of SciPy), and had some teething troubles. I looked around for help and observed that the tutorial is dated...
2
by: robert | last post by:
I'm using latest numpy & scipy. What is this problem ? : RuntimeError: module compiled against version 1000002 of C-API but this version of numpy is 1000009 Traceback (most recent call last):...
1
by: filipefilipe | last post by:
Dear All, I'm trying extensively to install scipy in my Fedora 6.0. In fact after hard work I 'think' I got it. If I run a test inside python, it works well. My problem is when I try to run a...
2
by: stef | last post by:
hello, I'm still in the transition of going from MatLab to Scipy, and installed previous week a SciPy on a PC twice, through the new "Enstaller". It's a pitty that there will be no old...
17
by: Besturk.Net Admin | last post by:
Hi.. I am using python with postgresql. And i have a query : aia.execute("SELECT id, w from list") links=aia.fetchall() print links and result (2 million result)
2
by: Frank Moyles | last post by:
Hi, I want to use SciPy library. I am using W2k, and ActiveState Python 2.5. I have succesfully numpy, but when I run the scipy-0.6.0.win32-py2.5.exe (from the downloads section on the SciPy...
1
by: adolfo | last post by:
I am reviewing various visualization programs (Scipy, PYGNL, etc) and IDE´s. Some run on Python 2.4 others in 2.5. Can I have both installed at the same time if I don´t run them concurrently? ...
1
by: process | last post by:
trying to install PyKF-0.1 (Kalman Filters) http://pykf.sourceforge.net/ I have Numpy, Scipy, Matplotlib installed an have successfully installed other packages using them. $ setup.py
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
1
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.