ModuleNotFoundError: No module named

35

pip install python-docx 
py -m pip install # sit module in cmd
import os,sys
sys.path.append(os.getcwd())
import sys
sys.path.append('..') #parent directory
sys.path.append('/home/model') # abs path
from folderA.folderB.fileA import functionA
export PYTHONPATH="${PYTHONPATH}:/path/to/your/project/"

Comments

Submit
0 Comments