First and foremost, as somebody that oft merely wants to get what I am looking for, I appreciate the fact that y'all may not want to read of the introduction.  If that is the case, just bound straight to the meat and potatoes below.  For the rest of yous, I volition go on information technology short and sweetness.

I recently decided to accept a computer scientific discipline course.  For the final few years I accept been finding that much of our work ends at the point in which a client needs a complicated technology solution.  We have had some successes in designing applications and having them built, however one matter that we accept learned is that we have  a not bad deal to learn.  The earth of software technology is nebulous.  What seems eloquent and unproblematic on the outside can be incredibly complicated and hectic within.

I have always been a PC person.  I remember this is due to the fact that much of the business globe runs on them.  I brutal into it by default.  Programmers live on several different planets.  Planet Mac is for those that are looking for a sleek well designed automobile that will match their sofa.  Linux is an entire galaxy of operating systems ranging with users that may simply want a bit more control over their command prompt to others that may be upwardly to nefarious activities such every bit hacking the DNC or blackmailing Kevin Spacey.

I live on planet PC.  If you're merely looking for a overnice suite of business intelligence software information technology's great.  If you're trying to learn web development it is somewhere between atrocious and catastrophic.  Its a world of ridicule.  Nobody on this planet seems to know how anything works.  Y'all tin call somebody from one of the other planets for assist, but you lot're likely to exist met with ridicule.  "Windows is stupid."  "Perhaps you lot should become a real operating arrangement."

Everybody has their ain complicated work around for tasks that on the surface experience similar they should be simple.  Case in point:  go await for some information about how to install Passlib and Bcrypt on windows.  The best tutorials assume a certain amount of knowledge about the command prompt, an esoteric black hole.  The worst are marred with comments sections total of frustrated users.  I thought I would merely share how I got this library installed.  Hopefully it will save somebody an hour of their life in the time to come.

The Meat and Potatoes

  1. Change your surround settings

    1. Open up the Control Console
      1. You lot can do this by typing "Control Console" in the Windows search bar (lower left corner of your screen)control panel
    2. Navigate to System and Security system and security
    3. Navigate to Organisation system
    4. Navigate to Avant-garde system settings to open up the System Backdrop boxsystem nav
    5. Navigate to the Advanced tab and click Environment Variables system properties
    6. Under System Variables highlight the Path variable and click Editsystem variables
    7. In the Edit environment variable popup, click New and and then enter the path to the python folder on your computer.  This could cease upward in a number of places, I had to search for python in Windows explorer in order to find it.  My path was:c:\Users\Chris\AppData\Local\Programs\Python\Python36-32edit variables
    8. Add together another path to the scripts binder within your python folder.  this should exist the aforementioned path with \scripts at the cease of it.  Mine was: c:\Users\Chris\AppData\Local\Programs\Python\Python36-32\scripts
  2. Install pip for Python

    1. Navigate to here to the pip download page
    2. Navigate to the I nstallation pagepip installation
    3. Download the go-pip.py package (You have to right click and click "Save link equally")get pip
      1. Merely click on the downloaded package in your browser to run itpip download.PNG
  3. Download and install the pip source package

    1. It tin can be found here.source.PNG
    2. Use Git Bash to unzip the parcel.  There are other means of unzipping tar files, I just found this easiest based on the fact that I already had Git Fustigate.  You can download it hither
      1. Navigate to where you downloaded bundle ( ex: cd ./downloads) to and blazon tar –xvzf passlib-1.vii.one.tar.gz
    3. Install the package with Windows Command Prompt
      1. You tin can exercise this by typing command in the windows search bar
      2. Navigate to where you unzipped the package (ex: cd ./downloads/passlib-ane.7.1)
      3. Blazon python setup.py install
      4. Close command prompt
  4. Install the Bcrypt library

    1. Reopen Control Pompt as an ambassador
      1. Type command in the windows search bar
      2. right click Command Prompt
      3. Choose Run every bit administrator
    2. In the Command Prompt, typepip install passlib[bcrypt]

That was piece of cake right?  Hopefully this saves a novice developer some of the headache that I went through yesterday.