Python Forum
Absolute paths in subprocess - file not found
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Absolute paths in subprocess - file not found
#2
Why are you using a subprocess? If you really plan to do your query as a subprocess why are you importing sqlite3?

What is sqlite3? According to the subprocess.run() command, this is the name of some executable that you want to run. I don't have a program named sqlite3.exe on my computer. Do you? If you have such a file, where is it? It needs to be on the windows PATH, or you need to provide a complete path.
Reply


Messages In This Thread
RE: Absolute paths in subprocess - file not found - by deanhystad - Jan-28-2024, 05:35 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  file open "file not found error" shanoger 8 1,446 Dec-14-2023, 08:03 AM
Last Post: shanoger
  Navigating file directories and paths inside Jupyter Notebook Mark17 5 914 Oct-29-2023, 12:40 PM
Last Post: Mark17
  File not found error saisankalpj 10 4,143 Jul-04-2022, 07:57 AM
Last Post: saisankalpj
  pdf2image, poppler and paths jehoshua 18 15,808 Jun-14-2022, 06:38 AM
Last Post: jehoshua
  Windows paths issue otalado 3 1,567 May-29-2022, 09:11 AM
Last Post: snippsat
  How to run a particular file in subprocess Shiri 5 1,854 Nov-24-2021, 09:29 AM
Last Post: ghoul
  Subprocess.Popen() not working when reading file path from csv file herwin 13 15,737 May-07-2021, 03:26 PM
Last Post: herwin
  automatically get absolute paths oclmedyb 1 2,208 Mar-11-2021, 04:31 PM
Last Post: deanhystad
  How can I found how many numbers are there in a Collatz Sequence that I found? cananb 2 2,641 Nov-23-2020, 05:15 PM
Last Post: cananb
  subprocess call cannot find the file specified RRR 6 17,066 Oct-15-2020, 11:29 AM
Last Post: RRR

Forum Jump:

User Panel Messages

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