- html - 出于某种原因,IE8 对我的 Sass 文件中继承的 html5 CSS 不友好?
- JMeter 在响应断言中使用 span 标签的问题
- html - 在 :hover and :active? 上具有不同效果的 CSS 动画
- html - 相对于居中的 html 内容固定的 CSS 重复背景?
我将 Python 3.9 与 Mac OS X (Big Sur) 一起使用。我想安装 Pandas 。我正在使用 pip,但这失败了
pip 安装 Pandas
导致此错误消息
Collecting pandas
Using cached pandas-1.2.0.tar.gz (5.4 MB)
Installing build dependencies ... error
ERROR: Command errored out with exit status 1:
command: /Users/davea/Documents/workspace/chicommons/maps/web/venv/bin/python3 /Users/davea/Documents/workspace/chicommons/maps/web/venv/lib/python3.9/site-packages/pip install --ignore-installed --no-user --prefix /private/var/folders/hm/_tf9xpw10mb0tffdv32g8lrh0000gn/T/pip-build-env-r7sphyv3/overlay --no-warn-script-location --no-binary :none: --only-binary :none: -i https://pypi.org/simple -- setuptools wheel 'Cython>=0.29.21,<3' 'numpy==1.16.5; python_version=='"'"'3.7'"'"' and platform_system!='"'"'AIX'"'"'' 'numpy==1.17.3; python_version=='"'"'3.8'"'"' and platform_system!='"'"'AIX'"'"'' 'numpy==1.16.5; python_version=='"'"'3.7'"'"' and platform_system=='"'"'AIX'"'"'' 'numpy==1.17.3; python_version=='"'"'3.8'"'"' and platform_system=='"'"'AIX'"'"'' 'numpy; python_version>='"'"'3.9'"'"''
cwd: None
Complete output (2009 lines):
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.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
Collecting setuptools
Using cached setuptools-51.1.0-py3-none-any.whl (2.0 MB)
Collecting wheel
Using cached wheel-0.36.2-py2.py3-none-any.whl (35 kB)
Collecting Cython<3,>=0.29.21
Using cached Cython-0.29.21-py2.py3-none-any.whl (974 kB)
Collecting numpy
Using cached numpy-1.19.4.zip (7.3 MB)
...
build/bdist.macosx-10.9-universal2/wheel/numpy/random/mtrand.cpython-39-darwin.so
build/bdist.macosx-10.9-universal2/wheel/numpy/random/_generator.cpython-39-darwin.so
build/bdist.macosx-10.9-universal2/wheel/numpy/random/_pcg64.cpython-39-darwin.so
build/bdist.macosx-10.9-universal2/wheel/numpy/random/_sfc64.cpython-39-darwin.so
build/bdist.macosx-10.9-universal2/wheel/numpy/random/_mt19937.cpython-39-darwin.so
build/bdist.macosx-10.9-universal2/wheel/numpy/random/_philox.cpython-39-darwin.so
build/bdist.macosx-10.9-universal2/wheel/numpy/random/_bounded_integers.cpython-39-darwin.so
build/bdist.macosx-10.9-universal2/wheel/numpy/random/_common.cpython-39-darwin.soTraceback (most recent call last):
File "/Users/davea/Documents/workspace/chicommons/maps/web/venv/lib/python3.9/site-packages/pip/_vendor/pep517/_in_process.py", line 280, in <module>
main()
File "/Users/davea/Documents/workspace/chicommons/maps/web/venv/lib/python3.9/site-packages/pip/_vendor/pep517/_in_process.py", line 263, in main
json_out['return_val'] = hook(**hook_input['kwargs'])
File "/Users/davea/Documents/workspace/chicommons/maps/web/venv/lib/python3.9/site-packages/pip/_vendor/pep517/_in_process.py", line 204, in build_wheel
return _build_backend().build_wheel(wheel_directory, config_settings,
File "/private/var/folders/hm/_tf9xpw10mb0tffdv32g8lrh0000gn/T/pip-build-env-w99svf08/overlay/lib/python3.9/site-packages/setuptools/build_meta.py", line 211, in build_wheel
return self._build_with_temp_dir(['bdist_wheel'], '.whl',
File "/private/var/folders/hm/_tf9xpw10mb0tffdv32g8lrh0000gn/T/pip-build-env-w99svf08/overlay/lib/python3.9/site-packages/setuptools/build_meta.py", line 197, in _build_with_temp_dir
self.run_setup()
File "/private/var/folders/hm/_tf9xpw10mb0tffdv32g8lrh0000gn/T/pip-build-env-w99svf08/overlay/lib/python3.9/site-packages/setuptools/build_meta.py", line 248, in run_setup
super(_BuildMetaLegacyBackend,
File "/private/var/folders/hm/_tf9xpw10mb0tffdv32g8lrh0000gn/T/pip-build-env-w99svf08/overlay/lib/python3.9/site-packages/setuptools/build_meta.py", line 142, in run_setup
exec(compile(code, __file__, 'exec'), locals())
File "setup.py", line 508, in <module>
setup_package()
File "setup.py", line 500, in setup_package
setup(**metadata)
File "/private/var/folders/hm/_tf9xpw10mb0tffdv32g8lrh0000gn/T/pip-install-bom5tv_9/numpy/numpy/distutils/core.py", line 169, in setup
return old_setup(**new_attr)
File "/private/var/folders/hm/_tf9xpw10mb0tffdv32g8lrh0000gn/T/pip-build-env-w99svf08/overlay/lib/python3.9/site-packages/setuptools/__init__.py", line 165, in setup
return distutils.core.setup(**attrs)
File "/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/distutils/core.py", line 148, in setup
dist.run_commands()
File "/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/distutils/dist.py", line 966, in run_commands
self.run_command(cmd)
File "/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/distutils/dist.py", line 985, in run_command
cmd_obj.run()
File "/private/var/folders/hm/_tf9xpw10mb0tffdv32g8lrh0000gn/T/pip-build-env-w99svf08/overlay/lib/python3.9/site-packages/wheel/bdist_wheel.py", line 328, in run
impl_tag, abi_tag, plat_tag = self.get_tag()
File "/private/var/folders/hm/_tf9xpw10mb0tffdv32g8lrh0000gn/T/pip-build-env-w99svf08/overlay/lib/python3.9/site-packages/wheel/bdist_wheel.py", line 278, in get_tag
assert tag in supported_tags, "would build wheel with unsupported tag {}".format(tag)
AssertionError: would build wheel with unsupported tag ('cp39', 'cp39', 'macosx_11_0_universal2')
----------------------------------------
ERROR: Failed building wheel for numpy
Failed to build numpy
ERROR: Could not build wheels for numpy which use PEP 517 and cannot be installed directly
WARNING: You are using pip version 20.2.3; however, version 20.3.3 is available.
You should consider upgrading via the '/Users/davea/Documents/workspace/chicommons/maps/web/venv/bin/python3 -m pip install --upgrade pip' command.
----------------------------------------
ERROR: Command errored out with exit status 1: /Users/davea/Documents/workspace/chicommons/maps/web/venv/bin/python3 /Users/davea/Documents/workspace/chicommons/maps/web/venv/lib/python3.9/site-packages/pip install --ignore-installed --no-user --prefix /private/var/folders/hm/_tf9xpw10mb0tffdv32g8lrh0000gn/T/pip-build-env-r7sphyv3/overlay --no-warn-script-location --no-binary :none: --only-binary :none: -i https://pypi.org/simple -- setuptools wheel 'Cython>=0.29.21,<3' 'numpy==1.16.5; python_version=='"'"'3.7'"'"' and platform_system!='"'"'AIX'"'"'' 'numpy==1.17.3; python_version=='"'"'3.8'"'"' and platform_system!='"'"'AIX'"'"'' 'numpy==1.16.5; python_version=='"'"'3.7'"'"' and platform_system=='"'"'AIX'"'"'' 'numpy==1.17.3; python_version=='"'"'3.8'"'"' and platform_system=='"'"'AIX'"'"'' 'numpy; python_version>='"'"'3.9'"'"'' Check the logs for full command output.
不知道还有什么可以尝试的。
最佳答案
归功于 @KetZoomer .通过运行升级 pip
. venv/bin/activate
venv/bin/python -m pip install --upgrade pip
解决了这个问题。
关于python-3.x - 如何在 Mac OS X Big Sur 上安装 Python 3.9 的 pandas 模块?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/65460689/
在更新到macOS Big(11.0 Beta(20A5395g))的最新Beta版本之后-Android Studio(4.1)一直关闭是因为[NSOpenGLContext setView:] m
当我跑 git gui在 Mac Big Sur 上。这是发生的事情: Mac OS X 10.100 or later required ! error: git-gui died of signa
自从我买了一台新的基于 ARM 的 M1 MacBook Pro,我就一直遇到严重且一致的 PostgreSQL 问题 (psql 13.1)。无论我使用 Rails 服务器还是 Foreman,我都
我最近买了新的M1芯片Macbook Pro,运行MacOS Big Sur,但进程收到SIGSEGV或segmentation fault后没有生成核心文件。 我的旧 Macbook 运行 MacO
我已将 Mac 升级到 Big Sur 11.1 并尝试从 EnterpriseDB 安装 PostgreSQL,但在安装完成之前我一直遇到两个错误。 错误如下: 创建菜单快捷方式时发生非 fatal
我使用的是 macOS Big Sur 11.0.1。 我正在尝试使用此脚本从用户代理获取操作系统版本: $ua = $_SERVER['HTTP_USER_AGENT']; echo "User A
自从今天发布 Big Sur 以来,我的 QT 应用程序停止工作,没有任何错误,项目运行,只是没有显示 Windows。 在 Pyside2 上使用 Python,使用 Pycharms 编写和启动。
当我使用 SwiftUI App Lifecycle 创建应用程序时,工具栏按钮与新的 Big Sur 工具栏按钮样式(具有 onHover 效果样式)匹配。但是如果我选择传统的 AppDelegat
升级到 Big Sur 后,我无法再打开 Ampps。我已经尝试卸载并重新安装,但问题仍然存在。打开应用程序时,它没有响应,您只能在将鼠标悬停在应用程序上时看到 Mac 色轮。等待几分钟(大约半小时)
在 Big Sur 中,Xcode 和 Calendar 的工具栏项目在打开时保留在侧边栏上,但在侧边栏折叠时在左侧仍然可见。 侧边栏打开: 侧边栏折叠: 在 "Adopt the New Look
关闭。此题需要details or clarity 。目前不接受答案。 想要改进这个问题吗?通过 editing this post 添加详细信息并澄清问题. 已关闭 9 年前。 Improve th
在以下环境中: Mac 操作系统:大苏尔 R:版本 4.0.3 Java:Java 版本“1.8.0_271” 我正在尝试运行: install.packages("rJava", type='sou
MariaDB 运行良好,但现在无法在启动时运行。我已经卸载,然后重新安装,但没有解决任何问题。 这是 mysql.server.start 的输出 mysql.server 启动 Starting
我最近将 macOS 从 High Sierra 升级到 Big Sur。我的 Anaconda 安装,之前安装在 /anaconda3现在坏了。 第一 /anaconda3不见了;我在 /Syste
我刚刚将 MacOS 更新为新版本(Big Sur)。当我尝试 vagrant up 启动 vagrant 时,它显示如下错误: There was an error while executing
我从 Mohave 升级到 Big Sur,发现 Homebrew 软件不再起作用。我使用命令安装了命令行工具 xcode-select --install 我跑后brew list ,我收到以下错误
自从升级到 Big Sur 后,Pyenv 就没有工作了。它是这样开始的: ❯ pyenv install 3.8.0 python-build: use openssl@1.1 from homeb
我在通过 Homebrew 在 macOS Big Sur 上安装 Valgrind 时遇到了麻烦。在我尝试过的终端中 $ brew install valgrind Homebrew 的自动更新后,
我希望表格解雇就像外观一样动画但相反。我认为这也是标准行为。例如,当您创建新文件时,您可以在 Xcode 中看到它。 但正如你所看到的,它在没有动画的情况下消失了 这是我的代码: struct Con
在 macOS Big Sur 之后,11.0.1更新后,Android 模拟器开始显示图像渲染问题。 问题 模拟器显示窗口正在重复设备图像。安 issue已记录在 Android 的 IssueTr
我是一名优秀的程序员,十分优秀!