无法安装mac os

2024-09-30 05:24:04 发布

您现在位置:Python中文网/ 问答频道 /正文

伙计们。当我试着跑的时候

poetry install --no-root

当poetry尝试解决pandas依赖项时,我收到一个错误:

n file included from pandas/_libs/lib.c:666:
    pandas/_libs/src/parse_helper.h:141:26: error: implicit declaration of function 'tolower_ascii' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
        for (; *p; ++p) *p = tolower_ascii(*p);
                             ^
    1 warning and 1 error generated.
    error: command '/usr/bin/clang' failed with exit code 1
    ----------------------------------------
ERROR: Command errored out with exit status 1: /Users/jamesnebeker/.virtualenvs/company/bin/python -u -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'/private/var/folders/2y/46hhmqpd5vs5vh1pghd_nn9r0000gp/T/pip-install-s60fjeom/pandas_2b30bf547347406991c0eac0a8670786/setup.py'"'"'; __file__='"'"'/private/var/folders/2y/46hhmqpd5vs5vh1pghd_nn9r0000gp/T/pip-install-s60fjeom/pandas_2b30bf547347406991c0eac0a8670786/setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(__file__) if os.path.exists(__file__) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record /private/var/folders/2y/46hhmqpd5vs5vh1pghd_nn9r0000gp/T/pip-record-w_pe6_s4/install-record.txt --single-version-externally-managed --compile --install-headers /Users/jamesnebeker/.virtualenvs/company/include/site/python3.9/pandas Check the logs for full command output.

这是在马科斯大苏尔。我不知道是什么导致了这个问题,也无法在网上找到任何相关信息。任何帮助都将不胜感激


Tags: installpipfrompandaspoetryvarsetupcode

热门问题