I'm trying to Install PIP for python 3.6 and I've looked over YouTube for tutorials but all of them seem to be out of date and none of them have seemed to work. Any information would be helpful so I can carry on with my project.
相关问题
- how to define constructor for Python's new Nam
- streaming md5sum of contents of a large remote tar
- How to get the background from multiple images by
- Evil ctypes hack in python
- Correctly parse PDF paragraphs with Python
Since python 3.4 pip is included in the installation of python.
There is an issue with downloading and installing Python 3.6. Unchecking pip in the installation prevents the issue. So pip is not given in every installation.
I just successfully installed a package for excel. After installing the
python 3.6
, you have to download the desired package, then install. For eg,python.exe -m pip download openpyxl==2.1.4
python.exe -m pip install openpyxl==2.1.4
I have in this moment install the bs4 with python 3.6.3 on Windows.
with the syntax like the user post below:
I just successfully installed a package for excel. After installing the python 3.6, you have to download the desired package, then install. For eg,
How did you install Python, and are you using a virtual environment?
As you specifically mentioned Python 3.6, and you have not marked this as answered I will make a guess that you might have installed it using sudo add-apt-repository ppa:jonathonf/python-3.6, as this is a common way to install Python 3.6 on a Unix OS that doesn't have a native 3.6 package. If this is the case the correct way to install pip is as follows ....
Step 1) Make a Virtual Environment with Python 3.6 ...
Step 2) Activate your virtual environemnt ...
Step 3) Install pip into your environemnt ...
There are situations when your
pip
doesn't get downloaded along with python installation. Even your whole script folder can be empty.You can do so manually as well.
Just head to Command Prompt and type
python -m ensurepip --default-pip
Press Enter.Make sure that value of path variable is updated.
This will do the Trick