Python package error

I am new to FreeBSD, when iI tried to run the pybsm.c code iI got an error "python.h not found". I read many solutions on the forum regarding python package and cython, and tried all still am unable to run that file! Any suggestions?
 

Attachments

  • python error.JPG
    python error.JPG
    33 KB · Views: 259
Thank you, iI have reinstalled Python again, now new problem with pybsm.c file. :( It is showing 5 errors while compiling and it was hectic to find errors in between the huge number of warnings.
 

Attachments

  • pybsmerror.JPG
    pybsmerror.JPG
    109.8 KB · Views: 258
All the work is already with the port, do cd /usr/ports/lang/python27; make install. If you are compiling the upstream Python release than you have to do the extra work that ports(7) handles.
 
Back
Top