Open JMiddey opened 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
Having this same issue. Did you find any resolution?
I am having the same issue at the moment, i won't hesitate to share if i find a worthy solution
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.
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.
Environment information
py-solc-x
Version: 1.1.1solc
Version: x.x.xWhat was wrong?
solcx module not found and cannot run command solcx
Please include information like:
aiohttp 3.8.1 aiosignal 1.2.0 argcomplete 1.12.3 async-timeout 4.0.1 attrs 21.2.0 base58 2.1.1 bitarray 1.2.2 black 21.12b0 certifi 2021.10.8 charset-normalizer 2.0.9 click 8.0.3 cytoolz 0.11.2 eth-abi 2.1.1 eth-account 0.5.6 eth-hash 0.3.2 eth-keyfile 0.5.1 eth-keys 0.3.3 eth-rlp 0.2.1 eth-typing 2.2.2 eth-utils 1.10.0 frozenlist 1.2.0 hexbytes 0.2.2 idna 3.3 ipfshttpclient 0.8.0a2 jsonschema 3.2.0 lru-dict 1.1.7 multiaddr 0.0.9 multidict 5.2.0 mypy-extensions 0.4.3 netaddr 0.8.0 packaging 21.3 parsimonious 0.8.1 pathspec 0.9.0 pip 21.3.1 pipx 0.16.4 platformdirs 2.4.0 protobuf 3.19.1 py-solc-x 1.1.1 pycryptodome 3.12.0 pyparsing 3.0.6 pyrsistent 0.18.0 python-dotenv 0.19.2 requests 2.26.0 rlp 2.0.1 semantic-version 2.8.5 setuptools 58.1.0 six 1.16.0 solc 0.0.0a0 tomli 1.2.2 toolz 0.11.1 typing_extensions 4.0.1 urllib3 1.26.7 userpath 1.7.0 varint 1.0.2 web3 5.25.0 websockets 9.1 wheel 0.37.0 yarl 1.7.2 joe@Joes-MacBook-Pro web3_py_simple_storage % python deploy.py Traceback (most recent call last): File "deploy.py", line 1, in
import solcx
ImportError: No module named solcx
How can it be fixed?
Fill this in if you know how the bug could be fixed.