Installation Problem

Marshall Dudley mdudley at king-cart.com
Sun Jun 4 13:21:25 EDT 2006


Sorry, this is a FreeBSD system 4.8-RELEASE

I found another set of documents that say to use the following to
install::

python setup.py install

but after running it, I still have the same problem.

Marshall

Marshall Dudley wrote:

> I am trying to install python, but am having problems.  I did what the
> README file said, and it created an executible code in the current
> directory as it said it would when I typed "make". It seemed to say to
> copy the executable over to the /usr/local directory, which I did.
>
> If I type ./python in the directory I did the make in I get:
>
> execonn# ./python
> Python 2.4.3 (#1, May 31 2006, 07:50:04)
> [GCC 2.95.4 20020320 [FreeBSD]] on freebsd4
> Type "help", "copyright", "credits" or "license" for more information.
> >>>
>
> Which is I believe correct.
>
> But if I type /usr/local/python I get:
>
> Python 2.4.3 (#1, May 31 2006, 07:50:04)
> [GCC 2.95.4 20020320 [FreeBSD]] on freebsd4
> Type "help", "copyright", "credits" or "license" for more information.
> >>>
> execonn# /usr/local/python
> 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
> Python 2.4.3 (#1, May 31 2006, 07:50:04)
> [GCC 2.95.4 20020320 [FreeBSD]] on freebsd4
> Type "help", "copyright", "credits" or "license" for more information.
> >>>
>
> So nothing that tries to use it works.
>
> Any assistance would be appreciated.
>
> Thanks,
>
> Marshall




More information about the Python-list mailing list