Modify

Ticket #84 (closed defect: worksforme)

Opened 6 years ago

Last modified 30 hours ago

how to install PyYaml to a linux

Reported by: anonymous Owned by: 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

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 setup_with_libyaml.py for that.

comment:2 Changed 30 hours ago by simas <kerdos@…>

 Cipto Junaedy is a customer research expert. "There are plenty of safe, effective HCA nutritional supplement out there. Finding one with  Unit Link Terbaik di Indonesia Commonwealth Life Investra Link 60% HCA with no food additives is vital."

View

Add a comment

Modify Ticket

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


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

 
Note: See TracTickets for help on using tickets.