Open WilliamZhong opened 2 months ago
难道是pandas 1.1.4不支持M系列的CPU?
note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed cleaning build dir for numpy
Failed to build numpy
ERROR: Could not build wheels for numpy, which is required to install pyproject.toml-based projects
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip. error: subprocess-exited-with-error
× pip subprocess to install build dependencies did not run successfully. │ exit code: 1 ╰─> See above for output.
机器:MacBook Pro M3 Max OS:macOS 14.4.1 Python:python3.8
下面是安装的全过程: 10:20:47@15/Apr/2024:~/zvt >>> python3.8 -m venv venv 10:21:07@15/Apr/2024:~/zvt >>> ll drwxr-xr-x - william 15 4 10:21 venv/ 10:21:10@15/Apr/2024:~/zvt >>> source venv/bin/activate.csh [venv] 10:21:21@15/Apr/2024:~/zvt >>> pip list Package Version
pip 23.0.1 setuptools 56.0.0 WARNING: There was an error checking the latest version of pip. [venv] 10:21:56@15/Apr/2024:~/zvt >>> pip install -U pip Requirement already satisfied: pip in ./venv/lib/python3.8/site-packages (23.0.1) Collecting pip Downloading pip-24.0-py3-none-any.whl (2.1 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 2.1/2.1 MB 2.4 MB/s eta 0:00:00 Installing collected packages: pip Attempting uninstall: pip Found existing installation: pip 23.0.1 Uninstalling pip-23.0.1: Successfully uninstalled pip-23.0.1 Successfully installed pip-24.0 WARNING: There was an error checking the latest version of pip. [venv] 10:22:14@15/Apr/2024:~/zvt >>> pip install -U setuptools Requirement already satisfied: setuptools in ./venv/lib/python3.8/site-packages (56.0.0) Collecting setuptools Using cached setuptools-69.5.1-py3-none-any.whl.metadata (6.2 kB) Using cached setuptools-69.5.1-py3-none-any.whl (894 kB) Installing collected packages: setuptools Attempting uninstall: setuptools Found existing installation: setuptools 56.0.0 Uninstalling setuptools-56.0.0: Successfully uninstalled setuptools-56.0.0 Successfully installed setuptools-69.5.1 [venv] 10:22:24@15/Apr/2024:~/zvt >>> pip install zvt Collecting zvt Using cached zvt-0.10.5-py3-none-any.whl.metadata (38 kB) Collecting requests==2.20.1 (from zvt) Using cached requests-2.20.1-py2.py3-none-any.whl.metadata (5.5 kB) Collecting SQLAlchemy==1.4.20 (from zvt) Using cached SQLAlchemy-1.4.20.tar.gz (7.7 MB) Installing build dependencies ... done Getting requirements to build wheel ... done Installing backend dependencies ... done Preparing metadata (pyproject.toml) ... done Collecting pandas==1.1.4 (from zvt) Using cached pandas-1.1.4.tar.gz (5.2 MB) Installing build dependencies ... error error: subprocess-exited-with-error
× pip subprocess to install build dependencies did not run successfully. │ exit code: 1 ╰─> [282 lines of output] Ignoring numpy: markers 'python_version == "3.6" and platform_system != "AIX"' don't match your environment Ignoring numpy: markers 'python_version == "3.7" and platform_system != "AIX"' don't match your environment Ignoring numpy: markers 'python_version == "3.6" and platform_system == "AIX"' don't match your environment Ignoring numpy: markers 'python_version == "3.7" and platform_system == "AIX"' don't match your environment Ignoring numpy: markers 'python_version == "3.8" and platform_system == "AIX"' don't match your environment Ignoring numpy: markers 'python_version >= "3.9"' don't match your environment Collecting setuptools Using cached setuptools-69.5.1-py3-none-any.whl.metadata (6.2 kB) Collecting wheel Using cached wheel-0.43.0-py3-none-any.whl.metadata (2.2 kB) Collecting Cython<3,>=0.29.21 Using cached Cython-0.29.37-py2.py3-none-any.whl.metadata (3.1 kB) Collecting numpy==1.17.3 Downloading numpy-1.17.3.zip (6.4 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 6.4/6.4 MB 2.4 MB/s eta 0:00:00 Installing build dependencies: started Installing build dependencies: finished with status 'done' Getting requirements to build wheel: started Getting requirements to build wheel: finished with status 'done' Installing backend dependencies: started Installing backend dependencies: finished with status 'done' Preparing metadata (pyproject.toml): started Preparing metadata (pyproject.toml): finished with status 'error' error: subprocess-exited-with-error
note: This error originates from a subprocess, and is likely not a problem with pip. error: subprocess-exited-with-error
× pip subprocess to install build dependencies did not run successfully. │ exit code: 1 ╰─> See above for output.
note: This error originates from a subprocess, and is likely not a problem with pip. [venv] 10:23:16@15/Apr/2024:~/zvt >>
应该是在编译pandas之前的环境依赖是出错,是clang的库链接有问题吗?