PECL python installation problem

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • anis0408
    New Member
    • Sep 2010
    • 5

    PECL python installation problem

    Hello everyone,

    I'm trying to install with command :

    pecl install python-0.8.0

    This fails with the error:

    checking for Python files in default path... not found
    configure: error: Please specify path to Python distribution files
    ERROR: `/tmp/pear/temp/python/configure' failed

    Could you please tell me How & where do I specify this path?

    Thanks in advance
  • Mariostg
    Contributor
    • Sep 2010
    • 332

    #2
    I have a strange feeling it is looking for the python installation directory and it does not find it. Is python installed?

    Comment

    • anis0408
      New Member
      • Sep 2010
      • 5

      #3
      Yes python is already installed but somehow it does not find it. I tried to specify the path using :

      pecl install python-0.8.0 --with-python=/path to python

      But it does not work !

      Comment

      • Mariostg
        Contributor
        • Sep 2010
        • 332

        #4
        Well, if you would are building it from source, then what is the the path to python on your installation? If you work on Windows, I don't know but something like C:/opt/... There should be an environment variable declared which I guess on Windows would be call PYTHONPATH.

        Also, you may have more chance by asking on the PHP forum rather Python one.

        Comment

        Working...