extension _yaml is not built
See original GitHub issueTrying to build the extension _yaml
for pyyaml 4.1
on debian 8
:
python setup.py build_ext
Fails with:
/home/dfroger/.pyenv/versions/3.6.2/lib/python3.6/distutils/dist.py:261: UserWarning: Unknown distribution option: 'python_requires'
warnings.warn(msg)
running build_ext
building '_yaml' extension
creating build
creating build/temp.linux-x86_64-3.6
creating build/temp.linux-x86_64-3.6/ext
gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I/home/dfroger/.pyenv/versions/3.6.2/include/python3.6m -c ext/_yaml.c -o build/temp.linux-x86_64-3.6/ext/_yaml.o
gcc: error: ext/_yaml.c: No such file or directory
gcc: fatal error: no input files
compilation terminated.
Error compiling module, falling back to pure Python
Note that directory build/temp.linux-x86_64-3.6/ext
is empty.
Issue Analytics
- State:
- Created 5 years ago
- Comments:5 (2 by maintainers)
Top Results From Across the Web
flutter - YAML Extension not found - Stack Overflow
I tried to debug my flutter app and this is the pop up i recieved. How to resolve this. I m not able...
Read more >YAML files with .yml extensions are not supported - Drupal
I checked the issue but for me it seems there is no problem with .yml files. The File Entity module is not required...
Read more >How to Install the PHP YAML Extension - ServerPilot
The PHP YAML extension provides PHP functions for parsing and serializing files and text containing YAML markup.
Read more >YAML - Visual Studio Marketplace
Provides comprehensive YAML Language support to Visual Studio Code, via the yaml-language-server, with built-in Kubernetes syntax support.
Read more >How to install YAML extension in PHP 7.2 - Plesk Forum
Zend Module Api No: 20170718. Zend Extension Api No: 320170718. Please provide the prefix of libyaml installation [autodetect] :
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
The problem is that in https://pypi.org/simple/pyyaml/
PyYAML-3.12.tar.gz
containsext/_yaml.c
, butPyYAML-4.1.tar.gz
do not, socython
is required for4.1
to build the extension. (.pyx
->.c
)@sigmavirus24 could you make a
4.1
tarball that containsext/_yaml.c
, or would you accept a PR on that?FYI PyYAML release 4.1 was retracted but this has already been fixed in 4.2b1 by applying https://github.com/yaml/pyyaml/pull/188