Python Forum
Need Werkzeug 0.11 and flask is looking for Werkzeug 0.7
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Need Werkzeug 0.11 and flask is looking for Werkzeug 0.7
#1

Output:
I am a newbie to Python. What I get when I try to install (I have downloaded the package already) is this: (MyVirt) C:\Users\xxxxxx\Python35>pip install --index-url=http://pypi.python.org/simple --trusted-host pypi.python.org C:\Users\hobartl\Desktop\Flask-0.12.2 Processing c:\users\xxxxxx\desktop\flask-0.12.2 Collecting Werkzeug>=0.7 (from Flask==0.12.2) Could not find a version that satisfies the requirement Werkzeug>=0.7 (from Fl ask==0.12.2) (from versions: ) No matching distribution found for Werkzeug>=0.7 (from Flask==0.12.2)
Pip version is 9.0.1, Python version 3.5 running on Windows 7.
I located a requires.txt file in flask.egg-info and modified to include the requirements specified by my task. So it should be looking for Werkzeug 0.11. I would appreciate any advice.
Reply
#2
UPDATE: This is the same response I get when I try to use "pip install" on any package.
Reply
#3
Why are you installing like that?
Just pip install Werkzeug get lastet which is 0.12.
Here a run.
C:\1_py
λ python -m venv werk

C:\1_py
λ cd werk
C:\1_py\werk
λ C:\1_py\werk\scripts\Activate
C:\1_py\werk
(werk) λ pip -V
pip 9.0.1 from c:\1_py\werk\lib\site-packages (python 3.6)

C:\1_py\werk
(werk) λ pip install Werkzeug
Collecting Werkzeug
  Using cached Werkzeug-0.12.2-py2.py3-none-any.whl
Installing collected packages: Werkzeug
Successfully installed Werkzeug-0.12.2

C:\1_py\werk
(werk) λ pip uninstall Werkzeug

# If need version 0.11
C:\1_py\werk
(werk) λ pip install Werkzeug==0.11
Collecting Werkzeug==0.11
  Downloading Werkzeug-0.11-py2.py3-none-any.whl (304kB)
    100% |████████████████████████████████| 307kB 328kB/s
Installing collected packages: Werkzeug
  Found existing installation: Werkzeug 0.12.2
    Uninstalling Werkzeug-0.12.2:
      Successfully uninstalled Werkzeug-0.12.2
Successfully installed Werkzeug-0.11
Here a tutorial for installing 3.6,as i use in demo over.
Python 3.6 and pip installation under Windows
Reply
#4
(MyVirt) C:\Users\xxxxxx\Python35>pip install Werkzeug
Collecting Werkzeug
Could not fetch URL https://pypi.python.org/simple/werkzeug/: There was a problem confirming the ssl certificate: [SSL: TLSV1_ALERT_ACCESS_DENIED] tlsv1 alert access denied (_ssl.c:719) - skipping
Could not find a version that satisfies the requirement Werkzeug (from versions: )
No matching distribution found for Werkzeug

(MyVirt) C:\Users\xxxxx\Python35>

UPDATE: I downloaded all the requirements (Werkzeug, click, itsdangerous, jinja2) to my desktop and did pip install from there. After that, I successfully installed Flask. You can close.
Reply


Forum Jump:

User Panel Messages

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