Bitcoin Forum
April 24, 2024, 04:15:13 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: [SOLVED] linux/phoenix/ati-12.3 fails with numpy import error  (Read 1822 times)
wazoo42 (OP)
Newbie
*
Offline Offline

Activity: 42
Merit: 0


View Profile
May 01, 2012, 04:24:06 PM
Last edit: May 01, 2012, 05:21:07 PM by wazoo42
 #1

I am using gentoo with phoenix-1.7.3, pyopencl-2011.2, numpy-1.6.1-r2, twisted-12.0, and ati-drivers-12.3 or 12.4. When I setup the box yesterday I used 12.3 and after running eselect opencl set amd the miners started (though 20 MH/s slower than my other install, which used sdk-2.5 and fglrx-11.11). I updated a few packages (glib, mpg123, firefox, openssh, and ati-drivers-12.4), and after rebooting I get the below error. I tried re-emerging numpy and pyopencl, but the same error occurred, I reverted back to ati-drivers-12.3, and re-emerging numpy and pyopencl with the same results. A few google searches haven't shown much regarding that error. Do you have any ideas what is broken? Thanks in advance.

Code:
   ImportError: numpy.core.multiarray failed to import
terminate called after throwing an instance of 'std::runtime_error'
  what():  numpy failed to initialize
1713975313
Hero Member
*
Offline Offline

Posts: 1713975313

View Profile Personal Message (Offline)

Ignore
1713975313
Reply with quote  #2

1713975313
Report to moderator
1713975313
Hero Member
*
Offline Offline

Posts: 1713975313

View Profile Personal Message (Offline)

Ignore
1713975313
Reply with quote  #2

1713975313
Report to moderator
"Your bitcoin is secured in a way that is physically impossible for others to access, no matter for what reason, no matter how good the excuse, no matter a majority of miners, no matter what." -- Greg Maxwell
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
wazoo42 (OP)
Newbie
*
Offline Offline

Activity: 42
Merit: 0


View Profile
May 01, 2012, 05:20:50 PM
 #2

I finally found this page, which says installing scipy fixed this error. I tried both the 12.3 and 12.4 drivers and they work.

http://old.nabble.com/Fatal-Python-error%3A-numpy.core.multiarray-failed-to-import...-exiting.-td6194838.html

NOTE: Emerging scipy failed with undefined lapack symbols, and I had to USE="-lapack" emerge numpy, and then scipy-0.10.1 emerged fine.
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!