How to debug “could not import module” in Python?

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP



How to debug “could not import module” in Python?



I am getting the below error while executing the python script. I am not able to resolve it till yet.



Error



raise LookupError('Error resolving reference %s: could not import
module' % ref) LookupError: Error resolving reference
OneTrack.schedulerJobs:trialEndEmails: could not import module





Is this a Python program that you wrote? Can you share a Minimal, Complete, and Verifiable example?
– Patrick Haugh
Aug 10 at 13:30





Thanks Patrick...I have been advised now that running the script by pointing out to the requirements.txt file would help. Can you please advise how can we run it ?
– sriyam
Aug 10 at 14:44





@sriyam maybe modules listed in the requirements.txt need to be installed? try pip install -r requirements.txt
– davedwards
Aug 10 at 19:52



requirements.txt


pip install -r requirements.txt





Please read Under what circumstances may I add “urgent” or other similar phrases to my question, in order to obtain faster answers? - the summary is that this is not an ideal way to address volunteers, and is probably counterproductive to obtaining answers. Please refrain from adding this to your questions.
– halfer
Aug 10 at 22:22





Thanks Patrick a lot for resolving the issue..Now the actual issue is coming which is ValueSrror:async_mode specified
– sriyam
Aug 11 at 2:43









By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Popular posts from this blog

Firebase Auth - with Email and Password - Check user already registered

Dynamically update html content plain JS

How to determine optimal route across keyboard