Could not find platform independent libraries

  • Thread starter pythonhelpneeded
  • Start date
P

pythonhelpneeded

While building Python 2.4.3 on SCO OpenServer 5.0.5, I'm getting the
error below. The modules mentioned seem to be available in the Lib
subdirectory. I've tried setting PYTHONHOME to the build directory
(/tmp/Python-2.4.3), it didn't help.

Any help would be appreciated.

# make
case $MAKEFLAGS in \
*-s*) CC='cc' LDSHARED='cc -Wl,-G,-Bexport' OPT='-DNDEBUG -O'
../python -E ./setup.py -q build;; \
*) CC='cc' LDSHARED='cc -Wl,-G,-Bexport' OPT='-DNDEBUG -O'
../python -E ./setup.py build;; \
esac
Could not find platform independent libraries <prefix>
Could not find platform dependent libraries <exec_prefix>
Consider setting $PYTHONHOME to <prefix>[:<exec_prefix>]
'import site' failed; use -v for traceback
Traceback (most recent call last):
File "./setup.py", line 6, in ?
import sys, os, getopt, imp, re
ImportError: No module named os
*** Error code 1 (bu21)
UX:make: ERROR: fatal error.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,968
Messages
2,570,153
Members
46,699
Latest member
AnneRosen

Latest Threads

Top