I encountered a problem ** that fails to build pandas 1.1.0 or later on ** Alpine Linux **, so I have summarized the countermeasures.
Failed to build pandas
ERROR: Could not build wheels for pandas which use PEP 517 and cannot be installed directly
It was a failure from ** pandas 1.1.0 **. I've already created issues and pull requests on GitHub's pandas repository, and I've already merged them into my master branch. ** A modified version will be released in pandas 1.2 **.
If you check ** Milestone ** of pandas, ** pandas 1.2 ** is scheduled to be released by ** 2020/11/29 **, and at the moment (2020/08/26), it is still up to 3 months. You have to wait a long time.
Looking at the following exchanges in Issue, I feel a strong will to not support up to ** 1.2 **, so I feel that it is unlikely that it will be advanced and corrected in 1.1 series. [^ 1] Therefore, if you do not plan to use the new features of pandas 1.1.0 or later, we recommend using ** pandas 1.0.5 ** to avoid it.
[^ 1]: At the moment (2020/08/26), Milestone has been made up to 1.1.2 for 1.1 series, but this modification is not included so far.
In my case, I used ** pip ** to install ** pandas **, so I specified the version as follows and supported ** pip install **.
- pip install pandas --no-build-isolation
+ pip install pandas==1.0.5 --no-build-isolation
It was a problem that occurred only in combination with Alpine Linux, so I wondered if there was such a thing. Various difficult: thinking: