installation issue

205 views
Skip to first unread message

Manisha Bhagat

unread,
Jun 10, 2015, 3:49:05 AM6/10/15
to express...@googlegroups.com
hi,

i am getting 
Traceback (most recent call last):
  File "/home/manisha/Downloads/expresso/src/main/main.py", line 43, in <module>
    import centralDefault
ImportError: No module named centralDefault


can smbody help me out with this.

Screenshot from 2015-06-10 12:58:51.png

Jaley Dholakiya

unread,
Jun 10, 2015, 5:26:21 AM6/10/15
to express...@googlegroups.com
It seems that your EXPRESSO_ROOT and CAFFE_ROOT variables are not set. Add it in your ~/.bashrc file+source it as per your installation instructions and restart your PC. echo $EXPRESSO_ROOT after that. If it still gives blank line, inform me . . .

Manisha Bhagat

unread,
Jun 10, 2015, 6:06:03 AM6/10/15
to express...@googlegroups.com
Sir can you plz tell me how to add variables to the bashrc file...i am getting errors most of the time.

Jaley Dholakiya

unread,
Jun 10, 2015, 6:11:38 AM6/10/15
to express...@googlegroups.com
vim ~/.bashrc

Now in the file add the following lines at the bottom(if not already there)

export $EXPRESSO_ROOT=/path/to/expresso/
export $CAFFE_ROOT=/path/to/caffe

save and exit . . .
Then type the following command
source ~/.bashrc

Now restart your PC, and try to echo these variables by typing echo $EXPRESSO_ROOT, echo $CAFFE_ROOT

Manisha Bhagat

unread,
Jun 10, 2015, 6:31:17 AM6/10/15
to express...@googlegroups.com
after writing the source ./bashrc command i am getting this error

bash: export: `=/home/manisha/Downloads/expresso/': not a valid identifier
bash: export: `=/home/manisha/Downloads/caffe/': not a valid identifier

Jaley Dholakiya

unread,
Jun 10, 2015, 7:24:15 AM6/10/15
to express...@googlegroups.com
Hey sorry, it is not
export $EXPRESSO_ROOT=/path/to/expresso/
export $CAFFE_ROOT=/path/to/caffe

but (removing dollar symbol)

EXPRESSO_ROOT=/path/to/expresso/
CAFFE_ROOT=/path/to/caffe

try now . . .

Manisha Bhagat

unread,
Jun 10, 2015, 8:21:50 AM6/10/15
to express...@googlegroups.com
Thanku...Its done now
Message has been deleted

liam lau

unread,
Mar 22, 2017, 9:03:19 AM3/22/17
to expresso-users
I have solved the problem in the following setting. The problem is the env variable issue.
vim ~/.bashrc
export CAFFE_ROOT="/home/usrname/py-
faster-rcnn/caffe-fast-rcnn"
export EXPRESSO_ROOT="/home/username/expresso"
source ~/.bashrc
Done!
Reply all
Reply to author
Forward
0 new messages