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 ita1024
Date 2012-08-12.17:58:23
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1344794304.26.0.478120841355.issue15631@psf.upfronthosting.co.za>
In-reply-to
Content
On opensuse 12.1, python 3.3 installs its extensions in /usr/local/lib64/python3.3/lib-dynload/, but the .py files are in /usr/local/lib/python3.3/.

When launching python 3.3 one gets:
Could not find platform dependent libraries <exec_prefix>
Consider setting $PYTHONHOME to <prefix>[:<exec_prefix>]
Python 3.3.0b1 (default, Aug 11 2012, 10:45:34) 
[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
  File "<frozen importlib._bootstrap>", line 1294, in _find_and_load
  File "<frozen importlib._bootstrap>", line 1258, in _find_and_load_unlocked
ImportError: No module named 'atexit'

The same thing happens when installing with a --prefix.

Moving the directory lib64/python3.3/lib-dynload to lib/python3.3/lib-dynload fixes the problem.
History
Date User Action Args
2012-08-12 17:58:24ita1024setrecipients: + ita1024
2012-08-12 17:58:24ita1024setmessageid: <1344794304.26.0.478120841355.issue15631@psf.upfronthosting.co.za>
2012-08-12 17:58:23ita1024linkissue15631 messages
2012-08-12 17:58:23ita1024create