Ticket #108 (closed defect: invalid)

Opened 5 years ago

Last modified 2 days ago install missing section header error

Reported by: anonymous Owned by: xi
Priority: high Component: pysyck
Severity: major Keywords:

Description (last modified by xi) (diff)

When I try to install pysyck on mac osx 10.5.5 by typing python setup. py install I get the following error:

Traceback (most recent call last):
  File "", line 121, in <module>
    'build_ext': PySyckBuildExt,
  File "/System/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/distutils/", line 125, in setup
  File "/System/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/distutils/", line 373, in parse_config_files
  File "/System/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/", line 267, in read
    self._read(fp, filename)
  File "/System/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/", line 462, in _read
    raise MissingSectionHeaderError(fpname, lineno, line)
ConfigParser.MissingSectionHeaderError: File contains no section headers.
file: /Users/s031540/.pydistutils.cfg, line: 1

I used to get another error, syck.h not found, then I made a file in my home folder thanks to xi:

I'd suggest you to create a file named .pydistutils.cfg in your home directory and add the following lines to it:


The Syck.h error disappeared, but I can't get the new one to go away, nor can I find solutions online.

I anybody has any idea, that would be great!


Change History

comment:1 Changed 5 years ago by xi

  • Status changed from new to closed
  • Resolution set to invalid
  • Description modified (diff)

It appears you have saved the file .pydistutils.cfg in the RTF format rather than as a text file. You need to use a text editor (e.g. TextMate?) rather than a word processor (e.g. MS Word) to create the file.

In any case, you need libsyck installed before you can install PySyck.

comment:2 Changed 2 days ago by maskodok <galihadiputro87@…>

The only thing more I could hope for is documentation of all these features (other than reading through the code).  Cipto Junaedy Is this in process? Can I help? About  Unit Link Terbaik di Indonesia Commonwealth Life Investra Link


Add a comment

Modify Ticket

Change Properties
<Author field>
as closed
The resolution will be deleted. Next status will be 'reopened'

E-mail address and user name can be saved in the Preferences.

Note: See TracTickets for help on using tickets.