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

PANDAS INSTALLATION PIP FAILED ON WINDOWS 11 #89589

Closed
jdfoxito mannequin opened this issue Oct 11, 2021 · 4 comments
Closed

PANDAS INSTALLATION PIP FAILED ON WINDOWS 11 #89589

jdfoxito mannequin opened this issue Oct 11, 2021 · 4 comments
Labels
3.10 only security fixes build The build process and cross-build OS-windows

Comments

@jdfoxito
Copy link
Mannequin

jdfoxito mannequin commented Oct 11, 2021

BPO 45426
Nosy @pfmoore, @ericvsmith, @tjguk, @zware, @zooba

Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.

Show more details

GitHub fields:

assignee = None
closed_at = <Date 2021-10-11.08:00:24.073>
created_at = <Date 2021-10-11.05:08:45.270>
labels = ['build', '3.10', 'OS-windows']
title = 'PANDAS INSTALLATION PIP FAILED ON WINDOWS 11'
updated_at = <Date 2021-10-11.08:00:24.073>
user = 'https://bugs.python.org/jdfoxito'

bugs.python.org fields:

activity = <Date 2021-10-11.08:00:24.073>
actor = 'eric.smith'
assignee = 'none'
closed = True
closed_date = <Date 2021-10-11.08:00:24.073>
closer = 'eric.smith'
components = ['Windows']
creation = <Date 2021-10-11.05:08:45.270>
creator = 'jdfoxito'
dependencies = []
files = []
hgrepos = []
issue_num = 45426
keywords = []
message_count = 4.0
messages = ['403618', '403619', '403620', '403628']
nosy_count = 6.0
nosy_names = ['paul.moore', 'eric.smith', 'tim.golden', 'zach.ware', 'steve.dower', 'jdfoxito']
pr_nums = []
priority = 'normal'
resolution = 'third party'
stage = 'resolved'
status = 'closed'
superseder = None
type = 'compile error'
url = 'https://bugs.python.org/issue45426'
versions = ['Python 3.10']

@jdfoxito
Copy link
Mannequin Author

jdfoxito mannequin commented Oct 11, 2021

Generating code
Finished generating code
building 'pandas._libs.parsers' extension
C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.28.29910\bin\HostX86\x64\cl.exe /c /nologo /Ox /W3 /GL /DNDEBUG /MD -DNPY_NO_DEPRECATED_API=0 -I.\pandas\_libs -Ipandas/_libs/src/klib -Ipandas/_libs/src -IC:\Users\ufx\AppData\Local\Temp\pip-build-env-e6frjkyc\overlay\Lib\site-packages\numpy\core\include -IC:\Users\ufx\AppData\Local\Programs\Python\Python310\include -IC:\Users\ufx\AppData\Local\Programs\Python\Python310\Include -IC:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.28.29910\include -IC:\Program Files (x86)\Windows Kits\NETFXSDK\4.8\include\um -IC:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\ucrt -IC:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\shared -IC:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\um -IC:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\winrt -IC:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\cppwinrt /Tcpandas/_libs/src/parser/io.c /Fobuild\temp.win-amd64-3.10\Release\pandas/_libs/src/parser/io.obj
io.c
pandas/_libs/src/klib\khash.h(705): warning C4090: 'function': different 'const' qualifiers
pandas/_libs/src/parser/io.c(139): error C2065: 'ssize_t': undeclared identifier
pandas/_libs/src/parser/io.c(139): error C2146: syntax error: missing ';' before identifier 'rv'
pandas/_libs/src/parser/io.c(139): error C2065: 'rv': undeclared identifier
pandas/_libs/src/parser/io.c(145): error C2065: 'rv': undeclared identifier
pandas/_libs/src/parser/io.c(145): warning C4267: 'function': conversion from 'size_t' to 'unsigned int', possible loss of data
pandas/_libs/src/parser/io.c(146): error C2065: 'rv': undeclared identifier
pandas/_libs/src/parser/io.c(157): error C2065: 'rv': undeclared identifier
pandas/_libs/src/parser/io.c(158): error C2065: 'rv': undeclared identifier
error: command 'C:\\Program Files (x86)\\Microsoft Visual Studio\\2019\\Community\\VC\\Tools\\MSVC\\14.28.29910\\bin\\HostX86\\x64\\cl.exe' failed with exit code 2
----------------------------------------
ERROR: Failed building wheel for pandas
Failed to build pandas
ERROR: Could not build wheels for pandas which use PEP-517 and cannot be installed directly

