Skip to content
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

msys2 install failed: ERROR: Could not find a version that satisfies the requirement fastexcel (from versions: none) #273

Closed
abcfy2 opened this issue Jul 31, 2024 · 4 comments

Comments

@abcfy2
Copy link

abcfy2 commented Jul 31, 2024

Would you please also publish source code to pypi ? Then pip will fallback to source code build install.

Thanks.

@abcfy2 abcfy2 changed the title msys2 msys2 install failed: ERROR: Could not find a version that satisfies the requirement fastexcel (from versions: none) Jul 31, 2024
@abcfy2
Copy link
Author

abcfy2 commented Jul 31, 2024

This because you did not publish source to pypi:

image

And msys2 use mingw toolchain instead of msvc. So pip could not find a valid binary package to download. But install from source is OK:

$ pip install -U --user https://github.com/ToucanToco/fastexcel/archive/refs/tags/v0.11.5.tar.gz
Looking in indexes: https://pypi.tuna.tsinghua.edu.cn/simple
Collecting https://github.com/ToucanToco/fastexcel/archive/refs/tags/v0.11.5.tar.gz
  Using cached https://github.com/ToucanToco/fastexcel/archive/refs/tags/v0.11.5.tar.gz
  Installing build dependencies ... done
  Getting requirements to build wheel ... done
  Preparing metadata (pyproject.toml) ... done
Requirement already satisfied: pyarrow>=8.0.0 in d:/msys64/ucrt64/lib/python3.11/site-packages (from fastexcel==0.11.5) (17.0.0)
Requirement already satisfied: numpy>=1.16.6 in d:/msys64/ucrt64/lib/python3.11/site-packages (from pyarrow>=8.0.0->fastexcel==0.11.5) (1.26.4)
Building wheels for collected packages: fastexcel
  Building wheel for fastexcel (pyproject.toml) ... done
  Created wheel for fastexcel: filename=fastexcel-0.11.5-cp38-abi3-win_amd64.whl size=2074378 sha256=917331286c58e4f32e6e23a1b7661a84921d4ef8e5558c58d00430d17f85f170
  Stored in directory: C:/Users/abcfy/AppData/Local/Temp/pip-ephem-wheel-cache-s6yi0gmc/wheels/f4/b4/13/9f2ad774fd603e7d6f971536ecf1c490c791b26a6d8b7c227f
Successfully built fastexcel
Installing collected packages: fastexcel
Successfully installed fastexcel-0.11.5

@abcfy2
Copy link
Author

abcfy2 commented Jul 31, 2024

And here's the msys2 python supported wheel tags:

$ pip debug --verbose
WARNING: This command is only meant for debugging. Do not use this with automation for parsing and getting these details, since the output and options of this command may change without notice.
pip version: pip 24.1.2 from D:/msys64/ucrt64/lib/python3.11/site-packages/pip (python 3.11)
sys.version: 3.11.9 (main, Apr 12 2024, 09:55:27)  [GCC UCRT 13.2.0 64 bit (AMD64)]
sys.executable: D:/msys64/ucrt64/bin/python.exe
sys.getdefaultencoding: utf-8
sys.getfilesystemencoding: utf-8
locale.getpreferredencoding: cp936
sys.platform: win32
sys.implementation:
  name: cpython
'cert' config value: global
REQUESTS_CA_BUNDLE: None
CURL_CA_BUNDLE: None
pip._vendor.certifi.where(): D:/msys64/ucrt64/lib/python3.11/site-packages/pip/_vendor/certifi/cacert.pem
pip._vendor.DEBUNDLED: False
vendored library versions:
  CacheControl==0.14.0
  distlib==0.3.8
  distro==1.9.0
  msgpack==1.0.8
  packaging==24.1
  platformdirs==4.2.1
  pyproject-hooks==1.0.0
  requests==2.32.3
  certifi==2024.02.02
  idna==3.7
  urllib3==1.26.18
  rich==13.7.1 (Unable to locate actual module version, using vendor.txt specified version)
  pygments==2.17.2
  typing_extensions==4.11.0 (Unable to locate actual module version, using vendor.txt specified version)
  resolvelib==1.0.1
  setuptools==69.5.1 (Unable to locate actual module version, using vendor.txt specified version)
  tenacity==8.2.3 (Unable to locate actual module version, using vendor.txt specified version)
  tomli==2.0.1
  truststore==0.9.1
Compatible tags: 39
  cp311-cp311-mingw_x86_64_ucrt
  cp311-abi3-mingw_x86_64_ucrt
  cp311-none-mingw_x86_64_ucrt
  cp310-abi3-mingw_x86_64_ucrt
  cp39-abi3-mingw_x86_64_ucrt
  cp38-abi3-mingw_x86_64_ucrt
  cp37-abi3-mingw_x86_64_ucrt
  cp36-abi3-mingw_x86_64_ucrt
  cp35-abi3-mingw_x86_64_ucrt
  cp34-abi3-mingw_x86_64_ucrt
  cp33-abi3-mingw_x86_64_ucrt
  cp32-abi3-mingw_x86_64_ucrt
  py311-none-mingw_x86_64_ucrt
  py3-none-mingw_x86_64_ucrt
  py310-none-mingw_x86_64_ucrt
  py39-none-mingw_x86_64_ucrt
  py38-none-mingw_x86_64_ucrt
  py37-none-mingw_x86_64_ucrt
  py36-none-mingw_x86_64_ucrt
  py35-none-mingw_x86_64_ucrt
  py34-none-mingw_x86_64_ucrt
  py33-none-mingw_x86_64_ucrt
  py32-none-mingw_x86_64_ucrt
  py31-none-mingw_x86_64_ucrt
  py30-none-mingw_x86_64_ucrt
  cp311-none-any
  py311-none-any
  py3-none-any
  py310-none-any
  py39-none-any
  py38-none-any
  py37-none-any
  py36-none-any
  py35-none-any
  py34-none-any
  py33-none-any
  py32-none-any
  py31-none-any
  py30-none-any

@lukapeschke
Copy link
Collaborator

#284 will add the source distribution to PyPI

@PrettyWood
Copy link
Member

v0.12.0 is out

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants