Python Forum

Full Version: Pip command issues in windows
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I have installed pip and python 3.6 and wanted to install pytest and allure

but no command with pip works in my cmd (windows 7 - used as an admin)

commands
pip3 install allure and all sorts of combinations that are there on internet

I get the errors like

Retrying (Retry(total=1, connect=None, read=None, redirect=None, status=None))
after connection broken by 'ConnectTimeoutError(<pip._vendor.urllib3.connection
.VerifiedHTTPSConnection object at 0x0000000004612278>, 'Connection to pypi.pyth
on.org timed out. (connect timeout=15)')': /simple/allure-pytest/

Path in environment variable is correct and everything is in place. Even tried installing allure directly using whl file

No luck yet
(Jun-12-2018, 07:27 PM)golmolbandar Wrote: [ -> ]I have installed pip and python 3.6 and wanted to install pytest and allure
Links?
Quote:pip3 install allure
Is it allure-pytest ?
# Check pip
C:\>pip -V
pip 10.0.1 from c:\python36\lib\site-packages\pip (python 3.6)

C:\>pip install allure
Collecting allure
  Could not find a version that satisfies the requirement allure (from versions: )
No matching distribution found for allure

C:\>pip install allure-pytest
Collecting allure-pytest
  Downloading 
......
Successfully installed allure-pytest-2.3.4b1 allure-python-commons-2.3.4b1 atomicwrites-1.1.5 attrs-18.1.0 more-itertools-4.2.0 pluggy-0.6.0 py-1.5.3 pytest-3.6.1

C:\>
For problem with installation,then it will work exactly as show over.
Python 3.6 and pip installation under Windows