Newbie Question on ctypes

E

Efrat Regev

Hello,

(I apologize in advance if I'm posting to the wrong group. If so,
could you please instruct me which is appropriate?)

I'm trying to use uTidyLib, HTML-tidy's python binding. When I

import tidy

Python says it can't import ctypes. Since I'm using FC4, I looked for
a FC4 ctypes rpm. All I could find, however, were buildlog errors for
ctypes on FC4.
My question is, therefore, if I can build ctypes locally. I tried

rpm -i python-ctypes-0.9.1-1.rf.src.rpm

but that didn't seem to work (python still couldn't import ctypes).

Thanks in advance for all answers. I should point out that I'm not an
expert in python or linux (in the combination, alas, even less).

Thanks,

Efrat
 
S

Sybren Stuvel

Efrat Regev enlightened us with:
My question is, therefore, if I can build ctypes locally. I tried

rpm -i python-ctypes-0.9.1-1.rf.src.rpm

That _installs_ the source package, not build it as you intended. Read
the RPM manual:

rpm --rebuild python-ctypes-0.9.1-1.rf.src.rpm

Sybren
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,764
Messages
2,569,564
Members
45,040
Latest member
papereejit

Latest Threads

Top