Open sabotagebeats opened 3 years ago
watch https://github.com/ethereum/py-evm/pull/2021 for the release of the fix upstream that makes blake2b-py
an optional dependency
I think you have the wrong PR @fubuloubu
@carver you linked me to PR 2021 here: https://github.com/ethereum/py-evm/pull/2012#issuecomment-912625225
That release is a blocker for Windows support since no blake2b-py
distributions exist for Windows.
As of PR 2012 being merged, the install is now optional, however it is not released yet through PyPI
Ah, right I remember now. It's not that that PR has anything to do with blake2b-py, just that it is blocking the next release of py-evm. 👍🏻
rlp
got released in a few months after this... @sabotagebeats Are we able to close this issue? Does it work on the Raspberry pi now?
rlp
got released in a few months after this... @sabotagebeats Are we able to close this issue? Does it work on the Raspberry pi now?
I'll give it a shot and see if it works :)
generating cffi module 'build/temp.linux-armv7l-cpython-37/pygit2._libgit2.c'
creating build/temp.linux-armv7l-cpython-37
building 'pygit2._pygit2' extension
creating build/temp.linux-armv7l-cpython-37/src
arm-linux-gnueabihf-gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g -flto -fuse-linker-plugin -ffat-lto-objects -fPIC -I/usr/local/include -I/usr/include/python3.7m -c src/blob.c -o build/temp.linux-armv7l-cpython-37/src/blob.o
In file included from src/blob.c:30:
src/diff.h:33:10: fatal error: git2.h: No such file or directory
#include <git2.h>
^~~~~~~~
compilation terminated.
error: command '/usr/bin/arm-linux-gnueabihf-gcc' failed with exit code 1
----------------------------------------
Failed building wheel for pygit2
I ran into this error while building but then hangs on numpy install
Failed building wheel for pygit2
git
is required to install ape I think. Is git
installed on your rasp pi?
Failed building wheel for pygit2
git
is required to install ape I think. Isgit
installed on your rasp pi?
yes git is, and then in the end the process fails with
flto -fuse-linker-plugin -ffat-lto-objects -fPIC -I/usr/local/include -I/usr/include/python3.7m -c src/blob.c -o build/temp.linux-armv7l-cpython-37/src/blob.o
In file included from src/blob.c:30:
src/diff.h:33:10: fatal error: git2.h: No such file or directory
#include <git2.h>
^~~~~~~~
compilation terminated.
error: command '/usr/bin/arm-linux-gnueabihf-gcc' failed with exit code 1
----------------------------------------
Command "/usr/bin/python3 -u -c "import setuptools, tokenize;__file__='/tmp/pip-install-lt0oifiz/pygit2/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record /tmp/pip-record-d7m_32ih/install-record.txt --single-version-externally-managed --compile --user --prefix=" failed with error code 1 in /tmp/pip-install-lt0oifiz/pygit2/
It needs libgit2
so you'd have to instal that first
I've figured out this is because libffi7 is not installed because it requires libgcc-s1. working on these issues and will try to produce reproducible steps if I can get this to work.
Environment information
ape
and plugin versions: won't installPython 3.8.10
What went wrong?
How can it be fixed?
looks like a version issue with
blake2b-py