New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
No matching distribution found for webp #24
Comments
It looks like you somehow have your compiler version stored with a minor version number included, which is apparently not Conan-friendly. Try running the following command before installing webp:
|
Thanks for your answer. After running your command, another error: Full output: Collecting webp conanfile.txt: Installing package Installing (downloading, building) binaries... include <pyconfig.h>
compilation terminated.
|
You need the Python development headers to compile C extensions. If you are using Python as packaged in Ubuntu, I think that you can install them with
|
Successfully installed webp-0.1.1 Thanks a lot!!! |
Hi,
I have tried to install webp:
pip3 install webp
Unfortunately i receive error:
ERROR: Could not find a version that satisfies the requirement webp (from versions: 0.1.0a4, 0.1.0a5, 0.1.0a6, 0.1.0a7, 0.1.0a9, 0.1.0a10, 0.1.0a11, 0.1.0a12, 0.1.0a13, 0.1.0a14, 0.1.0a15, 0.1.0a16, 0.1.0, 0.1.1)
ERROR: No matching distribution found for webp
Full output:
ERROR: Command errored out with exit status 1:
command: /usr/bin/python3 -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-2h0kdpgl/webp_982bcc469215407a9724d41dcda8a63b/setup.py'"'"'; file='"'"'/tmp/pip-install-2h0kdpgl/webp_982bcc469215407a9724d41dcda8a63b/setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(file) if os.path.exists(file) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' egg_info --egg-base /tmp/pip-pip-egg-info-icxt3c46
cwd: /tmp/pip-install-2h0kdpgl/webp_982bcc469215407a9724d41dcda8a63b/
Complete output (68 lines):
Configuration:
[settings]
arch=x86_64
arch_build=x86_64
build_type=Release
compiler=gcc
compiler.version=8.3
os=Linux
os_build=Linux
[options]
[build_requires]
[env]
conanfile.txt: Installing package
Requirements
libwebp/1.0.3@bincrafters/stable from 'conan-center' - Cache
Packages
libwebp/1.0.3@bincrafters/stable:4f7fdaf7ecd182f1bc32b35513734e57dafe119a - Missing
Installing (downloading, building) binaries...
ERROR: Missing binary: libwebp/1.0.3@bincrafters/stable:4f7fdaf7ecd182f1bc32b35513734e57dafe119a
libwebp/1.0.3@bincrafters/stable: WARN: Can't find a 'libwebp/1.0.3@bincrafters/stable' package for the specified settings, options and dependencies:
- Settings: arch=x86_64, build_type=Release, compiler=gcc, compiler.version=8.3, os=Linux
- Options: fPIC=True, near_lossless=True, shared=False, swap_16bit_csp=False, with_simd=True
- Dependencies:
- Requirements:
- Package ID: 4f7fdaf7ecd182f1bc32b35513734e57dafe119a
Traceback (most recent call last):
File "", line 1, in
File "/tmp/pip-install-2h0kdpgl/webp_982bcc469215407a9724d41dcda8a63b/setup.py", line 24, in
'License :: OSI Approved :: MIT License',
File "/usr/lib/python3/dist-packages/setuptools/init.py", line 145, in setup
return distutils.core.setup(**attrs)
File "/usr/lib/python3.7/distutils/core.py", line 108, in setup
_setup_distribution = dist = klass(attrs)
File "/usr/lib/python3/dist-packages/setuptools/dist.py", line 447, in init
k: v for k, v in attrs.items()
File "/usr/lib/python3.7/distutils/dist.py", line 292, in init
self.finalize_options()
File "/usr/lib/python3/dist-packages/setuptools/dist.py", line 739, in finalize_options
ep.load()(self, ep.name, value)
File "/tmp/pip-install-2h0kdpgl/webp_982bcc469215407a9724d41dcda8a63b/.eggs/cffi-1.14.5-py3.7-linux-x86_64.egg/cffi/setuptools_ext.py", line 219, in cffi_modules
add_cffi_module(dist, cffi_module)
File "/tmp/pip-install-2h0kdpgl/webp_982bcc469215407a9724d41dcda8a63b/.eggs/cffi-1.14.5-py3.7-linux-x86_64.egg/cffi/setuptools_ext.py", line 49, in add_cffi_module
execfile(build_file_name, mod_vars)
File "/tmp/pip-install-2h0kdpgl/webp_982bcc469215407a9724d41dcda8a63b/.eggs/cffi-1.14.5-py3.7-linux-x86_64.egg/cffi/setuptools_ext.py", line 25, in execfile
exec(code, glob, glob)
File "webp_build/builder.py", line 14, in
conan.install(path=getcwd(), cwd=tmp_dir)
File "/usr/local/lib/python3.7/dist-packages/conans/client/conan_api.py", line 93, in wrapper
return f(api, *args, **kwargs)
File "/usr/local/lib/python3.7/dist-packages/conans/client/conan_api.py", line 610, in install
recorder=recorder)
File "/usr/local/lib/python3.7/dist-packages/conans/client/manager.py", line 81, in deps_install
graph_lock, keep_build=keep_build)
File "/usr/local/lib/python3.7/dist-packages/conans/client/installer.py", line 314, in install
graph_lock, remotes, build_mode, update)
File "/usr/local/lib/python3.7/dist-packages/conans/client/installer.py", line 424, in _build
self._raise_missing(missing)
File "/usr/local/lib/python3.7/dist-packages/conans/client/installer.py", line 372, in _raise_missing
''' % (missing_pkgs, build_str)))
conans.errors.ConanException: Missing prebuilt package for 'libwebp/1.0.3@bincrafters/stable'
Try to build from sources with '--build=libwebp'
Use 'conan search --table table.html'
Or read 'http://docs.conan.io/en/latest/faq/troubleshooting.html#error-missing-prebuilt-package'
WARNING: Discarding https://files.pythonhosted.org/packages/62/df/1efb36189ee596f6d3773c8c1b051ada90d244a601b0e4de00181e8fa6f9/webp-0.1.0.tar.gz#sha256=9f15bf22999789b05f12dd02e0970d44adf506e086ea9558e6c5abc4c5585126 (from https://pypi.org/simple/webp/). Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.
ERROR: Could not find a version that satisfies the requirement webp (from versions: 0.1.0a4, 0.1.0a5, 0.1.0a6, 0.1.0a7, 0.1.0a9, 0.1.0a10, 0.1.0a11, 0.1.0a12, 0.1.0a13, 0.1.0a14, 0.1.0a15, 0.1.0a16, 0.1.0, 0.1.1)
ERROR: No matching distribution found for webp
Thanks.
The text was updated successfully, but these errors were encountered: