Python Forum
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
My import not working
#5
Hello,

You need to start reading the error messages, they will always tell you what's wrong (with blatant errors).
The trace shows the last few commands that were executed, and the final one shows the line where the system crashed.


Quote:
NameError: name 'envoi_mon_courier' is not defined

This certainly is at least issue number 1.

it requires the name that you assigned to the import:
MonCourier.envoi_mon_courier
Larz60+
Reply


Messages In This Thread
My import not working - by man_in_the_hill - Oct-03-2016, 11:43 AM
RE: My import not working - by Larz60+ - Oct-03-2016, 04:34 PM
RE: My import not working - by man_in_the_hill - Oct-03-2016, 08:22 PM
RE: My import not working - by j.crater - Oct-03-2016, 10:43 PM
RE: My import not working - by Larz60+ - Oct-03-2016, 10:48 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Pathlib import not working chriswrcg 9 3,872 May-29-2022, 07:37 PM
Last Post: snippsat
  How to keep a loop containing a web import working in python executable? coder1384 3 2,931 Feb-22-2020, 06:49 PM
Last Post: snippsat
  import logging not working segerhult 3 13,324 Feb-07-2019, 05:31 PM
Last Post: buran
  CSV import is not working gehrenfeld 7 4,313 Dec-12-2018, 12:26 PM
Last Post: gehrenfeld
  import keyboard module doesn't get found - working on laptop but no on raspberry pi.. HANSJORG2 1 8,236 Mar-16-2018, 02:48 PM
Last Post: sparkz_alot
  import not working properly mepyyeti 5 4,474 Jan-18-2018, 07:08 AM
Last Post: metulburr
  import commands modules not working in python 3.6.0 bmohanraj91 2 17,731 May-01-2017, 10:59 AM
Last Post: bmohanraj91
  import antigravity not working Skaperen 8 7,547 Feb-19-2017, 05:49 AM
Last Post: Skaperen

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020