Ticket #84 (closed defect: worksforme)

Opened 4 months ago

Last modified 3 months ago

how to install PyYaml to a linux

Reported by: anonymous Assigned to: xi
Priority: high Component: pyyaml
Severity: normal Keywords:
Cc:

Description

Hi,

I installed the PyYaml? both to a linux machine and a window machine. When I run command "import _yaml", the window machine can find the module. But on the linux, it can not find the module. I found _yaml.pyd file under the site-packages, I did not find any file with _yaml at the linux machine. I find the files (_yaml.c _yaml.h _yaml.pxd _yaml.pyx) under ext directory in the download package. What am I missing?

Thanks, -Yuan

Attachments

Change History

07/29/08 17:01:50 changed by xi

  • status changed from new to closed.
  • resolution set to worksforme.

The module _yaml is provided by libyaml bindings for PyYAML, but you are not supposed to use it directly. First, you need to build and install libyaml. Then you'll be able to build and install the bindings. Run python setup_with_libyaml.py for that.


Add/Change #84 (how to install PyYaml to a linux)




Change Properties
Action