ApeWorX / py-solc-x

Python wrapper and version management tool for the solc Solidity compiler.
https://solcx.readthedocs.io/
MIT License
141 stars 49 forks source link

Error while running analyze (solc missing) #150

Closed xale76 closed 11 months ago

xale76 commented 2 years ago

Environment information

What was wrong?

Please include information like:

How can it be fixed?

Fill this in if you know how the bug could be fixed.

xale76 commented 2 years ago

Hello I cannot run my mythx analyze I got

Usage: mythx analyze [OPTIONS] [TARGET]...

Error: Error installing solc version v0.8.4: 404 error when attempting to download from https://github.com/ethereum/solidity/releases/download/v0.8.4/solidity-windows.zip - are you sure this version of solidity is available?

py-solc-x: ??? solc: I have truffle and I use ^0.8.4 Python: 3.10.4 OS: windows 10

I want to use truffle solc but I cannot understand how to find it! or download but the link seems is not existing

antazoey commented 11 months ago

If you using truffle solc, you likely are not using this package. This is a python package! We also use the tar ball links so I don' t think your issue is coming from us, or else I need more info.

The link this package would use is https://github.com/ethereum/solidity/releases/download/v0.8.4/solidity_0.8.4.tar.gz