SQLite User Forum

sqlite does not work (allegedly)
Login

sqlite does not work (allegedly)

(1) By Larry Brasfield (larrybr) on 2022-11-14 19:46:44 [link] [source]

Quotes in this post are translated from fragments of one recently rejected in moderation, titled "sqlite не работает." Most of that post was in a language I do not understand and expect few others here could understand.

Hi encountered such a problem in vs.code in the terminal does not work in django sqlite3, removes such an error

In future posts here, please use English, or some approximation of it. Most of the reason your post sat in moderation for a day is because (1) It is difficult or impossible for moderators to approve what they cannot understand; (2) English is much more commonly understood, even among those for whom it is not their first language; and (3) the post content (once semi-understood) did not show that any serious effort had yet been made to solve or even understand the presented problem.

...sqlite3: The name "sqlite3" is not recognized as the name of the commandlet, function, script file or the program being executed. Check the spelling of the name, as well as the presence and correctness of the path, then try again.

It appears that you have, in some manner, asked your operating system to find and execute something that might be invoked from a shell as "sqlite3 ...". On most operating systems, when an ostensible executable name is given without an absolute pathname, the value of an environment variable named "PATH" is taken to name directories in which the executable name might be found, and those are searched. This search has failed to find "sqlite3" (or "sqlite3.exe") in that way as naming an executable program. Your solutions include: Provide an absolute pathname for your executable; modify the environment variable known as "PATH" for at least the process which instigated the failed search so that its value contains a directory in which "sqlite3.exe" can be found; or more complicated alterations.

The error messages you got could have been excellent clues as to what went wrong. Often, a web search for the exact text of error messages will turn up an explanation of why the error occurs. You should try that before claiming that some software is malfunctioning. It will save time and embarrassment.

Your choice of thread title, "sqlite does not work" (translated to English) is false and poorly chosen. Good titles give some hint to others regarding the nature of the post, making it possibly useful to others in the future or allowing others to efficiently recognize it as not useful. If you are to get very far in the technical world, you should come to understand that "does not work" conveys virtually nothing useful. It is usually recognized as a form of saying "I am confused and frustrated and cannot bother to lay out my difficulties."

(2.1) By jose isaias cabrera (jicman) on 2022-11-14 20:17:40 edited from 2.0 in reply to 1 [source]

Edited:

I found this using duckduckgo.

(3) By Keith Medcalf (kmedcalf) on 2022-11-14 23:15:34 in reply to 1 [link] [source]

Plus you have to close and re-open (every running process) if you modify the root environment in order for the changes made to the root environment to propagte to the process.

That is to say that the environment of a process is set at the time the process is created and modifying the parent envoronment will have no affect on children already created.