Coder Social home page Coder Social logo

Comments (10)

peterbrittain avatar peterbrittain commented on August 25, 2024

Thanks for the update! I'll wait for an official release and check it still works...

from asciimatics.

 avatar commented on August 25, 2024

@peterbrittain I think it would be in January (But I'm not sure)

from asciimatics.

 avatar commented on August 25, 2024

@peterbrittain the release is here!

from asciimatics.

peterbrittain avatar peterbrittain commented on August 25, 2024

Great! I've just tried installing on CentOS and it worked fine...

Sadly it looks like it's a bit of an issue on Windows, though. Pywin32 does not yet support pypy: https://sourceforge.net/p/pywin32/feature-requests/83/

from asciimatics.

peterbrittain avatar peterbrittain commented on August 25, 2024

Now documented!

from asciimatics.

 avatar commented on August 25, 2024

@peterbrittain also you may try it on PyPy3.5.
just use https://github.com/squeaky-pl/portable-pypy
for any linux distro x86_64

from asciimatics.

peterbrittain avatar peterbrittain commented on August 25, 2024

Sadly it looks like Pillow is incompatible with pypy3. Despite the fact that I know I have zlib installed and have successfully used it on pypy2 and cpython, I get an install failure (saying it can't find zlib) running pip install pillow on pypy3.

from asciimatics.

 avatar commented on August 25, 2024

@peterbrittain it was for me to, it may be a pillow issue too...

from asciimatics.

peterbrittain avatar peterbrittain commented on August 25, 2024

Looks like something very strange in pypy3. I did a little debugging and got the following output:

Looking for zlib
Checking for include file zlib.h in /tmp/pip-build-wg4fbq36/pillow/libImaging
Checking for include file zlib.h in /tmp/pip-build-wg4fbq36/pillow
Checking for include file zlib.h in /usr/include/freetype2
Checking for include file zlib.h in /root/pypy3.5-5.7-beta-linux_x86_64-portable/include
Checking for include file zlib.h in /usr/local/include
Checking for include file zlib.h in /usr/include
Found zlib.h
Couldn't find library z in ['/tmp/pip-build-wg4fbq36/pillow', '/root/pypy3.5-5.7-beta-linux_x86_64-portable/lib', '/lib64', '/usr/lib64', '/usr/local/lib', '/usr/lib', '/lib']

So the problem is that it can't find libz.so in /usr/lib64, which is a shame. Running the Pillow setup manually with some extra debug, I find that pypy is actually doing this:

Using <distutils.unixccompiler.UnixCCompiler object at 0x00007f16f9e47590>
Looking for libz.pypy3-57-x86_64-linux-gnu.so using lib%s%s .pypy3-57-x86_64-linux-gnu.so

Looks like someone is mucking around with the shared object extension somehow.

from asciimatics.

peterbrittain avatar peterbrittain commented on August 25, 2024

And it looks like this is a known issue - see python-pillow/Pillow#2378

from asciimatics.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.