Code Monkey home page Code Monkey logo

Comments (6)

MyZhangZzz avatar MyZhangZzz commented on August 11, 2024 3

我今天有碰到类似的问题,不是上面一模一样的问题,但是也是和solc有关。
问题:代码运行无法将CommitteePrecompiled.sol文件编译成abi文件
原因:python-sdk/client_config.py中的solc_path不正确。
运行bash init_env.sh -i时 install solc into bin/solc/v0.4.25/solc,但client_config.py中定义为bin/solc/solc.exe,改为bin/solc/v0.4.25/solc即可

from bflc-demo.

iammcy avatar iammcy commented on August 11, 2024

您好!请问有用这个命令bash init_env.sh -i安装了solc编译器了吗?请检查一下

from bflc-demo.

FanxyChildxxx avatar FanxyChildxxx commented on August 11, 2024

image
应该是安装了。又重新按步骤执行了一下python-sdk的部分,但还是报相同的错

from bflc-demo.

iammcy avatar iammcy commented on August 11, 2024

您好!我之前没遇到过这个错误,你可以邮件联系我帮你详细看看

from bflc-demo.

ddc123456 avatar ddc123456 commented on August 11, 2024

请问这个问题解决了吗?是什么原因引起的?

from bflc-demo.

PengchengUp avatar PengchengUp commented on August 11, 2024

我今天有碰到类似的问题,不是上面一模一样的问题,但是也是和solc有关。 问题:代码运行无法将CommitteePrecompiled.sol文件编译成abi文件 原因:python-sdk/client_config.py中的solc_path不正确。 运行bash init_env.sh -i时 install solc into bin/solc/v0.4.25/solc,但client_config.py中定义为bin/solc/solc.exe,改为bin/solc/v0.4.25/solc即可

解决了,非常感谢!!!

from bflc-demo.

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.