cournape/Bento

Error while installing numpy from scipy tutorial

Opened this issue · 0 comments

Bentomaker: Error: bentomaker crashed (uncaught exception <type 'exceptions.IOError'>: [Errno 2] No such file or directory: 'build/numpy/core/include/numpy/_numpyconfi
g.h').

This occurred during setup in the "Diving into Numpy" tutorial. It was using the virtualbox provided in the tutorial so this should hopefully be reproducible. It seems like it might be an issue when not using virtual env.

History

All bad typos included
1 sudo apt-get update
2 sudo apt-get remove --purge abiword thunderbird*
3 sudo apt-get remove --purge gnumeric* pidgin*
4 df
5 df -h
6 sudo apt-get remove --purge gimp*
7 df -h
8 ls /lib/modules/
9 uname -a
10 sudo reboot
11 df -h
12 sudo apt-get clean
13 df -h
14 uname -a
15 sudo apt-get remove linux-image-3.8.0-19-generic
16 df -h
17 sudo apt-get remove linux-headers-3.8.0-19*
18 df -h
19 ls
20 exit
21 dd if=/dev/zero of=/EMPTY bs=1M
22 sudo dd if=/dev/zero of=/EMPTY bs=1M
23 sudo rm /E
24 sudo rm /EMPTY
25 df -h
26 wget
27 ls
28 sudo apt-get install openssh
29 sudo apt-get install openssh-server
30 ifconfig
31 ssh localhost
32 exit
33 df
34 df -h
35 exit
36 mkdir /home/vagrant/.ssh
37 chmod 700 /home/vagrant/.ssh
38 cd /home/vagrant/.ssh
39 wget --no-check-certificate 'https://raw.github.com/mitchellh/vagrant/master/keys/vagrant.pub' -O authorized_keys
40 chmod 600 /home/vagrant/.ssh/authorized_keys
41 chown -R vagrant /home/vagrant/.ssh
42 ls
43 exit
44 ifconfig
45 ls
46 vim postinstall.sh
47 vi postinstall.sh
48 exit
49 ls
50 vim postinstall.sh
51 vi postinstall.sh
52 vim .vbox_version
53 vi .vbox_version
54 ls
55 sudo bash postinstall.sh
56 ls
57 df
58 df -h
59 ls
60 vim postinstall.sh
61 exit
62 df -h
63 df
64 exit

# WHERE I LOGGED IN

65 ls
66 ls /vagrant
67 pwd
68 ls
69 cd src/
70 ls
71 cd numpy-git/
72 ls

BUILD numpy from dist utils

73 python setup.py build_ext -i
74 nosetests numpy/core
75 pip install python-nose
76 pip install nosetest
77 pip install nosetests
78 cd ../bento-git/
79 ls
80 cd ../numpy-git/
81 echo $WAFDIR
82 ls /src/waf-git
83 ls /src/waf-git/
84 cd ../bento-git/
85 python setup.py install
86 sudo python setup.py install
87 cd ../waf-git/
88 xport WAFDIR=
/src/waf-git
89 export WAFDIR=~/src/waf-git
90 cd ../numpy-git/

TRIED TO RUN, complained about not finding bento

91 bentomaker build -i

bento was not visible on path...

92 python
93 cd ../bento-git/
94 lg
95 ls
96 sudo python setup.py install
97 python
98 cd ..
99 python
100 echo $PYTHONPATH

# Hack to get around bento not being visible

101 export PYTHONPATH=~/src/bento-git
102 pwd
103 python
104 cd numpy-git/
105 ls
106 bentomaker build -i
107 ls
108 echo $WAFDIR
109 ls /home/vagrant/src/waf-git
110 bentomaker build -i
111 ls build/numpy/core/include/numpy/
112 echo $PYTHON_PATH
113 echo $PYTHONPATH
114 cd ../bento-git/
115 sudo python setup.py install
116 cd ..

Where you came over and fixed things

117 python
118 exit()
119 PYTHONPATH= python
120 ls
121 virtualenv numpy-venv
122 source numpy-venv/bin/activate
123 cd bento-git/
124 python setup.py install
125 cd ..
126 bentomaker
127 which bentomaker
128 cd numpy-git/
129 echo $WAFDIR
130 bentomaker build -i
131 git st
132 git status
133 git clean -fdx numpy/ build/
134 bentomaker build -i
135 history > ~/install_steps.txt