WebFaction
Community site: login faq

I'm having a bit of a set back installing numpy 1.7.1. I've read this post on how to install 1.6 numpy and also read the installing packages documentation here.

Under SSH, this is what I used in my cmd line [username@webXXX python2.7]$ easy_install-2.7 https://pypi.python.org/packages/source/n/numpy/numpy-1.7.1.tar.gz#md5=0ab72b3b83528a7ae79c6df9042d61c6

this is what's returned, (Cite A)...

Downloading https://pypi.python.org/packages/source/n/numpy/numpy-1.7.1.tar.gz#md5=0ab72b3b83528a7ae79c6df9042d61c6
Processing numpy-1.7.1.tar.gz
Running numpy-1.7.1/setup.py -q bdist_egg --dist-dir /tmp/easy_install-FSOmrr/numpy-1.7.1/egg-dist-tmp-Lb0H8E
Running from numpy source directory.
error: SandboxViolation: open('/dev/null', 'w') {}
The package setup script has attempted to modify files on your system
that are not within the EasyInstall build area, and has been aborted.
This package cannot be safely installed by EasyInstall, and may not
support alternate installation locations even if you run its setup
script by hand.  Please inform the package's author and the EasyInstall
maintainers to find out if a fix or workaround is available.

I also tried: [username@webXXX python2.7]$ easy_install-2.7 http://sourceforge.net/projects/numpy/files/NumPy/1.7.1/numpy-1.7.1.tar.gz/download

which also returns similar results as above in Cite A.

Any help or guidance to correct this would be appreciated. thanks, Mel

asked 23 Jun '13, 21:48

codicem
5115
accept rate: 0%

edited 24 Jun '13, 13:08


Found a solution. And now I have 1.7.1 installed to my home directory. I should have looked at the other posted numpy questions before asking for help but luckily found this answer.

[username@webXXX python2.7]$ pip install -I -U --user numpy

worked perfectly.

The end result of all this is that I need to install scipy (latest version) next. So I hope it installs without a hitch.

Hope this helps anyone going through the same issues I went through. Mel

permanent link

answered 24 Jun '13, 12:50

codicem
5115
accept rate: 0%

edited 24 Jun '13, 12:59

I was able to get scipy 0.12.0 installed but it took several attempts. Make a tmp directory in your home directory and use the export cmd. Then run pip like below.

mkdir ~/tmp
export TMPDIR=~/tmp
[username@webXXX python2.7]$ pip install -I -U --user scipy

And hopefully, after a long install and config, you'll have a working scipy and numpy. Mel

Just an aside. I did test my scipy and numpy installation with "nose". Most of the test succeeded but also got a few test errors. Mainly functions that are deprecated in numpy. I'm only using cluster and array functions so I cannot speak to the other functions in either packages. Mel

(24 Jun '13, 18:41) codicem

I tried the same command but I got a 'permission denied' error. I had to run pip install -I -U --user --no-use-wheel numpy

(24 Jul '14, 16:51) jirik
Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:

×52
×5
×3
×1

question asked: 23 Jun '13, 21:48

question was seen: 6,107 times

last updated: 24 Jul '14, 16:52

WEBFACTION
REACH US
SUPPORT
AFFILIATE PROGRAM
LEGAL
© COPYRIGHT 2003-2019 SWARMA LIMITED - WEBFACTION IS A SERVICE OF SWARMA LIMITED
REGISTERED IN ENGLAND AND WALES 5729350 - VAT REGISTRATION NUMBER 877397162
5TH FLOOR, THE OLD VINYL FACTORY, HAYES, UB3 1HA, UNITED KINGDOM