steps taken
navigated from the terminal to lib folder I created
did
pip install a_module_name -t .
in the terminalwent to file.py I am using module_name in, and put :
import os
import sys
# Fix path to library
sys.path.append(os.path.join(os.path.dirname(__file__), '/lib'))
import a_module_name
I'm getting an unresolved import error... How to fix?
My directory looks like:
/lib/a_module_name.py
file.py