Python Forum
Pip command issues in windows
Thread Rating:
  • 2 Vote(s) - 4.5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Pip command issues in windows
#1
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
Reply
#2
(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
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  pip issues with windows 10 sxkladi 8 12,136 Mar-26-2021, 07:53 PM
Last Post: OEMS1
  starting python from windows command prompt MaartenRo 4 2,746 Sep-04-2020, 12:25 PM
Last Post: MaartenRo
  Subprocess command prompt (Windows) arnaur 6 10,189 Sep-06-2018, 07:22 AM
Last Post: arnaur
  Subprocess Popen command issues. Rabster 1 4,927 Jul-03-2017, 10:31 AM
Last Post: DeaD_EyE
  How do I run python scripts from any directory using Windows command prompt? bigmit37 4 15,673 Jun-15-2017, 04:13 PM
Last Post: Larz60+
  Issues with running regedit command from python gohanzdad 10 9,781 May-16-2017, 04:28 PM
Last Post: gohanzdad

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020