Giter Site home page Giter Site logo

pysha3 conflict about zksync2-python HOT 5 CLOSED

zksync-sdk avatar zksync-sdk commented on July 20, 2024 1
pysha3 conflict

from zksync2-python.

Comments (5)

Shawnlee101 avatar Shawnlee101 commented on July 20, 2024

当我安装时,我总是收到此错误:错误:无法为 pysha3 构建轮子,这是安装 pyproject.toml 的项目所必需的

我尝试手动安装 pysha3,但也收到此错误。我也创建了一个空的pyproject.toml - 什么都没有

When I installing, I always get this error:ERROR: Could not build wheels for pysha3, which is required to install pyproject.toml-based projects

I tried install pysha3 manually, but also get this error. Also I have created a empty pyproject.toml - nothing

did u sovle it? I have same problem.

from zksync2-python.

Shawnlee101 avatar Shawnlee101 commented on July 20, 2024

当我安装时,我总是收到此错误:错误:无法为 pysha3 构建轮子,这是安装 pyproject.toml 的项目所必需的
我尝试手动安装 pysha3,但也收到此错误。我也创建了一个空的pyproject.toml - 什么都没有

When I installing, I always get this error:ERROR: Could not build wheels for pysha3, which is required to install pyproject.toml-based projects
I tried install pysha3 manually, but also get this error. Also I have created a empty pyproject.toml - nothing

did u sovle it? I have same problem.

I sovled this promble by downloading the cpp-build-tools https://visualstudio.microsoft.com/visual-cpp-build-tools/, download it, restart pc, it works.

from zksync2-python.

ryu666zaki avatar ryu666zaki commented on July 20, 2024

Same problem on Apple Silicon

from zksync2-python.

fala13 avatar fala13 commented on July 20, 2024

creating an environment with python 3.9 or 3.10 worked for me to get around this particular issue (but more down the road in deployment example code..).

First I get
TypeError: Strings must be encoded before hashing
and this is resolved by applying .encode('utf-8') to storage_contract.bytecode, but then I get stuff like
web3.exceptions.ContractLogicError: Failed to serialize transaction: factory dependency #0 is invalid: Bytecode has even number of 32-byte words for my contract with a constructor and web3.exceptions.Web3ValidationError: Could not identify the intended function with name create, positional arguments with type(s) bytes,bytes,strand keyword arguments with type(s){}. for my contract w/o constructor.

from zksync2-python.

BoboTiG avatar BoboTiG commented on July 20, 2024

Fixed by #52.

from zksync2-python.

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.