This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author ita1024
Recipients Arfrever, doko, ita1024
Date 2012-08-13.22:30:23
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1344897033.78.0.180491513932.issue15631@psf.upfronthosting.co.za>
In-reply-to
Content
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)
History
Date User Action Args
2012-08-13 22:30:34ita1024setrecipients: + ita1024, doko, Arfrever
2012-08-13 22:30:33ita1024setmessageid: <1344897033.78.0.180491513932.issue15631@psf.upfronthosting.co.za>
2012-08-13 22:30:33ita1024linkissue15631 messages
2012-08-13 22:30:31ita1024create