-
-
Notifications
You must be signed in to change notification settings - Fork 2k
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
polars failed to import after install version newer than 0.20.16 #15450
Comments
pip logs |
version 0.20.19 still cannot run D:\>pip install polars -U
WARNING: Ignoring invalid distribution -uckdb (d:\python38\lib\site-packages)
Looking in indexes: https://pypi.tuna.tsinghua.edu.cn/simple
Requirement already satisfied: polars in d:\python38\lib\site-packages (0.20.18)
Collecting polars
Downloading https://pypi.tuna.tsinghua.edu.cn/packages/a6/78/d8ce1fe04adb29fa25bdc56c27a07bbbdd3acb3e8eedc4c116a427f86ee9/polars-0.20.19-cp38-abi3-win_amd64.whl (26.2 MB)
---------------------------------------- 26.2/26.2 MB 22.6 MB/s eta 0:00:00
WARNING: Ignoring invalid distribution -uckdb (d:\python38\lib\site-packages)
DEPRECATION: pytorch-lightning 1.7.7 has a non-standard dependency specifier torch>=1.9.*. pip 24.1 will enforce this behaviour change. A possible replacement is to upgrade to a newer version of pytorch-lightning or contact the author to s
uggest that they release a version with a conforming dependency specifiers. Discussion can be found at https://github.com/pypa/pip/issues/12063
Installing collected packages: polars
Attempting uninstall: polars
Found existing installation: polars 0.20.18
Uninstalling polars-0.20.18:
Successfully uninstalled polars-0.20.18
Successfully installed polars-0.20.19
C:\Users\LD>python
Python 3.8.8 (tags/v3.8.8:024d805, Feb 19 2021, 13:18:16) [MSC v.1928 64 bit (AMD64)] on win32
Type "help", "copyright", "credits" or "license" for more information.
>>> import polars
D:\Python38\lib\site-packages\polars\meta\build.py:5: UserWarning: Polars binary is missing!
from polars._utils.polars_version import get_polars_version
>>> polars.__version__
'' |
but If I install it on a new machine, everything is ok
|
This error message only appears on Windows 7 systems. It works fine on Windows 11 systems. Based on my testing, installing a version higher than 0.20.16 on Windows 7 results in this error, while installing version 0.20.16 works correctly. 这个报错信息只出现在Windows7系统上,在Windows11系统上正常,经过我的测试,在Windows7上安装大于0.20.16的版本就会有这个报错,安装0.20.16版本则正常。 |
you are right, 0.20.16 is ok
|
Not sure if it will be any help here but trying to read (Not sure if the same applies for Windows) |
Maybe related to rust-lang/rust#121317 If I understand correctly, rustc no longer generates binaries compatible with Windows 7 by default. |
Checks
Reproducible example
then
Log output
No response
Issue description
all features of polars cannot be use
Expected behavior
it works as normal
Installed versions
The text was updated successfully, but these errors were encountered: