LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 04-29-2013, 03:27 AM   #1
sryzdn
Member
 
Registered: Feb 2013
Posts: 248

Rep: Reputation: 1
numpy installation on fedora 18


Hi,

I have tried to install numpy on fedora 18 with the following command:

sudo yum install numpy scipy

But, during the installation of the package that needed numpy, I encountered this error:

Traceback (most recent call last):
File "/usr/local/bin/nanocut", line 3, in <module>
import numpy as np
ImportError: No module named 'numpy'


How could I get numpy installed correctly?
 
Old 04-29-2013, 03:57 AM   #2
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2016, Slack14.1 Deb Jessie, + 50+ other Linux OS, for test only.
Posts: 16,276

Rep: Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154
? This nanocut ? https://bitbucket.org/aradi/nanocut
git clone https://bitbucket.org/aradi/nanocut.git
http://aradi.bitbucket.org/nanocut/
http://aradi.bitbucket.org/nanocut/installation.html

Fedora 18 : # yum install python3 python3-numpy

cd nanocut/ ; su ; # python3 setup.py install

-
 
Old 04-29-2013, 04:10 AM   #3
sryzdn
Member
 
Registered: Feb 2013
Posts: 248

Original Poster
Rep: Reputation: 1
Quote:
Originally Posted by knudfl View Post
? This nanocut ? https://bitbucket.org/aradi/nanocut
git clone https://bitbucket.org/aradi/nanocut.git
http://aradi.bitbucket.org/nanocut/
http://aradi.bitbucket.org/nanocut/installation.html

Fedora 18 : # yum install python3 python3-numpy

cd nanocut/ ; su ; # python3 setup.py install

-
Knudfl, thanks, I followed your suggestion and still receiving the same error on the module!!!
 
Old 04-29-2013, 04:19 AM   #4
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2016, Slack14.1 Deb Jessie, + 50+ other Linux OS, for test only.
Posts: 16,276

Rep: Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154
# 3 .

I guess you will have to delete the alien file '/usr/local/bin/nanocut', etc.
There is no uninstall for python apps installed with "setup.py".

By default, nanocut will install to /usr/bin/nanocut
→ → May be run $ /usr/bin/nanocut
... to be sure you are using the right one.

-
 
  


Reply

Tags
nanocut


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
NumPy Installation Dsw0002 Linux - Software 2 04-25-2011 08:11 PM
Installing python-numpy in the python2.5 installation of eee-pc zoopside Linux - Software 3 04-01-2009 08:42 PM
Scipy And Numpy automata Linux - Software 1 10-18-2007 07:50 AM
Numpy installation help wuzzo87 Linux - Software 2 04-06-2007 07:50 AM
Visual Python/Numpy uranologist Linux - Software 0 09-28-2003 11:08 PM


All times are GMT -5. The time now is 11:54 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration