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

solcx module not found #135

Open JMiddey opened 2 years ago

JMiddey commented 2 years ago

Environment information

What was wrong?

solcx module not found and cannot run command solcx

Please include information like:

How can it be fixed?

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

JMiddey commented 2 years ago

Hi I am still having trouble with this, I have followed both ways of installing (using the git clone and the npm install) and my terminal is still unable to find the module, even when I cd py-solc-x and use the pytest command it says command not found pytest

3preston commented 2 years ago

Having this same issue. Did you find any resolution?

lasborne commented 2 years ago

I am having the same issue at the moment, i won't hesitate to share if i find a worthy solution

TekyaygilFethi commented 2 years ago

Could you please look to where it installed via executing pip3 show py-solc-x and pip3 show solc commands? In my case I was using Python 3.10 but package has been installed under Python 3.8 which I had to change interpreter to Python 3.8 in Visual Studio Code to get things done.

JohnEMagee commented 2 years ago

In case people are still having issues notice that this build, and a lot of stuff liks this has issues on the new M1 mac chips. I don't fully get why but it's not testable yet (for some reason). I am running the youtube fcc tutorial and it took me a long time to get it to work. I can ONLY get the current versions of solidity (0.8.12) to compile. I couldn't get older versions to fully compile in any way.