[New-bugs-announce] [issue18092] Python 2.7.5 installation broken on OpenSuse 12.2

Andreas Jung report at bugs.python.org
Wed May 29 08:25:00 CEST 2013


New submission from Andreas Jung:

I tried to install 2.7.5 on my OpenSuse 12.2 (latest patches)

ajung at blackmoon2:~/sandboxes/mib.portal> cat /etc/issue
Welcome to openSUSE 12.2 "Mantis" - Kernel \r (\l).


Compilation went fine (no visible errors).

Starting the interpreter gives me:

ajung at blackmoon2:~/sandboxes/mib.portal> /opt/python-2.7.5/bin/python 
Could not find platform dependent libraries <exec_prefix>
Consider setting $PYTHONHOME to <prefix>[:<exec_prefix>]
Python 2.7.5 (default, May 29 2013, 08:19:10) 
[GCC 4.7.1 20120723 [gcc-4_7-branch revision 189773]] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> 

Trying to bootstrap a Pyramid project using zc.buildout gives me:

ajung at blackmoon2:~/sandboxes/mib.portal> /opt/python-2.7.5/bin/python bootstrap.py 
Could not find platform dependent libraries <exec_prefix>
Consider setting $PYTHONHOME to <prefix>[:<exec_prefix>]
Traceback (most recent call last):
  File "bootstrap.py", line 21, in <module>
    import os, shutil, sys, tempfile, urllib, urllib2, subprocess
  File "/opt/python-2.7.5/lib/python2.7/shutil.py", line 12, in <module>
    import collections
  File "/opt/python-2.7.5/lib/python2.7/collections.py", line 8, in <module>
    from _collections import deque, defaultdict
ImportError: No module named _collections

----------
messages: 190274
nosy: Andreas.Jung
priority: normal
severity: normal
status: open
title: Python 2.7.5 installation broken on OpenSuse 12.2
type: behavior
versions: Python 2.7

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue18092>
_______________________________________


More information about the New-bugs-announce mailing list