Skip to content

solcx module not found #135

@JMiddey

Description

@JMiddey

Environment information

  • py-solc-x Version: 1.1.1
  • solc Version: x.x.x
  • Python Version: 3.10.1 & python 2.7.18
  • OS: osx/linux/win Mac

What was wrong?

solcx module not found and cannot run command solcx

Please include information like:

  • what command you ran: solcx & ran my .py file where it had import solcx at the top, giving the error of module not found
    *joe@Joes-MacBook-Pro web3_py_simple_storage % solcx
    zsh: command not found: solcx
    joe@Joes-MacBook-Pro web3_py_simple_storage % pip list
    Package Version

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions