question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Installing yaml for Python 3.6 through pip

See original GitHub issue

I just noticed that the pip version of yaml only works with python 3.5. I wonder, can someone update the package list on pypi.python.org so that people can install yaml for python 3.6 as well?

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:11 (1 by maintainers)

github_iconTop GitHub Comments

11reactions
feluxecommented, Feb 16, 2018

pip install pyyaml works for me with Python 3.6.

Python 3.6.4 (default, Jan  5 2018, 02:35:40) 
[GCC 7.2.1 20171224] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import yaml
>>> f = open('myfile')
>>> y = yaml.load(f)
>>> print(y)
{ 'my_item': ...
5reactions
wumpuscommented, Feb 27, 2018

pip install pyyaml works for me in every release of 3.6.

Given that pyyaml compiles stuff during installation, the most likely problem is that @Amir-Arsalan is missing python development libs in his 3.6 install. Same solution as @mei-li

Read more comments on GitHub >

github_iconTop Results From Across the Web

How do I install the yaml package for Python? - Stack Overflow
You could try the search feature in pip, $ pip search yaml. which looks for packages in PyPI with yaml in the short...
Read more >
Installing — Python YAML package documentation
yaml . ruamel.yaml itself should be installed from PyPI using: pip install ruamel ...
Read more >
How do I install the yaml package for Python - Edureka
I have a Python program that uses YAML. I attempted to install it on a new server using pip install yaml and it...
Read more >
PyYAML · PyPI
YAML is a data serialization format designed for human readability and interaction with scripting languages. PyYAML is a YAML parser and emitter for...
Read more >
PyYAML is a YAML parser and emitter for Python.
Unpack the archive and install the package by executing ... #60 – Document and test Python 3.6 support; #61 – Use Travis CI...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found