Ticket #84 (closed defect: worksforme)

Opened 6 years ago

Last modified 6 years ago

how to install PyYaml to a linux

Reported by: anonymous Owned by: xi
Priority: high Component: pyyaml
Severity: normal Keywords:



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


Change History

comment:1 Changed 6 years ago 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 for that.


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.