ModuleNotFoundError: No module named 'solcx' #510
-
I have ran pip3 install py-solc-x --user to install py-solc-x `from solcx import compile_standard, install_solc import os with open("./SimpleStorage.sol", "r") as file: compile_sol = compile_standard( print(compile_sol)` can anyone help? |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 16 replies
-
I uninstalled and re-installed py-solc-x, and it worked. |
Beta Was this translation helpful? Give feedback.
-
I resolved this issue by using the command python3 deploy.py instead of python deploy.py . |
Beta Was this translation helpful? Give feedback.
-
Good job! Thanks for sharing.
Get Outlook for iOS<https://aka.ms/o0ukef>
…________________________________
From: Spencer Goff ***@***.***>
Sent: Monday, January 10, 2022 8:47:18 AM
To: smartcontractkit/full-blockchain-solidity-course-py ***@***.***>
Cc: weilainicolas ***@***.***>; Author ***@***.***>
Subject: Re: [smartcontractkit/full-blockchain-solidity-course-py] ModuleNotFoundError: No module named 'solcx' (Discussion #510)
I resolved this issue by using the command python3 deploy.py instead of python deploy.py .
—
Reply to this email directly, view it on GitHub<#510 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AHU6KWEF46DF4WCXISULRUDUVMERNANCNFSM5JQMWMMQ>.
Triage notifications on the go with GitHub Mobile for iOS<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675> or Android<https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>.
You are receiving this because you authored the thread.Message ID: ***@***.***>
|
Beta Was this translation helpful? Give feedback.
I uninstalled and re-installed py-solc-x, and it worked.