![]() ![]() ![]() I need both, because the python executable is in the first directory, and the pip executable is in the second.Īlternatively, change directory in your terminal to where the pip executable is: cd \Python\Python37\Scripts. I'm running Windows, and I have these two directories in my PATH for Python 3: C:\Users\Admin\AppData\Local\Programs\Python\Python37\Ĭ:\Users\Admin\AppData\Local\Programs\Python\Python37\Scripts I would recommend editing your PATH so the Python 3 directories are before your Python 2 directories. It executes the first match and stops looking. When you enter python into your terminal, it'll look for an executable named python first in the current working directory, and then through each of the directories in your PATH. It seems that when you reinstalled Python 2.7, its directories were added to your PATH environment variable before the Python 3 directories. How do I now run the pip installer from the command line to install / direct the BS4 package in / to the python3.6.8 library To get back to your normal terminal, enter quit(). That's because the commands you're entering are being interpreted by Python, not your terminal. ![]() If I type "python3" into the command line in an attempt to get to v3.6.8 I get: Python 3.6.8 (v3.6.8:3c6b436a57, Dec 24 2018, 02:04:31)Įverything I type after that gives me either a syntax error It's probably really straight forward, however, I'm a bit of a newb here. When I try to change the directory to the Downloads folder, I get this: > cd /Users/User/DownloadsĬan anyone advise what the issue is with the Command line? And moreover how do I now run the pip installer from the command line to install / direct the BS4 package in / to the python3.6.8 library? It returns: Traceback (most recent call last): Type "help", "copyright", "credits" or "license" for more information.Įverything I type after that gives me either a syntax error or if I type: I've updated the Setuptools to the most recent spec using: python -m pip install -upgrade pip setuptools wheel The problem is that my Terminal indicates python v2.7.15 and is installing BS4 somewhere in that library but I'm needing it for python v3.6.8. I also have Python 3.6.8 loaded on the same computer, and am working my way through "Automate the Boring Stuff" which requires Beautiful Soup for web scraping. You can also use the VMware or Virtualbox running Linux or Windows and then execute the script above.I have just reinstalled python 2.7 onto my macbook pro (running OS 10.13.6 High Sierra) as I had inadvertently removed it, not realising that it was required. We can use the Windows 10 and Linux machine to create the USB macOS installer. This script is very helpful for us who don’t own a Mac or existing Hackintosh. Python macrecovery.py -b Mac-7BA5B2DFE22DDD8C -m 00000000000KXPG00 download ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |