thegooglecodearchive / mpmath

Automatically exported from code.google.com/p/mpmath
Other
0 stars 0 forks source link

ImportError: No module named libmp #175

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Install mpmath from svn.
2. python mpmath/mpmath/tests/runtests.py
3.

What is the expected output? 

What do you see instead?

mpmath imported from /home/nwagner/local/lib64/python2.6/site-packages/mpmath
mpmath version: 0.13
Python version: 2.6.2 (r262:71600, Oct 24 2009, 03:15:21)
[GCC 4.4.1 [gcc-4_4-branch revision 150839]]

Traceback (most recent call last):
  File "svn/mpmath/mpmath/tests/runtests.py", line 147, in <module>
    testit(importdir, testdir)
  File "svn/mpmath/mpmath/tests/runtests.py", line 106, in testit
    module = __import__(name)
  File "/home/nwagner/svn/mpmath/mpmath/tests/test_bitwise.py", line 5, in
<module>
    from mpmath.libmp import *
ImportError: No module named libmp

What version of the product are you using? On what operating system?

bleeding edge svn
Linux linux-mogv 2.6.31.8-0.1-default #1 SMP 2009-12-15 23:55:40 +0100
x86_64 x86_64 x86_64 GNU/Linux

Please provide any additional information below.

Original issue reported on code.google.com by nils...@googlemail.com on 16 Jan 2010 at 10:28

GoogleCodeExporter commented 9 years ago
Well, there's your problem -- the tests are for the svn version, but mpmath is 
being
imported from /home/nwagner/local/lib64/python2.6/site-packages/mpmath which
obviously isn't the svn version.

Original comment by fredrik....@gmail.com on 16 Jan 2010 at 10:49

GoogleCodeExporter commented 9 years ago
I cannot reproduce the problem with recent svn. 

Original comment by nils...@googlemail.com on 3 Feb 2010 at 7:22

GoogleCodeExporter commented 9 years ago

Original comment by fredrik....@gmail.com on 3 Feb 2010 at 8:48