By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
440,715 Members | 748 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 440,715 IT Pros & Developers. It's quick & easy.

PECL python installation problem

P: 5
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
Nov 26 '10 #1
Share this Question
Share on Google+
3 Replies

P: 332
I have a strange feeling it is looking for the python installation directory and it does not find it. Is python installed?
Nov 26 '10 #2

P: 5
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 !
Nov 27 '10 #3

P: 332
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.
Nov 29 '10 #4

Post your reply

Sign in to post your reply or Sign up for a free account.