I am using python to install py-solc-x, but there is an error during installation:
[root@localhost ~]# python3 -m solcx.install v0.4.25
ERROR: Unknown option --version
/usr/local/python3/lib/python3.7/runpy.py:125: RuntimeWarning:
'solcx.install' found in sys.modules after import of package 'solcx', but
prior to execution of 'solcx.install'; this may result in unpredictable
behaviour
warn(RuntimeWarning(msg))
solc, the solidity compiler commandline interface
Version: 0.4.25+commit.59dbf8f1.Linux.g++
This led me to an unknown option error when using solcx:
[root@localhost ~]# python3
Python 3.7.3 (default, Apr 4 2020, 13:17:30)
[GCC 4.8.5 20150623 (Red Hat 4.8.5-39)] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import solcx
ERROR: Unknown option --version
>>> import solcx
>>>
I want to know what is the reason。thankyou all.