-
Notifications
You must be signed in to change notification settings - Fork 3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
PIP Requirements Install is taking so long - MacOs Sillicon - Sequoia OS version #13002
Comments
make requirements × Getting requirements to build wheel did not run successfully. note: This error originates from a subprocess, and is likely not a problem with pip. × Getting requirements to build wheel did not run successfully. note: This error originates from a subprocess, and is likely not a problem with pip. |
You need to provide your full
But you've not listed As for the error, the latest version of |
@notatallshaw , you can find bellow: openpyxl |
I will downgrade to check if it is why taking so long. Thanks for your reply. |
No, it is taking so long with any requirements I try to install. |
I think it might be your environmental issue @alerimoficial . One of the problems I saw people had on Mac OS (and you might experience it) is when they migrate their Python installation (created using pyenv or other tools) from Intel to ARM based laptop. When you do it by backup/restore mechanism, you might end up with Intel binaries and Python installation on ARM based Mac OS. Unfortunately, the problem is that such migration works, because MacOS has a built-in emulation and you can run Intel binaries on ARM device. It works but generally 16x or so slower. I guess you are experiencing this - but this is wild guess only. You can check it by runing: python -c "import platform; print(platform.uname().machine)" If you are on ARM and it prints amd64 or x86, this is is your problem. |
And if that is your problem - reinstalling all the software stack on a clean MacOS is highly recommended - you can have other software having similar problems. I saw some cases where people had "ARM python" but "Intel" IntelliJ (where IntelliJ both Java and Python libraries were running using emulation. The result was very sluggish IDE. |
@potiuk @notatallshaw , I just found that python 3.13 is may not compiled all the packages and libraries and it is taking too long for many users. I did not find a correction for it yet. |
Obviously. Because Airlfow does not support Python 3.13 yet. And it will not - until almost all the 700+ dependencies of Airflow will support Python 3.13. Usually, it takes about 6 months before the "critical mass" of those dependencies catch-up, and taking into account a number of breaking changes (mostly removals of some "batteries") in Python 3.13, it is likely to take maybe even longer this time. In the few recent versions of Airflow 2 we even explicitly excluded Python 3.13 https://github.com/apache/airflow/blob/v2-10-test/pyproject.toml#L42 (this is the tip of v2-10-test branch which we use to release 2.10.* patchlevel releases from. So - this will take quite some time to get Python 3.13 support, but if you want - feel free to open and monitor a PR that will take care of this. I have not done it yet, because I know there is no point currently - maybe in February/ March - or maybe a bit earlier, because with Airlfow 3 we are likely to remove some dependencies that were problematic. Similar PR for 3.12 has been opened in March 2024 (when we knew we are close to get the right set of dependencies to support it) and merged in April 2024 apache/airflow#38025 (so pretty much exactly 6 months after 3.12 was available) and even until now, Python 3.12 is excluded for Apache Beam because dill they are pinned to is not supporting 3.12 apache/airflow#41990 Feel free to attempt to try it @alerimoficial |
Description
Dear All,
After upgrading to the new versions of PIP it is taking so long to install the requirements and it used to take a few seconds our a minute.
Expected behavior
No response
pip version
24.2
Python version
3.13
OS
Sequoia OS version
How to Reproduce
pip3 install --upgrade -r requirements.in
Output
echo "Upgrading Package Manager"
Upgrading Package Manager
python3 -m pip install --upgrade pip
Requirement already satisfied: pip in ./env/lib/python3.13/site-packages (24.2)
echo "Exporting Python project dependencies"
Exporting Python project dependencies
pip3 install --upgrade -r requirements.in
Collecting azure-identity (from -r requirements.in (line 1))
...
...
pandas
pydantic
python-dotenv
openai
plotly
dash[celery]
dash[diskcache]
dash_bootstrap_components
dash_extensions
dash_iconify
dash-mantine-components
dash_cytoscape
iso3166
numpy
gunicorn
bs4
dash-ag-grid
...
taking more than 10 minutes I reinstall my computer from scratch just to test it at all.
Code of Conduct
The text was updated successfully, but these errors were encountered: