Updating to 13.24.0 have multiple "no module named 'xxx'"

Hi, I just updated to 13.24.0 and following rmeyer’s guide to migrate to python3.8

I now unable to send email and receive this error when click “send”

ImportError: Module import failed for Communication (frappe.core.doctype.communication.communication Error: No module named 'parse')

I am unable to open auto email report doctype with this error
ImportError: Module import failed for Auto Email Report (frappe.email.doctype.auto_email_report.auto_email_report Error: No module named 'openpyxl')

Installing those requirements resulted that requirements are already satisfied

frappe@localhost:~/frappe-bench$ env/bin/pip install openpyxl
Requirement already satisfied: openpyxl in ./env/lib/python3.8/site-packages (3.0.9)
Requirement already satisfied: et-xmlfile in ./env/lib/python3.8/site-packages (from openpyxl) (1.1.0)
frappe@localhost:~/frappe-bench$ env/bin/pip install parse
Requirement already satisfied: parse in ./env/lib/python3.8/site-packages (1.19.0)

cannot submit sales order with this error
FileNotFoundError: [Errno 2] No such file or directory: 'env/lib/python3.6/site-packages/babel/locale-data'

This is odd since environment already migrated to python3.8

What should I do?

1 Like

Hi @Tej,

Please use pip3.

./env/bin/pip3 install openpyxl

and

./env/bin/pip3 install parse

Use bench setup requirements

Then check it.

Thank You!

1 Like