smartcontractkit / full-blockchain-solidity-course-py

Ultimate Solidity, Blockchain, and Smart Contract - Beginner to Expert Full Course | Python Edition
MIT License
10.72k stars 2.89k forks source link

Lesson 4 venv path problem #152

Open Khalid0md opened 2 years ago

Khalid0md commented 2 years ago

Hello, I get the following error when trying to run python deploy.py (i have venv downloaded and activated):

/Library/Frameworks/Python.framework/Versions/3.9/bin/python3: can't open file '/Users/khalidhamid/demos/web3_py_simple_storage/deploy.py': [Errno 2] No such file or directory

This is how my files are saved:

Screen Shot 2021-10-07 at 12 28 02 PM

y

Khalid0md commented 2 years ago

@PatrickAlphaC you were right, I'm still not past the initial hump of installing and optimzing paths

PatrickAlphaC commented 2 years ago

@Khalid0md no worries, you're doing the right thing asking. You're likely not running this script/command in the correct folder. Could you make sure you're in the web3_py_simple_storage folder and run your command? I'm assuming you're running python deploy.py yes?

Anu-srinivasan commented 2 years ago

![Uploading lesson 4 python.png…]()

Anu-srinivasan commented 2 years ago

I have enclosed screenshot. I am new to programming. Any errors , please guide me.