Find the answer to your Linux question:
Results 1 to 7 of 7
Hi All, I try to install F2PY-2.43.239_1844 on a Mandrake10.1 with python3.4.4 installed. The problem is when i do "python setup.py install" i get the following error message: "error:invalid Python ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Nov 2004
    Posts
    4

    F2PY installation problem


    Hi All,

    I try to install F2PY-2.43.239_1844 on a Mandrake10.1 with python3.4.4 installed. The problem is when i do

    "python setup.py install"

    i get the following error message:

    "error:invalid Python installation: unable to open /usr/lib/python2.3/config/Makefile (No such file or directory)"

    Any help? Thank you...

  2. #2
    Linux Guru
    Join Date
    Mar 2003
    Location
    Wisconsin
    Posts
    1,907
    Try linking your current python install to the one it's looking for:

    Code:
    ln -s /usr/lib/python2.3 /usr/lib/whatever_python_is_called
    Jeremy
    Registered Linux user #346571
    "All The Dude ever wanted was his rug back" - The Dude

  3. #3
    Just Joined!
    Join Date
    Nov 2004
    Posts
    4
    Quote Originally Posted by jeremy1701
    Try linking your current python install to the one it's looking for:

    Code:
    ln -s /usr/lib/python2.3 /usr/lib/whatever_python_is_called
    Jeremy
    I have searched the /usr/lib and the problem is I have /usr/lib/python2.3 but I do not have /config/Makefile within /usr/lib/python2.3

    Thanks again

  4. $spacer_open
    $spacer_close
  5. #4
    Linux Guru
    Join Date
    Mar 2003
    Location
    Wisconsin
    Posts
    1,907
    Do you have it in /usr/lib/python3.4 ?

    Jeremy
    Registered Linux user #346571
    "All The Dude ever wanted was his rug back" - The Dude

  6. #5
    Just Joined!
    Join Date
    Nov 2004
    Posts
    4
    No, /usr/lib/python2.3 is the only python entry in /usr/lib..

  7. #6
    Linux Guru
    Join Date
    Mar 2003
    Location
    Wisconsin
    Posts
    1,907
    I see. You're probably missing the python-devel package. Try installing that.

    Jeremy
    Registered Linux user #346571
    "All The Dude ever wanted was his rug back" - The Dude

  8. #7
    Just Joined!
    Join Date
    Nov 2004
    Posts
    4
    After 2 hours of googling I have found all of the rpm packages (ordinary version with development one) of python 2.3.4. But when i want to install
    python2.3-devel-2.3-3pydotorg.i386.rpm i get the following message

    "Failed dependencies: python2.3 = 2.3 is needed by python2.3-devel-2.3-3pydotorg"

    But as i said, python2.3.4 is already installed.

    Thank you for your interest...

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •