Python Forum
Trouble executing Python script
Thread Rating:
  • 1 Vote(s) - 4 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Trouble executing Python script
#3
The problem has been resolved. it turns out to be an issue with how I installed the Adafruit library.

Quote:Embarrassment here. I may have just stumbled across a solution to my problem. It seems that when I run the command

python AdminConsole_v2.py (that's python not python3)

all seems to work. Python3 seems to start the work but barfs on the library part. Not sure why, but feel I can move forward anyway.

PS: adafruit_support_carter has also identified the above, and suggests that I had only setup the library to work in Python2. I have confirmed this.
Reply


Messages In This Thread
Trouble executing Python script - by NewburyPi - Sep-07-2017, 03:47 PM
RE: Trouble executing Python script - by Larz60+ - Sep-07-2017, 05:24 PM
RE: Trouble executing Python script - by NewburyPi - Sep-07-2017, 07:33 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Trouble with installing python domingo251 2 720 Sep-23-2023, 12:03 AM
Last Post: ICanIBB
  Syntax error while executing the Python code in Linux DivAsh 8 2,097 Jul-19-2023, 06:27 PM
Last Post: Lahearle
  Is there a *.bat DOS batch script to *.py Python Script converter? pstein 3 3,866 Jun-29-2023, 11:57 AM
Last Post: gologica
  Trouble with threading and reading variable from a different script Lembas 14 3,495 Apr-26-2023, 11:21 PM
Last Post: Lembas
Question How can I import a variable from another script without executing it ThomasFab 12 8,474 May-06-2022, 03:21 PM
Last Post: bowlofred
  Problem executing a script on a remote host tester_V 3 2,667 Sep-26-2021, 04:25 AM
Last Post: tester_V
  Facing error while executing below Python code ramu4651 1 5,951 Jan-26-2021, 06:40 PM
Last Post: ibreeden
  How to kill a bash script running as root from a python script? jc_lafleur 4 6,234 Jun-26-2020, 10:50 PM
Last Post: jc_lafleur
  crontab on RHEL7 not calling python script wrapped in shell script benthomson 1 2,440 May-28-2020, 05:27 PM
Last Post: micseydel
  New to python, having trouble with an exercise Salkay 3 2,300 Feb-18-2020, 01:42 AM
Last Post: Salkay

Forum Jump:

User Panel Messages

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