I encrypted all the .py files in the code folder using the following script. However, when running the script, I encountered a "library not found" error for some library files that are located in the current directory. What could be the reason for this error and how can I resolve it?
#!/bin/bash
# set the path to the code folder
CODE_FOLDER=./code
# loop through all .py files in the code folder and compile them
for file in $(find $CODE_FOLDER -type f -name "*.py"); do
python3 pyconcrete-admin.py compile --source=$file --pye --remove-py --remove-pyc
done
I encrypted all the .py files in the code folder using the following script. However, when running the script, I encountered a "library not found" error for some library files that are located in the current directory. What could be the reason for this error and how can I resolve it?