Code not able to run - import command not found

Hi,

Trying to run the file with all the permission granted but encounter error;

Hello @vanessawpy ,

It looks like you’re missing this line at the beginning of your script:

#!/usr/bin/env python

This line is important to let the system know this script should be executed using the Python interpreter. If you add this line at the beginning of your script it should work fine.

This topic was automatically closed 5 days after the last reply. New replies are no longer allowed.