[Slackbuilds-users] Problem with python3

Kevin Pulo kev at pulo.com.au
Fri Feb 26 01:58:24 UTC 2010


Hi,

This builds and installs fine, but I get the following when I try to
run the python3.1 interpreter:

    $ python3.1
    Could not find platform independent libraries <prefix>
    Could not find platform dependent libraries <exec_prefix>
    Consider setting $PYTHONHOME to <prefix>[:<exec_prefix>]
    Fatal Python error: Py_Initialize: can't initialize sys standard streams
    ImportError: No module named encodings.utf_8
    Aborted
    $ 

Even when I try setting $PYTHONHOME to /usr, or /usr:/usr/bin, I still
get the same error, minus the first 3 lines.

This is on Slackware64 13.0, with alienBob's -current multilib
compilers.

Any ideas?

I'm also wondering if copying the subdirectories of Tools/, most of
which are standalone scripts, into the site-packages/ directory, is
correct, since site-packages is supposed to be for python modules that
are imported into the interpreter.  Probably these files belong in
/usr/doc/python3-3.1.1, instead of just being symlinked there.

Kev.

-- 
.----------------------------------------------------------------------.
| Kevin Pulo                Quidquid latine dictum sit, altum viditur. |
| kev at pulo.com.au               _ll l_ng__g_e_ _r_ hi__ly p__d_ct__le. |
| http://www.kev.pulo.com.au/         God casts the die, not the dice. |
`--------------- Linux: The choice of a GNU generation. ---------------'
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://lists.slackbuilds.org/pipermail/slackbuilds-users/attachments/20100226/01797b8b/attachment.sig>


More information about the SlackBuilds-users mailing list