[issue15631] Python 3.3 beta 1 installation issue lib/lib64 folders

ita1024 report at bugs.python.org
Tue Aug 14 00:30:33 CEST 2012


ita1024 added the comment:

I have not modified anything related to python on my opensuse install, i have only grabbed the latest tarball, compiled and installed.

Here is the result with python 3.3.0 beta 2
./configure
make
(sudo make install) > log

I am observing the same outputs:
$ /usr/local/bin/python3.3
Could not find platform dependent libraries <exec_prefix>
Consider setting $PYTHONHOME to <prefix>[:<exec_prefix>]
Python 3.3.0b2 (default, Aug 14 2012, 00:25:40) 
[GCC 4.6.2] on linux
Type "help", "copyright", "credits" or "license" for more information.
Traceback (most recent call last):
  File "/etc/pythonstart", line 5, in <module>
    import atexit
ImportError: No module named 'atexit'
>>> import atexit
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
ImportError: No module named 'atexit'
>>>

The file /etc/pythonstart contains:

"""
# startup script for python to enable saving of interpreter history and
# enabling name completion

# import needed modules
import atexit
import os
import readline
import rlcompleter

# where is history saved
historyPath = os.path.expanduser("~/.pyhistory")

# handler for saving history
def save_history(historyPath=historyPath):
    import readline
    readline.write_history_file(historyPath)

# read history, if it exists
if os.path.exists(historyPath):
    readline.set_history_length(10000)
    readline.read_history_file(historyPath)

# register saving handler
atexit.register(save_history)

# enable completion
readline.parse_and_bind('tab: complete')

# cleanup
del os, atexit, readline, rlcompleter, save_history, historyPath
"""

I will attach _sysconfigdata.py next (only one attachment)

----------
Added file: http://bugs.python.org/file26790/install_log.txt

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


More information about the Python-bugs-list mailing list