Odoo Help

Welcome!

This community is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.

1

why I get the error "No such file or directory" while running `setup_rpm.py`?

By
Omid Rezvani
on 8/18/13, 4:56 AM 2,038 views

I am trying to install openerp 7 on centos but when I run setup.py I get this error:

openerp ./setup.py: 
line 23: from: command not found ./setup.py: 
line 26: syntax error near unexpected token `(' ./setup.py: 
line 26: `def data():'

and when I run setup_rpm.py I get the followwing error:

running install
Checking .pth file support in usr/lib/python2.6/site-packages/
error: can't create or remove files in install directory

The following error occurred while trying to add or remove files in the
installation directory:

    [Errno 2] No such file or directory: 'usr/lib/python2.6/site-packages/test-easy-install-10137.pth'

The installation directory you specified (via --install-dir, --prefix, or
the distutils default setting) was:

    usr/lib/python2.6/site-packages/

This directory does not currently exist.  Please create it and try again, or
choose a different installation directory (using the -d or --install-dir
option).

sed: can't read INSTALLED_FILES: No such file or directory

I tried some options such as -d , --prefix, --install-dir to define the installation directory but it didn't work. why is that so? and what is the solution?

1

Borni DHIFI

--Borni DHIFI--
5102
| 6 8 9
Tunis, Tunisia
--Borni DHIFI--

Techno Functional Consultant Odoo(OpenERP) 

http://www.linkedin.com/in/borni

Skype : dhifi.borni

Borni DHIFI
On 8/18/13, 7:59 AM

There is a shell script that I used and it's really perfect: http://forum.openerp.com/forum/topic36094.html

Omid Rezvani
on 8/19/13, 5:02 AM

I am also facing the same issue when i run setup_rpm.py. I installed odoo 8 in windows using the link http://github.com/OCA/OCB. The above error how to fix in windows?.. Thanks

Prakash
on 7/11/14, 1:11 AM

Your Answer

Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!

About This Community

This community is for professionals and enthusiasts of our products and services. Read Guidelines

Question tools

0 follower(s)

Stats

Asked: 8/18/13, 4:56 AM
Seen: 2038 times
Last updated: 3/16/15, 8:10 AM