Skip to content
Discussion options

You must be logged in to vote

It would appear to me that there is an issue with Visual Studio Code for Mac:
"On macOS, selecting venv interpreter actually selects system interpreter #13603"
microsoft/vscode-python#13603

In the end, I installed "Python Environment Manager" v1.0.3 in Visual Studio Code
and then I had to chose the correct VirtualEnvWrapper:

I then needed to run:

pip install web3
pip install py-solc-x
pip install python-dotenv 
python deploy.py

It finally worked!

Installing...
Deploying Contract!
Waiting for transaction to finish...
Done! Contract deployed to 0x2DD458465bD26F3a8177336377677C6B93B29896
Initial Stored Value 0
Updating stored Value...
15

So the issue was indeed with VSC using the wrong v…

Replies: 4 comments 4 replies

Comment options

You must be logged in to vote
1 reply
@cromewar
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
2 replies
@cyberflipped
Comment options

@cromewar
Comment options

Comment options

You must be logged in to vote
1 reply
@cromewar
Comment options

Answer selected by cyberflipped
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants