pip

Python - installing libraries from github

本小妞迷上赌 提交于 2021-01-29 07:58:55
问题 I am trying to work with the newest Azure SDK library. I originally installed the libraries using PIP and haven't had any issues. Found a newer feature that was released but I didn't have it available in my library. So I tried to re-install the libraries via PIP. No good... Then I went through the process of cloning the repo from Github and then installing it from source. It went through without errors, but the new features weren't available to my code. Digging into the downloaded code, I can

Installing python packages in virtual environment [duplicate]

﹥>﹥吖頭↗ 提交于 2021-01-29 07:44:40
问题 This question already has answers here : How to install a package inside virtualenv? (11 answers) Closed 11 days ago . I'm trying to install django in a virtual environment. I'm in a virtual environment, but when i type pip install django I get a permission denied error. If I try to run sudo pip install django , however, I get sudo: pip: command not found . Not entierly sure where to go from here. 回答1: Since you setup your virtual environment with sudo virtualenv /opt/myenv , you now need to

Python: Discord.py ERROR: Could not build wheels for multidict, yarl which use PEP 517 and cannot be installed directly

跟風遠走 提交于 2021-01-29 06:40:17
问题 So I recently have tried to install discord.py through cmd but its giving me an error no matter if I use pip3 py pip. It says i need to install visual studio 14 but i have visual studio 16 installed. I've uninstalled and reinstalled python 3.9.0 i've updated through 'pip install --upgrade pip" and it still gives me the same error. here is the error: Microsoft Windows [Version 10.0.18363.1139] (c) 2019 Microsoft Corporation. All rights reserved. C:\Users\rektb>pip Usage: pip <command> [options

ModuleNotFoundError during pip install when module is actually installed

﹥>﹥吖頭↗ 提交于 2021-01-29 05:22:05
问题 I tried installing a python package (BentoML) using pip install bentoml , and I received the following error, which gives a ModuleNotFoundError: No module named 'wrapt' . However, the wrapt module is actually included in my site-packages folder, so a pip install wrapt results in the message that I already have wrapt installed. I can install other packages using pip, but the alembic package causes this issue. I was able to install using pip using my Anaconda Python, but I want it installed

Install venv for python3

自古美人都是妖i 提交于 2021-01-29 05:13:15
问题 I'm trying to create venv using python3 on Ubuntu 15.10. I have installed python 3.4.4. First, I tried to install venv via pip3 (I already installed it via python2.7 but as far as I understand, for py3 I should install it again) pip3 install virtualenv And I got The 'pip==8.0.0' distribution was not found and is required by the application error. Next I tried to install pip3 with this command: > sudo apt-get install python3-pip and looks like it was successfully completed. But when I run >

Is this python pip install script legitmate or a trojan horse?

大城市里の小女人 提交于 2021-01-29 04:11:47
问题 I am following this tutorial here to install python: http://docs.python-guide.org/en/latest/starting/install/win/ When it gets to the part about installing setup tools and pip it links to a ez_setup.py script which I downloaded and ran. It seemed to install setup_tools. I then clicked on the link to the pip-get.py and noticed it only contained the following: #!/usr/bin/env python import sys def main(): sys.exit( "You're using an outdated location for the get-pip.py script, please " "use the

Python: Installing PIP via NTLM from embedded ZIP file

别说谁变了你拦得住时间么 提交于 2021-01-29 03:48:32
问题 So I have downloaded the "Windows x86-64 embeddable zip file" from https://www.python.org/ftp/python/3.7.4/python-3.7.4-embed-amd64.zip and it works well I want to install PIP so I also got https://bootstrap.pypa.io/get-pip.py However it's throwing up a 407 proxy authentication error and despite me putting proxy information in, I presume at this point that NTLM is to blame. My question is how would I get around this? Is it possible to install PIP/Setuptools via the embeddable zip method 100%

Python: Installing PIP via NTLM from embedded ZIP file

a 夏天 提交于 2021-01-29 03:40:42
问题 So I have downloaded the "Windows x86-64 embeddable zip file" from https://www.python.org/ftp/python/3.7.4/python-3.7.4-embed-amd64.zip and it works well I want to install PIP so I also got https://bootstrap.pypa.io/get-pip.py However it's throwing up a 407 proxy authentication error and despite me putting proxy information in, I presume at this point that NTLM is to blame. My question is how would I get around this? Is it possible to install PIP/Setuptools via the embeddable zip method 100%

ModuleNotFoundError: No module named 'win10toast' ; bs4.FeatureNotFound: Couldn't find a tree builder with the features you requested: lxml

蹲街弑〆低调 提交于 2021-01-29 02:47:33
问题 I have already installed both of them using the pip command and it shows it is installed and yet is not working. I have also updated the version of pip still it shows the command to update the pip. C:\Users\DELL>pip install win10toast Requirement already satisfied: win10toast in c:\users\dell\appdata\local\programs\python\python37\lib\site-packages (0.9) Requirement already satisfied: setuptools in c:\users\dell\appdata\local\programs\python\python37\lib\site-packages (from win10toast) (40.8

tell pip install to *NEVER* go to the network and *ALWAYS* download from a local directory

做~自己de王妃 提交于 2021-01-29 02:24:04
问题 I'm running on a disconnected network. I have downloaded a collection of wheels (.whl) and .tar.gz files to /mnt/dist/python . I want to install boto3 which is in the directory. All of the dependencies are also in the directory. However, when I tell pip to install either boto3 or boto-2.49.0-py2.py3-none-any.whl it tries to go to the network. How do I tell it to install from /mnt/dist/python instead of going to the network? 回答1: A slightly modified version of what @Marek Piotrowski commented