[Errno 2] No such file or directory

  1. Describe the issue briefly
    After downloading the image through image url

python3 share_review.py

Is not working
its showing :::- python3: can’t open file ‘share_review.py’
2. How much time have you spent debugging this issue?
(Please spend at least 15 minutes to resolve the issue on your own before posting a new topic here)

  1. What is your hypothesis?

Please make sure you are entering the write path. Please ensure you are giving right arguments to cli. Do check in which directory you are executing code.

Are you able to solve this?

python3 share_review.py --image ~/E/Mexican-hot-fudge-sundae-1.jpg --message ‘This is manizey’
python3: can’t open file ‘share_review.py’: [Errno 2] No such file or directory
my directory is correct still why this error?

What is E in this & In which directory you are executing python3 share_review.py --image ~/E/Mexican-hot-fudge-sundae-1.jpg --message ‘This is manizey’'?

sir my downloaded image is present in E. and python3 is present in C.

@2016uee Please message me your Username on Crio Workspace on Slack (Himanshu [Crio TA]).

I have reviewed your work. You are doing great. You are executing share_review.py from wrong directory. Please Review your working directory in terminal. Don’t Use tilt (~) before image path.

1 Like