MobilityData / gtfs.org

Source code and content for gtfs.org.
https://gtfs.org/
12 stars 21 forks source link

Fresh install dependency conflicts - MacOS #239

Open KS-Verbosity opened 10 months ago

KS-Verbosity commented 10 months ago

When installing the project I get the following error ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts. selenium 4.9.0 requires urllib3[socks]~=1.26, but you have urllib3 2.1.0 which is incompatible. virtualenv 20.22.0 requires platformdirs<4,>=3.2, but you have platformdirs 4.0.0 which is incompatible. black 23.3.0 requires packaging>=22.0, but you have packaging 21.3 which is incompatible.

System in use: MacOS 13.3.1 on M1 Mac VSC IDE, PIP 23.3.1

Process: Clone repo with VSC, Run steps in the readme for MacOS

Full Install command line output: % pip install --upgrade pip Requirement already satisfied: pip in /Users/keithstreeter/.pyenv/versions/3.11.2/lib/python3.11/site-packages (22.3.1) Collecting pip Using cached pip-23.3.1-py3-none-any.whl (2.1 MB) Installing collected packages: pip Attempting uninstall: pip Found existing installation: pip 22.3.1 Uninstalling pip-22.3.1: Successfully uninstalled pip-22.3.1 Successfully installed pip-23.3.1 keithstreeter@Geralds-MacBook-Pro gtfs.org % pip3 install --force-reinstall -r requirements.txt Collecting click==8.1.3 (from -r requirements.txt (line 1)) Downloading click-8.1.3-py3-none-any.whl (96 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 96.6/96.6 kB 2.4 MB/s eta 0:00:00 Collecting ghp-import==2.1.0 (from -r requirements.txt (line 2)) Downloading ghp_import-2.1.0-py3-none-any.whl (11 kB) Collecting importlib-metadata==4.12.0 (from -r requirements.txt (line 3)) Downloading importlib_metadata-4.12.0-py3-none-any.whl (21 kB) Collecting Jinja2==3.1.2 (from -r requirements.txt (line 4)) Downloading Jinja2-3.1.2-py3-none-any.whl (133 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 133.1/133.1 kB 9.9 MB/s eta 0:00:00 Collecting Markdown==3.3.7 (from -r requirements.txt (line 5)) Downloading Markdown-3.3.7-py3-none-any.whl (97 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 97.8/97.8 kB 6.1 MB/s eta 0:00:00 Collecting MarkupSafe==2.1.1 (from -r requirements.txt (line 6)) Downloading MarkupSafe-2.1.1.tar.gz (18 kB) Installing build dependencies ... done Getting requirements to build wheel ... done Preparing metadata (pyproject.toml) ... done Collecting mergedeep==1.3.4 (from -r requirements.txt (line 7)) Downloading mergedeep-1.3.4-py3-none-any.whl (6.4 kB) Collecting mkdocs==1.5.3 (from -r requirements.txt (line 8)) Downloading mkdocs-1.5.3-py3-none-any.whl.metadata (6.2 kB) Collecting mkdocs-material==9.4.4 (from -r requirements.txt (line 9)) Downloading mkdocs_material-9.4.4-py3-none-any.whl.metadata (15 kB) Collecting mkdocs-material-extensions==1.2 (from -r requirements.txt (line 10)) Downloading mkdocs_material_extensions-1.2-py3-none-any.whl.metadata (6.6 kB) Collecting mkdocs-redirects==1.2.1 (from -r requirements.txt (line 11)) Downloading mkdocs-redirects-1.2.1.tar.gz (6.7 kB) Installing build dependencies ... done Getting requirements to build wheel ... done Preparing metadata (pyproject.toml) ... done Collecting mkdocs-static-i18n==1.1.0 (from -r requirements.txt (line 12)) Downloading mkdocs_static_i18n-1.1.0-py3-none-any.whl.metadata (3.8 kB) Collecting mkdocs-embed-external-markdown==3.0.1 (from -r requirements.txt (line 13)) Downloading mkdocs_embed_external_markdown-3.0.1-py3-none-any.whl.metadata (8.3 kB) Collecting packaging==21.3 (from -r requirements.txt (line 14)) Downloading packaging-21.3-py3-none-any.whl (40 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 40.8/40.8 kB 4.6 MB/s eta 0:00:00 Collecting Pygments==2.16.0 (from -r requirements.txt (line 15)) Downloading Pygments-2.16.0-py3-none-any.whl.metadata (2.5 kB) Collecting pymdown-extensions==10.2 (from -r requirements.txt (line 16)) Downloading pymdown_extensions-10.2-py3-none-any.whl.metadata (3.2 kB) Collecting pyparsing==3.0.9 (from -r requirements.txt (line 17)) Downloading pyparsing-3.0.9-py3-none-any.whl (98 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 98.3/98.3 kB 10.5 MB/s eta 0:00:00 Collecting python-dateutil==2.8.2 (from -r requirements.txt (line 18)) Downloading python_dateutil-2.8.2-py2.py3-none-any.whl (247 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 247.7/247.7 kB 10.1 MB/s eta 0:00:00 Collecting PyYAML==6.0 (from -r requirements.txt (line 19)) Downloading PyYAML-6.0-cp311-cp311-macosx_11_0_arm64.whl (167 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 167.5/167.5 kB 12.5 MB/s eta 0:00:00 Collecting pyyaml_env_tag==0.1 (from -r requirements.txt (line 20)) Downloading pyyaml_env_tag-0.1-py3-none-any.whl (3.9 kB) Collecting six==1.16.0 (from -r requirements.txt (line 21)) Downloading six-1.16.0-py2.py3-none-any.whl (11 kB) Collecting watchdog==2.1.9 (from -r requirements.txt (line 22)) Downloading watchdog-2.1.9.tar.gz (119 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 119.2/119.2 kB 11.6 MB/s eta 0:00:00 Installing build dependencies ... done Getting requirements to build wheel ... done Preparing metadata (pyproject.toml) ... done Collecting zipp==3.8.1 (from -r requirements.txt (line 23)) Downloading zipp-3.8.1-py3-none-any.whl (5.6 kB) Collecting pathspec>=0.11.1 (from mkdocs==1.5.3->-r requirements.txt (line 8)) Downloading pathspec-0.11.2-py3-none-any.whl.metadata (19 kB) Collecting platformdirs>=2.2.0 (from mkdocs==1.5.3->-r requirements.txt (line 8)) Downloading platformdirs-4.0.0-py3-none-any.whl.metadata (11 kB) Collecting babel~=2.10 (from mkdocs-material==9.4.4->-r requirements.txt (line 9)) Downloading Babel-2.13.1-py3-none-any.whl.metadata (1.6 kB) Collecting colorama~=0.4 (from mkdocs-material==9.4.4->-r requirements.txt (line 9)) Downloading colorama-0.4.6-py2.py3-none-any.whl (25 kB) Collecting paginate~=0.5 (from mkdocs-material==9.4.4->-r requirements.txt (line 9)) Downloading paginate-0.5.6.tar.gz (12 kB) Installing build dependencies ... done Getting requirements to build wheel ... done Preparing metadata (pyproject.toml) ... done Collecting regex>=2022.4 (from mkdocs-material==9.4.4->-r requirements.txt (line 9)) Downloading regex-2023.10.3-cp311-cp311-macosx_11_0_arm64.whl.metadata (40 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 40.9/40.9 kB 4.5 MB/s eta 0:00:00 Collecting requests~=2.26 (from mkdocs-material==9.4.4->-r requirements.txt (line 9)) Downloading requests-2.31.0-py3-none-any.whl.metadata (4.6 kB) Collecting charset-normalizer<4,>=2 (from requests~=2.26->mkdocs-material==9.4.4->-r requirements.txt (line 9)) Downloading charset_normalizer-3.3.2-cp311-cp311-macosx_11_0_arm64.whl.metadata (33 kB) Collecting idna<4,>=2.5 (from requests~=2.26->mkdocs-material==9.4.4->-r requirements.txt (line 9)) Downloading idna-3.4-py3-none-any.whl (61 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 61.5/61.5 kB 6.4 MB/s eta 0:00:00 Collecting urllib3<3,>=1.21.1 (from requests~=2.26->mkdocs-material==9.4.4->-r requirements.txt (line 9)) Downloading urllib3-2.1.0-py3-none-any.whl.metadata (6.4 kB) Collecting certifi>=2017.4.17 (from requests~=2.26->mkdocs-material==9.4.4->-r requirements.txt (line 9)) Downloading certifi-2023.11.17-py3-none-any.whl.metadata (2.2 kB) Downloading mkdocs-1.5.3-py3-none-any.whl (3.7 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 3.7/3.7 MB 11.8 MB/s eta 0:00:00 Downloading mkdocs_material-9.4.4-py3-none-any.whl (8.3 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 8.3/8.3 MB 12.1 MB/s eta 0:00:00 Downloading mkdocs_material_extensions-1.2-py3-none-any.whl (8.0 kB) Downloading mkdocs_static_i18n-1.1.0-py3-none-any.whl (20 kB) Downloading mkdocs_embed_external_markdown-3.0.1-py3-none-any.whl (7.6 kB) Downloading Pygments-2.16.0-py3-none-any.whl (1.2 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.2/1.2 MB 11.2 MB/s eta 0:00:00 Downloading pymdown_extensions-10.2-py3-none-any.whl (241 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 241.0/241.0 kB 9.2 MB/s eta 0:00:00 Downloading Babel-2.13.1-py3-none-any.whl (10.1 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 10.1/10.1 MB 14.0 MB/s eta 0:00:00 Downloading pathspec-0.11.2-py3-none-any.whl (29 kB) Downloading platformdirs-4.0.0-py3-none-any.whl (17 kB) Downloading regex-2023.10.3-cp311-cp311-macosx_11_0_arm64.whl (291 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 291.0/291.0 kB 12.4 MB/s eta 0:00:00 Downloading requests-2.31.0-py3-none-any.whl (62 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 62.6/62.6 kB 6.8 MB/s eta 0:00:00 Downloading certifi-2023.11.17-py3-none-any.whl (162 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 162.5/162.5 kB 10.9 MB/s eta 0:00:00 Downloading charset_normalizer-3.3.2-cp311-cp311-macosx_11_0_arm64.whl (118 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 119.0/119.0 kB 7.3 MB/s eta 0:00:00 Downloading urllib3-2.1.0-py3-none-any.whl (104 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 104.6/104.6 kB 12.2 MB/s eta 0:00:00 Building wheels for collected packages: MarkupSafe, mkdocs-redirects, watchdog, paginate Building wheel for MarkupSafe (pyproject.toml) ... done Created wheel for MarkupSafe: filename=MarkupSafe-2.1.1-cp311-cp311-macosx_13_0_arm64.whl size=13909 sha256=2ac58fdc45094ee19c853ec56f874f455a0f607e72b1a8c6dbe02aef5ccce46e Stored in directory: /Users/keithstreeter/Library/Caches/pip/wheels/f2/8e/9e/4ee907ff6fb9e145722f0506c46ad9516302d1f424b43220e5 Building wheel for mkdocs-redirects (pyproject.toml) ... done Created wheel for mkdocs-redirects: filename=mkdocs_redirects-1.2.1-py3-none-any.whl size=6022 sha256=f16eba044a2b2773596d7668f9dd4958e7801eb4c194d3cc094b23a1eda87e93 Stored in directory: /Users/keithstreeter/Library/Caches/pip/wheels/b1/3a/5d/2725599799a08a38e3ea6816a9531912b7438b7698b9673e8c Building wheel for watchdog (pyproject.toml) ... done Created wheel for watchdog: filename=watchdog-2.1.9-cp311-cp311-macosx_13_0_arm64.whl size=87661 sha256=3ee54ec295608e8ca098c3c07cd3b42cbc7c4c7ffa718b1a8833e5a94eefff5a Stored in directory: /Users/keithstreeter/Library/Caches/pip/wheels/cd/18/10/7515f00af594517b6797bf7cc1e4000416fe21dcac9c50dcd1 Building wheel for paginate (pyproject.toml) ... done Created wheel for paginate: filename=paginate-0.5.6-py3-none-any.whl size=12666 sha256=ca643777e012ae973007c5b974be63b08be7c01bffe10dfe11c605ea96bbffeb Stored in directory: /Users/keithstreeter/Library/Caches/pip/wheels/c6/d1/23/f52e2714a0712789b188486c8ada5f593f6f78c8caa9892a8d Successfully built MarkupSafe mkdocs-redirects watchdog paginate Installing collected packages: paginate, zipp, watchdog, urllib3, six, regex, PyYAML, pyparsing, Pygments, platformdirs, pathspec, mkdocs-material-extensions, mergedeep, MarkupSafe, Markdown, idna, colorama, click, charset-normalizer, certifi, babel, requests, pyyaml_env_tag, python-dateutil, pymdown-extensions, packaging, Jinja2, importlib-metadata, mkdocs-embed-external-markdown, ghp-import, mkdocs, mkdocs-static-i18n, mkdocs-redirects, mkdocs-material Attempting uninstall: paginate Found existing installation: paginate 0.5.6 Uninstalling paginate-0.5.6: Successfully uninstalled paginate-0.5.6 Attempting uninstall: zipp Found existing installation: zipp 3.8.1 Uninstalling zipp-3.8.1: Successfully uninstalled zipp-3.8.1 Attempting uninstall: watchdog Found existing installation: watchdog 2.1.9 Uninstalling watchdog-2.1.9: Successfully uninstalled watchdog-2.1.9 Attempting uninstall: urllib3 Found existing installation: urllib3 2.1.0 Uninstalling urllib3-2.1.0: Successfully uninstalled urllib3-2.1.0 Attempting uninstall: six Found existing installation: six 1.16.0 Uninstalling six-1.16.0: Successfully uninstalled six-1.16.0 Attempting uninstall: regex Found existing installation: regex 2023.10.3 Uninstalling regex-2023.10.3: Successfully uninstalled regex-2023.10.3 Attempting uninstall: PyYAML Found existing installation: PyYAML 6.0 Uninstalling PyYAML-6.0: Successfully uninstalled PyYAML-6.0 Attempting uninstall: pyparsing Found existing installation: pyparsing 3.0.9 Uninstalling pyparsing-3.0.9: Successfully uninstalled pyparsing-3.0.9 Attempting uninstall: Pygments Found existing installation: Pygments 2.16.0 Uninstalling Pygments-2.16.0: Successfully uninstalled Pygments-2.16.0 Attempting uninstall: platformdirs Found existing installation: platformdirs 4.0.0 Uninstalling platformdirs-4.0.0: Successfully uninstalled platformdirs-4.0.0 Attempting uninstall: pathspec Found existing installation: pathspec 0.11.2 Uninstalling pathspec-0.11.2: Successfully uninstalled pathspec-0.11.2 Attempting uninstall: mkdocs-material-extensions Found existing installation: mkdocs-material-extensions 1.2 Uninstalling mkdocs-material-extensions-1.2: Successfully uninstalled mkdocs-material-extensions-1.2 Attempting uninstall: mergedeep Found existing installation: mergedeep 1.3.4 Uninstalling mergedeep-1.3.4: Successfully uninstalled mergedeep-1.3.4 Attempting uninstall: MarkupSafe Found existing installation: MarkupSafe 2.1.1 Uninstalling MarkupSafe-2.1.1: Successfully uninstalled MarkupSafe-2.1.1 Attempting uninstall: Markdown Found existing installation: Markdown 3.3.7 Uninstalling Markdown-3.3.7: Successfully uninstalled Markdown-3.3.7 Attempting uninstall: idna Found existing installation: idna 3.4 Uninstalling idna-3.4: Successfully uninstalled idna-3.4 Attempting uninstall: colorama Found existing installation: colorama 0.4.6 Uninstalling colorama-0.4.6: Successfully uninstalled colorama-0.4.6 Attempting uninstall: click Found existing installation: click 8.1.3 Uninstalling click-8.1.3: Successfully uninstalled click-8.1.3 Attempting uninstall: charset-normalizer Found existing installation: charset-normalizer 3.3.2 Uninstalling charset-normalizer-3.3.2: Successfully uninstalled charset-normalizer-3.3.2 Attempting uninstall: certifi Found existing installation: certifi 2023.11.17 Uninstalling certifi-2023.11.17: Successfully uninstalled certifi-2023.11.17 Attempting uninstall: babel Found existing installation: Babel 2.13.1 Uninstalling Babel-2.13.1: Successfully uninstalled Babel-2.13.1 Attempting uninstall: requests Found existing installation: requests 2.31.0 Uninstalling requests-2.31.0: Successfully uninstalled requests-2.31.0 Attempting uninstall: pyyaml_env_tag Found existing installation: pyyaml_env_tag 0.1 Uninstalling pyyaml_env_tag-0.1: Successfully uninstalled pyyaml_env_tag-0.1 Attempting uninstall: python-dateutil Found existing installation: python-dateutil 2.8.2 Uninstalling python-dateutil-2.8.2: Successfully uninstalled python-dateutil-2.8.2 Attempting uninstall: pymdown-extensions Found existing installation: pymdown-extensions 10.2 Uninstalling pymdown-extensions-10.2: Successfully uninstalled pymdown-extensions-10.2 Attempting uninstall: packaging Found existing installation: packaging 21.3 Uninstalling packaging-21.3: Successfully uninstalled packaging-21.3 Attempting uninstall: Jinja2 Found existing installation: Jinja2 3.1.2 Uninstalling Jinja2-3.1.2: Successfully uninstalled Jinja2-3.1.2 Attempting uninstall: importlib-metadata Found existing installation: importlib-metadata 4.12.0 Uninstalling importlib-metadata-4.12.0: Successfully uninstalled importlib-metadata-4.12.0 Attempting uninstall: mkdocs-embed-external-markdown Found existing installation: mkdocs-embed-external-markdown 3.0.1 Uninstalling mkdocs-embed-external-markdown-3.0.1: Successfully uninstalled mkdocs-embed-external-markdown-3.0.1 Attempting uninstall: ghp-import Found existing installation: ghp-import 2.1.0 Uninstalling ghp-import-2.1.0: Successfully uninstalled ghp-import-2.1.0 Attempting uninstall: mkdocs Found existing installation: mkdocs 1.5.3 Uninstalling mkdocs-1.5.3: Successfully uninstalled mkdocs-1.5.3 Attempting uninstall: mkdocs-static-i18n Found existing installation: mkdocs-static-i18n 1.1.0 Uninstalling mkdocs-static-i18n-1.1.0: Successfully uninstalled mkdocs-static-i18n-1.1.0 Attempting uninstall: mkdocs-redirects Found existing installation: mkdocs-redirects 1.2.1 Uninstalling mkdocs-redirects-1.2.1: Successfully uninstalled mkdocs-redirects-1.2.1 Attempting uninstall: mkdocs-material Found existing installation: mkdocs-material 9.4.4 Uninstalling mkdocs-material-9.4.4: Successfully uninstalled mkdocs-material-9.4.4 ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts. selenium 4.9.0 requires urllib3[socks]~=1.26, but you have urllib3 2.1.0 which is incompatible. virtualenv 20.22.0 requires platformdirs<4,>=3.2, but you have platformdirs 4.0.0 which is incompatible. black 23.3.0 requires packaging>=22.0, but you have packaging 21.3 which is incompatible. Successfully installed Jinja2-3.1.2 Markdown-3.3.7 MarkupSafe-2.1.1 PyYAML-6.0 Pygments-2.16.0 babel-2.13.1 certifi-2023.11.17 charset-normalizer-3.3.2 click-8.1.3 colorama-0.4.6 ghp-import-2.1.0 idna-3.4 importlib-metadata-4.12.0 mergedeep-1.3.4 mkdocs-1.5.3 mkdocs-embed-external-markdown-3.0.1 mkdocs-material-9.4.4 mkdocs-material-extensions-1.2 mkdocs-redirects-1.2.1 mkdocs-static-i18n-1.1.0 packaging-21.3 paginate-0.5.6 pathspec-0.11.2 platformdirs-4.0.0 pymdown-extensions-10.2 pyparsing-3.0.9 python-dateutil-2.8.2 pyyaml_env_tag-0.1 regex-2023.10.3 requests-2.31.0 six-1.16.0 urllib3-2.1.0 watchdog-2.1.9 zipp-3.8.1

fredericsimard commented 8 months ago

@KS-Verbosity Hi, sorry for the delay... selenium, virtualenv and black are not required to compile the website or have mkdocs serve the site locally. They are probably installed on your system and pip is warning you that there are incompatibilities. One thing is sure, they are not part of the requirements to compile the site.

Besides these warnings, could you tell me if the site compiles? Does it interfere with the mkdocs serve command if you use it? Because I see that all the requirements are installed successfully just below the warnings you specify.