gregorynicholas / py-bcrypt

Automatically exported from code.google.com/p/py-bcrypt
Other
0 stars 0 forks source link

Failed to install using pip #6

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. open console
2. type "pip install py-bcrypt"

What is the expected output? What do you see instead?
Expected to see "Installed successfully", but among other got

    bcrypt/bcrypt_python.c:17:20: fatal error: Python.h: No such file or directory
and
    bcrypt/bcrypt_python.c:17:20: fatal error: Python.h: No such file or directory

What version of the product are you using? On what operating system?
py-bcrypt 0.2 trying to run on Ubuntu 11.10

Please provide any additional information below.
Attached pip log file.
After I googled error message it looks like I don't have python dev headers, 
and it was not installed by dependencies of py-bcrypt.

Original issue reported on code.google.com by alekz...@gmail.com on 28 Mar 2012 at 11:30

Attachments:

GoogleCodeExporter commented 9 years ago
The python header files can not be installed with pip, just install the system 
package. For Ubuntu this is be done with:

$ sudo apt-get install python-dev

Original comment by johndoe....@gmail.com on 5 Apr 2012 at 2:35

GoogleCodeExporter commented 9 years ago
same.
John, yes it is. 

Original comment by Shuraeff...@gmail.com on 13 Jun 2012 at 4:39

GoogleCodeExporter commented 9 years ago
This seems to be a problem with your Python installation or build environment.

Original comment by d...@djm.net.au on 27 Jul 2013 at 12:31

GoogleCodeExporter commented 9 years ago
Thanks jonh, it works for me!

Original comment by ricardo....@gmail.com on 25 Nov 2014 at 8:18