Odoo Help

0

Error when installing requirments.text (Python dependencies)

By
Aby
on 1/27/16, 11:16 PM 2,521 views

I am trying to do source installation of Odoo 9 on Ubuntu 14.04

Following the documentation of Odoo (https://www.odoo.com/documentation/9.0/setup/install.html#setup-install-source)


In the step :

$ pip install -r '/home/invendoi/odoo/doc/requirements.txt'

I got the following error


invendoi@invendoi:~$ pip install -r '/home/invendoi/odoo/doc/requirements.txt'

Downloading/unpacking sphinx==1.2.3 (from -r /home/invendoi/odoo/doc/requirements.txt (line 1))

Downloading Sphinx-1.2.3-py2-none-any.whl (1.9MB): 1.9MB downloaded

Downloading/unpacking mercurial==3.2.2 (from -r /home/invendoi/odoo/doc/requirements.txt (line 2))

Downloading mercurial-3.2.2.tar.gz (4.1MB): 4.1MB downloaded

Running setup.py (path:/tmp/pip_build_invendoi/mercurial/setup.py) egg_info for package mercurial

Python headers are required to build Mercurial but weren't found in /usr/include/python2.7/Python.h

Complete output from command python setup.py egg_info:

running egg_info

creating pip-egg-info/mercurial.egg-info

writing pip-egg-info/mercurial.egg-info/PKG-INFO

writing top-level names to pip-egg-info/mercurial.egg-info/top_level.txt

writing dependency_links to pip-egg-info/mercurial.egg-info/dependency_links.txt

writing manifest file 'pip-egg-info/mercurial.egg-info/SOURCES.txt'

warning: manifest_maker: standard file '-c' not found

Python headers are required to build Mercurial but weren't found in /usr/include/python2.7/Python.h

----------------------------------------

Cleaning up...

Command python setup.py egg_info failed with error code 1 in /tmp/pip_build_invendoi/mercurial

Storing debug log for failure in /home/invendoi/.pip/pip.log

invendoi@invendoi:~$


What is the reason behind that ?

0

Axel Mendoza

--Axel Mendoza--
11023
| 7 7 8
Camaguey, Cuba
--Axel Mendoza--

DevOps - Full stack - Software Architect - Developer - Technology Integrator

I could help you to develop anything and solve complex problems based on technologies, integrations and tricky stuffs mostly in Python with OpenERP/Odoo, Zato, Django and many others frameworks programming languages and technologies.

I offers consulting services to anyone with an unanswered questions or needs for customizations. Think about it, maybe it's better to have an expert to solve your issues and projects than having a full time employee trying to understand what to do an how

Reach me at aekroft@gmail.com

Axel Mendoza
On 1/28/16, 1:03 AM

issue this command:

sudo apt-get install python-dev -y

and run again your command:

sudo pip install -r '/home/invendoi/odoo/doc/requirements.txt'

About This Community

This platform 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.

Register

Odoo Training Center

Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.

Test it now

Question tools

2 follower(s)

Stats

Asked: 1/27/16, 11:16 PM
Seen: 2521 times
Last updated: 8/8/16, 6:01 AM