pip

pip error while installing azure cli extension behind proxy

半世苍凉 提交于 2021-01-29 14:30:27
问题 could someone help me please: I am using Azure cli behind proxy and I have fiddler running. I am running following commands and setup to login into my azure account, SET ADAL_PYTHON_NO_SSL_VERIFY=1 SET AZURE_CLI_DISABLE_CONNECTION_VERIFICATION=1 az login --tenant <company domain> It works well and gives me the list of subscriptions associated with my account.But, I need to install Azure-devops extension and when i run: az extension add --name azure-devops I am getting error: cli.azure.cli

Problems using pip to install packages on Pypy

前提是你 提交于 2021-01-29 13:18:22
问题 I want to use Pypy to run a set of data transformations faster, but I need numpy installed so that the script runs unchanged (obviously I could change the script but that's not the point). I tried using pip as the docs told me to, but it just won't work. It gives me an error about not having Visual Studio 14.1, which I do have theoretically (I installed as many redistributables as you can think of, including the 2017 version, which is the same 14.1 as far as I can tell). I'm also aware of the

Use PyVimeo from Anaconda

限于喜欢 提交于 2021-01-29 13:15:15
问题 I'm trying to use the Vimeo API. In the documentation here it simply says to use pip install PyVimeo and it will install. Unfortunately that doesn't work for me. What I'm trying to accomplish is to be able to use the API to upload a bunch of videos to my PRO account. I've tried their support and they were not terribly helpful. Here's what I tried so far... Originally I tried in Anaconda with Python 3, the package tries to install and then ends with Command "python setup.py egg_info" failed

how to install python module without pip after we download the module to local folder

耗尽温柔 提交于 2021-01-29 12:56:15
问题 we can download the module - requests , as the following cd /home/module/ pip download requests ls -l certifi-2019.9.11-py2.py3-none-any.whl chardet-3.0.4-py2.py3-none-any.whl idna-2.8-py2.py3-none-any.whl requests-2.22.0-py2.py3-none-any.whl urllib3-1.25.6-py2.py3-none-any.whl now we can easily to install the module as pip install *.whl we can check it by python -c "import requests" now - since on some Linux redhat machines we not have pip ( we cant install pip because security reasons ) so

Errors while trying to install pip from terminal

三世轮回 提交于 2021-01-29 10:45:24
问题 I am trying to install pip3 via a bash script/terminal. I am using the following commands: curl -O https://bootstrap.pypa.io/get-pip.py /usr/local/bin/python3.6 get-pip.py When I run these two commands, I get some weird errors that I am not understanding. Can someone please explain what these errors mean and how to fix them (or let me know if there is a better way to install pip3 other than brew)? Operating system: Mac OSX % Total % Received % Xferd Average Speed Time Time Time Current Dload

how to set pip environment path?

↘锁芯ラ 提交于 2021-01-29 10:31:08
问题 I ran: python -m pip --version And it returned: pip 8.1.2 from C:\Users\myonl\AppData\Local\Programs\Python\Python35-32\lib\site-packages (python 3.5) So I set my path to the above, but when I try to actually use pip I get: pip install PyQt4 'pip' is not recognised as an internal or external command, operable program or batch file. What am I doing wrong? 回答1: The first time you do python -m pip , the second time you do pip . pip is not on your PATH, but python is. You can fix that, or you can

What is the difference between installing packages with Python 3 and pip3 in terminal?

久未见 提交于 2021-01-29 09:56:53
问题 I have two versions of Python on my Mac: 2.7 and 3.8. When installing packages, I use pip3 instead of pip in order for the packages so install for the correct Python version. However, I noticed that I can also install with Python3 in the terminal: python3 -m pip install ... Is there a difference between the two? I noticed they showed different pip versions which was a bit strange. 回答1: https://docs.python.org/3/using/cmdline.html#cmdoption-m Using -m is another way of executing an installed

Unable to install pygame on Python via pip (Windows 10)

拟墨画扇 提交于 2021-01-29 08:32:53
问题 Currently unable to install Pygame via pip: pip install pygame Getting this message: Concerned by it being termed an EOF error, is this an error in the module itself? 回答1: There's dev versions available as of now. Get them via pip install pygame==2.0.0.dev6 回答2: welcome to Stack Overflow Pygame is not compatible with python 3.8 at the moment. I would recommend you to downgrade back to 3.7 and installing with pip there. Let me know how it goes... 回答3: pip is doesn't have pygame up. But there

Python - installing libraries from github

人走茶凉 提交于 2021-01-29 08:04:57
问题 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

Automatically install pip packages' OS dependencies

喜你入骨 提交于 2021-01-29 08:04:31
问题 I am installing lots of pip packages on a debootstrap 'd Debian which is understandably quite bare bones and lacks a ton of packages that you'd usually expect on a regular installation. Naturally, pip installations are failing because the OS doesn't have the libraries they depend on. Instead of individually digging for dependencies I need to install, is there a way to let pip resolve apt dependencies? 回答1: No. pip is a portable tool designed to be run on many operating systems. But on every