@jdfoxito jdfoxito mannequin added 3.10 only security fixes OS-windows labels Oct 11, 2021
@jdfoxito
Copy link
Mannequin Author

jdfoxito mannequin commented Oct 11, 2021

C:\Users\ufx>pip install pandas
Collecting pandas
Using cached pandas-1.3.3.tar.gz (4.7 MB)
Installing build dependencies ... error
ERROR: Command errored out with exit status 1:
command: 'C:\Users\ufx\AppData\Local\Programs\Python\Python310\python.exe' 'C:\Users\ufx\AppData\Local\Temp\pip-standalone-pip-hwkn7bp9\env_pip.zip\pip' install --ignore-installed --no-user --prefix 'C:\Users\ufx\AppData\Local\Temp\pip-build-env-q28f4203\overlay' --no-warn-script-location --no-binary :none: --only-binary :none: -i https://pypi.org/simple -- 'setuptools>=51.0.0' wheel 'Cython>=0.29.21,<3' 'numpy==1.17.3; python_version=='"'"'3.7'"'"' and (platform_machine!='"'"'arm64'"'"' or platform_system!='"'"'Darwin'"'"') and platform_machine!='"'"'aarch64'"'"'' 'numpy==1.18.3; python_version=='"'"'3.8'"'"' and (platform_machine!='"'"'arm64'"'"' or platform_system!='"'"'Darwin'"'"') and platform_machine!='"'"'aarch64'"'"'' 'numpy==1.19.3; python_version>='"'"'3.9'"'"' and (platform_machine!='"'"'arm64'"'"' or platform_system!='"'"'Darwin'"'"') and platform_machine!='"'"'aarch64'"'"'' 'numpy==1.19.2; python_version=='"'"'3.7'"'"' and platform_machine=='"'"'aarch64'"'"'' 'numpy==1.19.2; python_version=='"'"'3.8'"'"' and platform_machine=='"'"'aarch64'"'"'' 'numpy>=1.20.0; python_version=='"'"'3.8'"'"' and platform_machine=='"'"'arm64'"'"' and platform_system=='"'"'Darwin'"'"'' 'numpy>=1.20.0; python_version=='"'"'3.9'"'"' and platform_machine=='"'"'arm64'"'"' and platform_system=='"'"'Darwin'"'"''
cwd: None
Complete output (839 lines):
Ignoring numpy: markers 'python_version == "3.7" and (platform_machine != "arm64" or platform_system != "Darwin") and platform_machine != "aarch64"' don't match your environment
Ignoring numpy: markers 'python_version == "3.8" and (platform_machine != "arm64" or platform_system != "Darwin") and platform_machine != "aarch64"' don't match your environment
Ignoring numpy: markers 'python_version == "3.7" and platform_machine == "aarch64"' don't match your environment
Ignoring numpy: markers 'python_version == "3.8" and platform_machine == "aarch64"' don't match your environment
Ignoring numpy: markers 'python_version == "3.8" and platform_machine == "arm64" and platform_system == "Darwin"' don't match your environment
Ignoring numpy: markers 'python_version == "3.9" and platform_machine == "arm64" and platform_system == "Darwin"' don't match your environment
Collecting setuptools>=51.0.0
Using cached setuptools-58.2.0-py3-none-any.whl (946 kB)
Collecting wheel
Using cached wheel-0.37.0-py2.py3-none-any.whl (35 kB)

@jdfoxito
Copy link
Mannequin Author

jdfoxito mannequin commented Oct 11, 2021

descarga la version 3.10 se supone es estable

pero al momento de instalar PANDAS usando PIP en el CMD de windows 11

FALLA

y empieza a buscar otras vesiones de menores de pandas para intentar instalar via pip

pero todas fallan!

@jdfoxito jdfoxito mannequin added build The build process and cross-build labels Oct 11, 2021
@ericvsmith
Copy link
Member

Please report this on the pandas bug tracker: https://github.com/pandas-dev/pandas/issues

@ezio-melotti ezio-melotti transferred this issue from another repository Apr 10, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
3.10 only security fixes build The build process and cross-build OS-windows
Projects
None yet
Development

No branches or pull requests

1 participant