Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trialjohn larson
16,594 PointsAdd C:\>sqlite in your PATH environment variable
I'm trying to install sqlite and this part of the instructions " Add C:>sqlite in your PATH environment variable " is meaningless to me. I thought it might mean changing to that directory, but that doesn't seem to be it. So.. what am I supposed to do with " Add C:>sqlite in your PATH environment variable" ? Thank you.
john larson
16,594 PointsJason, yes I'm trying to install it on windows. Although Ryan leads me to believe that it should already be installed with Python. So I'll try to do what he said. Thanks Ryan, thanks Jason
1 Answer
Ryan S
27,276 PointsHi John,
If I'm not mistaken, Sqlite is included in the Python standard library so if you are planning to use it for the Python Databases course then you should be able to just go ahead without installing anything. MySQL and PostgreSQL, however, would require an installation.
Ryan S
27,276 PointsAnd just to add on about the PATH variable. In Windows, the PATH variable can be found in your Environment Variables in the Control Panel. I'm no expert on the subject, but I can describe it by using Python as an example. When you install Python 3 on your machine, you need to add it to the PATH (its an option in the installation, I believe). This lets you access the python shell from any directory in your command prompt. It doesn't matter where Python was actually installed on your computer. So when I installed MySQL for example, I had to manually add it to the PATH so I could access the MySQL shell from my command prompt in any directory.
Your PATH variable can be found in your System Properties in the Control Panel. Click on the advanced tab and then "Environment Variables"
Then if you select PATH and click "Edit", you will see a single-line list of various directories. You'd simply add a comma and add the directory of your program of choice using the same format as the previous entries.
Jason Anello
Courses Plus Student 94,610 PointsJason Anello
Courses Plus Student 94,610 PointsHi John,
What instructions are you referring to? Are you trying to install sqlite on windows?