Python Forum
Error in python code 'import callbot'
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Error in python code 'import callbot'
#1
I am having trouble making the ode work at this site.

https://www.data-blogger.com/2017/11/01/...in-python/

Everything works until i get down to the line:


from callbot import CallBot


The interpreter says that it cannot find the module callbot. There is no module available called callbot.

Now when I try to install callbot like so

pip install callbot

conda install callbot

both fail. This is how I import all modules until this error occurred.


There is a callbot function in the python code itself towards the end. But this is actually in the python code so why do I need to import that?

I am somewhat green in importing callbot or module in general unless it can be installed as shown above.

So how do I modify the program to eliminate the error?

Any help appreciated. Thanks in advance.

Respectfully,

Lou Reed
Reply


Messages In This Thread
Error in python code 'import callbot' - by Lou_Reed - Jan-03-2020, 03:53 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Error on import: SyntaxError: source code string cannot contain null bytes kirkwilliams2049 7 7,246 Aug-03-2023, 06:00 PM
Last Post: Gribouillis
  Code error from Fundamentals of Python Programming van Richard L. Halterman Heidi 12 1,823 Jul-25-2023, 10:32 PM
Last Post: Skaperen
  Syntax error while executing the Python code in Linux DivAsh 8 1,787 Jul-19-2023, 06:27 PM
Last Post: Lahearle
  Compiles Python code with no error but giving out no output - what's wrong with it? pythonflea 6 1,647 Mar-27-2023, 07:38 AM
Last Post: buran
  import module error tantony 5 3,579 Dec-15-2022, 01:55 PM
Last Post: Lauraburmrs
  Error in if-then-else python code Led_Zeppelin 6 2,475 Jul-27-2022, 07:53 PM
Last Post: deanhystad
  Cryptic Error with import statement Led_Zeppelin 2 2,608 Jan-11-2022, 01:13 PM
Last Post: Led_Zeppelin
  Install any library via pip get an error cannot import name 'SCHEME_KEYS' from 'pip. Anldra12 2 10,788 Jan-04-2022, 01:05 PM
Last Post: Anldra12
  import module with syntax error Skaperen 7 5,422 Jun-22-2021, 10:38 AM
Last Post: Skaperen
  Import Error Christian 3 3,263 Apr-17-2021, 11:27 PM
Last Post: bowlofred

Forum Jump:

User Panel Messages

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