cookiecutter-pypackage
cookiecutter-pypackage copied to clipboard
Failed requirements_dev install
- Date you used Cookiecutter PyPackage: 23-01-2022
- Cookiecutter version used, if any: 1.7.3
- Python version, if any: 3.9
- Operating System: Windows 10
Description
I have cookiecutter glabaly installed and tried to setup my package. Worked fine until the point, where I should install the dev requierements. My installed pip
version is 21.3.1 but the requirements says 19.2.3. This Downgrade seems to be bugged on windows. I always end up with an uninstalled pip and broken venv which is happyly not a big issue.
My Workaround for now is to comment the pip requirement
What I Did
pip install -r .\requirements_dev.txt
Collecting pip==19.2.3
Using cached pip-19.2.3-py2.py3-none-any.whl (1.4 MB)
Collecting bump2version==0.5.11
Using cached bump2version-0.5.11-py2.py3-none-any.whl (23 kB)
Collecting wheel==0.33.6
Using cached wheel-0.33.6-py2.py3-none-any.whl (21 kB)
Collecting watchdog==0.9.0
Using cached watchdog-0.9.0.tar.gz (85 kB)
Preparing metadata (setup.py) ... done
Collecting flake8==3.7.8
Using cached flake8-3.7.8-py2.py3-none-any.whl (70 kB)
Collecting tox==3.14.0
Using cached tox-3.14.0-py2.py3-none-any.whl (80 kB)
Collecting coverage==4.5.4
Using cached coverage-4.5.4.tar.gz (385 kB)
Preparing metadata (setup.py) ... done
Collecting Sphinx==1.8.5
Using cached Sphinx-1.8.5-py2.py3-none-any.whl (3.1 MB)
Collecting twine==1.14.0
Using cached twine-1.14.0-py2.py3-none-any.whl (35 kB)
Collecting black==21.7b0
Using cached black-21.7b0-py3-none-any.whl (141 kB)
Collecting PyYAML>=3.10
Using cached PyYAML-6.0-cp39-cp39-win_amd64.whl (151 kB)
Collecting argh>=0.24.1
Using cached argh-0.26.2-py2.py3-none-any.whl (30 kB)
Collecting pathtools>=0.1.1
Using cached pathtools-0.1.2.tar.gz (11 kB)
Preparing metadata (setup.py) ... done
Collecting pyflakes<2.2.0,>=2.1.0
Using cached pyflakes-2.1.1-py2.py3-none-any.whl (59 kB)
Collecting entrypoints<0.4.0,>=0.3.0
Using cached entrypoints-0.3-py2.py3-none-any.whl (11 kB)
Collecting pycodestyle<2.6.0,>=2.5.0
Using cached pycodestyle-2.5.0-py2.py3-none-any.whl (51 kB)
Collecting mccabe<0.7.0,>=0.6.0
Using cached mccabe-0.6.1-py2.py3-none-any.whl (8.6 kB)
Collecting six<2,>=1.0.0
Using cached six-1.16.0-py2.py3-none-any.whl (11 kB)
Collecting packaging>=14
Using cached packaging-21.3-py3-none-any.whl (40 kB)
Collecting pluggy<1,>=0.12.0
Using cached pluggy-0.13.1-py2.py3-none-any.whl (18 kB)
Collecting virtualenv>=14.0.0
Using cached virtualenv-20.13.0-py2.py3-none-any.whl (6.5 MB)
Collecting filelock<4,>=3.0.0
Using cached filelock-3.4.2-py3-none-any.whl (9.9 kB)
Collecting py<2,>=1.4.17
Using cached py-1.11.0-py2.py3-none-any.whl (98 kB)
Collecting toml>=0.9.4
Using cached toml-0.10.2-py2.py3-none-any.whl (16 kB)
Collecting snowballstemmer>=1.1
Using cached snowballstemmer-2.2.0-py2.py3-none-any.whl (93 kB)
Collecting sphinxcontrib-websupport
Using cached sphinxcontrib_websupport-1.2.4-py2.py3-none-any.whl (39 kB)
Collecting alabaster<0.8,>=0.7
Using cached alabaster-0.7.12-py2.py3-none-any.whl (14 kB)
Requirement already satisfied: setuptools in mypath\.venv\lib\site-packages (from Sphinx==1.8.5->-r .\requirements_dev.txt (line 8)) (57.4.0)
Collecting Jinja2>=2.3
Using cached Jinja2-3.0.3-py3-none-any.whl (133 kB)
Collecting colorama>=0.3.5
Using cached colorama-0.4.4-py2.py3-none-any.whl (16 kB)
Collecting Pygments>=2.0
Using cached Pygments-2.11.2-py3-none-any.whl (1.1 MB)
Collecting babel!=2.0,>=1.3
Using cached Babel-2.9.1-py2.py3-none-any.whl (8.8 MB)
Collecting requests>=2.0.0
Using cached requests-2.27.1-py2.py3-none-any.whl (63 kB)
Collecting docutils>=0.11
Using cached docutils-0.18.1-py2.py3-none-any.whl (570 kB)
Collecting imagesize
Using cached imagesize-1.3.0-py2.py3-none-any.whl (5.2 kB)
Collecting readme-renderer>=21.0
Using cached readme_renderer-32.0-py3-none-any.whl (16 kB)
Collecting pkginfo>=1.4.2
Using cached pkginfo-1.8.2-py2.py3-none-any.whl (26 kB)
Collecting tqdm>=4.14
Using cached tqdm-4.62.3-py2.py3-none-any.whl (76 kB)
Collecting requests-toolbelt!=0.9.0,>=0.8.0
Using cached requests_toolbelt-0.9.1-py2.py3-none-any.whl (54 kB)
Collecting mypy-extensions>=0.4.3
Using cached mypy_extensions-0.4.3-py2.py3-none-any.whl (4.5 kB)
Collecting tomli<2.0.0,>=0.2.6
Using cached tomli-1.2.3-py3-none-any.whl (12 kB)
Collecting pathspec<1,>=0.8.1
Using cached pathspec-0.9.0-py2.py3-none-any.whl (31 kB)
Collecting appdirs
Using cached appdirs-1.4.4-py2.py3-none-any.whl (9.6 kB)
Collecting regex>=2020.1.8
Using cached regex-2022.1.18-cp39-cp39-win_amd64.whl (273 kB)
Collecting click>=7.1.2
Using cached click-8.0.3-py3-none-any.whl (97 kB)
Collecting pytz>=2015.7
Using cached pytz-2021.3-py2.py3-none-any.whl (503 kB)
Collecting MarkupSafe>=2.0
Using cached MarkupSafe-2.0.1-cp39-cp39-win_amd64.whl (14 kB)
Collecting pyparsing!=3.0.5,>=2.0.2
Using cached pyparsing-3.0.7-py3-none-any.whl (98 kB)
Collecting bleach>=2.1.0
Using cached bleach-4.1.0-py2.py3-none-any.whl (157 kB)
Collecting charset-normalizer~=2.0.0
Using cached charset_normalizer-2.0.10-py3-none-any.whl (39 kB)
Collecting idna<4,>=2.5
Using cached idna-3.3-py3-none-any.whl (61 kB)
Collecting urllib3<1.27,>=1.21.1
Using cached urllib3-1.26.8-py2.py3-none-any.whl (138 kB)
Collecting certifi>=2017.4.17
Using cached certifi-2021.10.8-py2.py3-none-any.whl (149 kB)
Collecting platformdirs<3,>=2
Using cached platformdirs-2.4.1-py3-none-any.whl (14 kB)
Collecting distlib<1,>=0.3.1
Using cached distlib-0.3.4-py2.py3-none-any.whl (461 kB)
Collecting sphinxcontrib-serializinghtml
Using cached sphinxcontrib_serializinghtml-1.1.5-py2.py3-none-any.whl (94 kB)
Collecting webencodings
Using cached webencodings-0.5.1-py2.py3-none-any.whl (11 kB)
Using legacy 'setup.py install' for watchdog, since package 'wheel' is not installed.
Using legacy 'setup.py install' for coverage, since package 'wheel' is not installed.
Using legacy 'setup.py install' for pathtools, since package 'wheel' is not installed.
Installing collected packages: pyparsing, webencodings, urllib3, six, packaging, idna, charset-normalizer, certifi, sphinxcontrib-serializinghtml, requests, pytz, Pygments, platformdirs, MarkupSafe, filelock, docutils, distlib, colorama, bleach, virtualenv, tqdm, tomli, toml, sphinxcontrib-websupport, snowballstemmer, requests-toolbelt, regex, readme-renderer, PyYAML, pyflakes, pycodestyle, py, pluggy, pkginfo, pathtools, pathspec, mypy-extensions, mccabe, Jinja2, imagesize, entrypoints, click, babel,
argh, appdirs, alabaster, wheel, watchdog, twine, tox, Sphinx, pip, flake8, coverage, bump2version, black
Running setup.py install for pathtools ... done
Running setup.py install for watchdog ... done
Attempting uninstall: pip
Found existing installation: pip 21.3.1
Uninstalling pip-21.3.1:
ERROR: Could not install packages due to an OSError: [WinError 5] Zugriff verweigert: 'mypath\\.venv\\scripts\\pip.exe'
Check the permissions.