openerp-india team mailing list archive
-
openerp-india team
-
Mailing list archive
-
Message #09093
[Bug 939653] Re: Install / RedHat 6.2 / pip fails with InstallationError
Install python 2.6.7 from source fix this issue.
--
You received this bug notification because you are a member of OpenERP
Indian Team, which is subscribed to OpenERP Server.
https://bugs.launchpad.net/bugs/939653
Title:
Install / RedHat 6.2 / pip fails with InstallationError
Status in OpenERP Server:
Fix Released
Bug description:
This is with official 6.1 openerp downloaded here http://nightly.openerp.com/6.1/releases/openerp-6.1-1.tar.gz
Followed the README
The last step (# pip install .) fails with the following message:
...
copying and adjusting openerp-server -> build/scripts-2.6
changing mode of build/scripts-2.6/openerp-server from 644 to 755
running install_lib
byte-compiling /usr/lib/python2.6/site-
packages/openerp/addons/base/ir/ir_model.py to ir_model.pyc
python: Python/compile.c:3437: stackdepth_walk: Assertion `depth >= 0'
failed.
----------------------------------------
Command /usr/bin/python -c "import setuptools;__file__='/tmp/pip-
g0BVFR-
build/setup.py';exec(compile(open(__file__).read().replace('\r\n',
'\n'), __file__, 'exec'))" install --single-version-externally-managed
--record /tmp/pip-Zjgm4Z-record/install-record.txt failed with error
code -6 in /tmp/pip-g0BVFR-build
Exception information:
Traceback (most recent call last):
File "/usr/lib/python2.6/site-packages/pip-1.1-py2.6.egg/pip/basecommand.py", line 104, in main
status = self.run(options, args)
File "/usr/lib/python2.6/site-packages/pip-1.1-py2.6.egg/pip/commands/install.py", line 250, in run
requirement_set.install(install_options, global_options)
File "/usr/lib/python2.6/site-packages/pip-1.1-py2.6.egg/pip/req.py", line 1133, in install
requirement.install(install_options, global_options)
File "/usr/lib/python2.6/site-packages/pip-1.1-py2.6.egg/pip/req.py", line 577, in install
cwd=self.source_dir, filter_stdout=self._filter_install, show_stdout=False)
File "/usr/lib/python2.6/site-packages/pip-1.1-py2.6.egg/pip/__init__.py", line 256, in call_subprocess
% (command_desc, proc.returncode, cwd))
InstallationError: Command /usr/bin/python -c "import setuptools;__file__='/tmp/pip-g0BVFR-build/setup.py';exec(compile(open(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --single-version-externally-managed --record /tmp/pip-Zjgm4Z-record/install-record.txt failed with error code -6 in /tmp/pip-g0BVFR-build
To manage notifications about this bug go to:
https://bugs.launchpad.net/openobject-server/+bug/939653/+subscriptions
References