wanadev / pyguetzli Goto Github PK
View Code? Open in Web Editor NEWPython bindings for Google's Guetzli, a JPEG encoder that optimises JPEG compression
Home Page: https://wanadev.github.io/pyguetzli/
License: Apache License 2.0
Python bindings for Google's Guetzli, a JPEG encoder that optimises JPEG compression
Home Page: https://wanadev.github.io/pyguetzli/
License: Apache License 2.0
Hi,
I have successfully installed pyguetzli using the PIP methoded outlined here: https://pypi.python.org/pypi/pyguetzli but unfortunately when running a simple script in PyCharm I get the following error:
ImportError: dlopen(/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/pyguetzli/_guetzli.abi3.so, 2): Symbol not found: __ZN7guetzli7ProcessERKNS_6ParamsEPNS_12ProcessStatsERKSsPSs Referenced from: /Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/pyguetzli/_guetzli.abi3.so Expected in: flat namespace in /Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/pyguetzli/_guetzli.abi3.so
I've tried reinstalling, reinstalling using homebrew and reinstalling using the PyCharm, but this all yielded the same result.
When I try to "pip install pyguetzli", I got:
'nullptr' was not declared in this scope
And I see the compiler options:
gcc -pthread -fno-strict-aliasing -g -O2 -DNDEBUG -I. -IInclude -I./Include -O2 -pipe -fPIC -I/tmp/pip-build-mGtYG5/pyguetzli/pyguetzli -I/tmp/pip-build-mGtYG5/pyguetzli/pyguetzli/../guetzli -I/home/img/.jumbo/include/python2.7 -c build/temp.linux-x86_64-2.7/pyguetzli._guetzli.cpp -o build/temp.linux-x86_64-2.7/build/temp.linux-x86_64-2.7/pyguetzli._guetzli.o
After googling, I was told to use "-std=c++11" opiton. But how can I do it ?
Hi there, I'm getting the following error when trying to install under Python 3 (PyPy3) in Linux:
Collecting pyguetzli (from rhith)
Downloading pyguetzli-1.0.6.tar.gz (106kB)
Complete output from command python setup.py egg_info:
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/tmp/pip-build-qo_bojj7/pyguetzli/setup.py", line 58, in <module>
long_description = open("README.rst", "r").read()
File "/opt/pypy3/lib-python/3/encodings/ascii.py", line 26, in decode
return codecs.ascii_decode(input, self.errors)[0]
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc2 in position 682: ordinal not in range(128)
Hello,
Today I attempted to install pyguetzli on Python3.6.4, on Windows 10
I saved the console output: pyguetzli.txt
I also get the error:
Failed building wheel for pyguetzli
Command "e:\development\github\havenweb\venv\scripts\python.exe -u -c "import setuptools, tokenize;__file__='C:\\Users\\Zoc\\AppData\\Local\\Temp\\pip-build-htfgs80j\\pyguetzli\\setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record C:\Users\Zoc\AppData\Local\Temp\pip-icil3s3g-record\install-record.txt --single-version-externally-managed --compile --install-headers e:\development\github\havenweb\venv\include\site\python3.6\pyguetzli" failed with error code 1 in C:\Users\Zoc\AppData\Local\Temp\pip-build-htfgs80j\pyguetzli\
Apparently the first error message is related to this:
LINK : fatal error LNK1181: cannot open input file 'C:\Users\Zoc\AppData\Local\Temp\pip-build-htfgs80j\pyguetzli\pyguetzli\..\guetzli\bin\Release\libguetzli_static.a'
error: command 'C:\\Program Files (x86)\\Microsoft Visual Studio\\2017\\Community\\VC\\Tools\\MSVC\\14.12.25827\\bin\\HostX86\\x64\\link.exe' failed with exit status 1181
I hope this helps! :)
I have downloaded the Pyguetzli via pip install pyguetzli command. But I can't import it.
The error code below:
File "c:/Users/Koray Tuğberk GÜBÜR/Desktop/python_all/Pillow/abc.py", line 1, in
import pyguetzli
ModuleNotFoundError: No module named 'pyguetzli'
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.