crytic / solc-select

Manage and switch between Solidity compiler versions
GNU Affero General Public License v3.0
758 stars 103 forks source link

win #92

Closed 161424 closed 2 years ago

161424 commented 2 years ago

When I use pip to install in windows, I encounter that the python platform does not have "sys. Platform = =" win * ", and" platform = uppercase platform ". It seems that I am not too good here. Moreover, will it be useful to mention" emscripten - wasm32 "in the manual?

0xicingdeath commented 2 years ago

Hey @161424! Can you share the terminal output that you get from running? It's not fully clear to me what the error is.

I'm also not entirely sure what you mean by emscripten - wasm32?

161424 commented 2 years ago

In line 222 of your solc-select.py file, I need to change it to lowercase to download it correctly, otherwise it is "unsupported platform". "Emscripten - wasm32" in https://docs.soliditylang.org/en/latest/installing-solidity.html#static -Binaries' warning is described

161424 commented 2 years ago

Sorry, it's my problem. I installed it using pip. Maybe the package management of Python platform has not been updated, which leads to a problem. Now the problems are solved for the packages obtained directly using GIT

0xicingdeath commented 2 years ago

If you want to use through pip, I believe you would need to run it through pip install solc-select==1.0.0b1 to get the beta release.

Closing this as it seems resolved – feel free to re-open or open a new issue if you are still experiencing problems.