Hi guys,
I'm trying to run a python script that requires yfinance. This is the
error I'm getting:
$ pip3 install yfinance
Collecting yfinance
Using cached yfinance-0.2.63-py2.py3-none-any.whl.metadata (5.8 kB)
Collecting pandas>=1.3.0 (from yfinance)
Using cached pandas-2.3.0.tar.gz (4.5 MB)
Installing build dependencies ... done
Getting requirements to build wheel ... done
Preparing metadata (pyproject.toml) ... done
Requirement already satisfied: numpy>=1.16.5 in
/usr/lib/python3.9/site-packages (from yfinance) (2.0.1)
Requirement already satisfied: requests>=2.31 in
/usr/lib/python3.9/site-packages (from yfinance) (2.32.3)
Collecting multitasking>=0.0.7 (from yfinance)
Using cached multitasking-0.0.11-py3-none-any.whl.metadata (5.5 kB)
Requirement already satisfied: platformdirs>=2.0.0 in
/usr/lib/python3.9/site-packages (from yfinance) (4.3.6)
Requirement already satisfied: pytz>=2022.5 in
/usr/lib/python3.9/site-packages (from yfinance) (2023.3)
Collecting frozendict>=2.3.4 (from yfinance)
Using cached frozendict-2.4.6.tar.gz (316 kB)
Installing build dependencies ... done
Getting requirements to build wheel ... done
Preparing metadata (pyproject.toml) ... done
Collecting peewee>=3.16.2 (from yfinance)
Using cached peewee-3.18.1.tar.gz (3.0 MB)
Installing build dependencies ... done
Getting requirements to build wheel ... done
Preparing metadata (pyproject.toml) ... done
Collecting beautifulsoup4>=4.11.1 (from yfinance)
Using cached beautifulsoup4-4.13.4-py3-none-any.whl.metadata (3.8 kB)
Collecting curl_cffi>=0.7 (from yfinance)
Using cached curl_cffi-0.11.4.tar.gz (149 kB)
Installing build dependencies ... done
Getting requirements to build wheel ... error
error: subprocess-exited-with-error
× Getting requirements to build wheel did not run successfully.
│ exit code: 1
╰─> [37 lines of output]
Traceback (most recent call last):
File
"/usr/local/lib/python3.9/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py",
line 389, in <module>
main()
File
"/usr/local/lib/python3.9/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py",
line 373, in main
json_out["return_val"] = hook(**hook_input["kwargs"])
File
"/usr/local/lib/python3.9/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py",
line 143, in get_requires_for_build_wheel
return hook(config_settings)
File
"/tmp/pip-build-env-2xh6qiqq/overlay/lib/python3.9/site-packages/setuptools/build_meta.py",
line 331, in get_requires_for_build_wheel
return self._get_build_requires(config_settings,
requirements=[])
File
"/tmp/pip-build-env-2xh6qiqq/overlay/lib/python3.9/site-packages/setuptools/build_meta.py",
line 301, in _get_build_requires
self.run_setup()
File
"/tmp/pip-build-env-2xh6qiqq/overlay/lib/python3.9/site-packages/setuptools/build_meta.py",
line 317, in run_setup
exec(code, locals())
File "<string>", line 16, in <module>
File
"/tmp/pip-build-env-2xh6qiqq/overlay/lib/python3.9/site-packages/setuptools/__init__.py",
line 115, in setup
return distutils.core.setup(**attrs)
File
"/tmp/pip-build-env-2xh6qiqq/overlay/lib/python3.9/site-packages/setuptools/_distutils/core.py",
line 148, in setup
_setup_distribution = dist = klass(attrs)
File
"/tmp/pip-build-env-2xh6qiqq/overlay/lib/python3.9/site-packages/setuptools/dist.py",
line 321, in __init__
_Distribution.__init__(self, dist_attrs)
File
"/tmp/pip-build-env-2xh6qiqq/overlay/lib/python3.9/site-packages/setuptools/_distutils/dist.py",
line 309, in __init__
self.finalize_options()
File
"/tmp/pip-build-env-2xh6qiqq/overlay/lib/python3.9/site-packages/setuptools/dist.py",
line 784, in finalize_options
ep(self)
File
"/tmp/pip-build-env-2xh6qiqq/overlay/lib/python3.9/site-packages/setuptools/dist.py",
line 804, in _finalize_setup_keywords
ep.load()(self, ep.name, value)
File
"/tmp/pip-build-env-2xh6qiqq/overlay/lib/python3.9/site-packages/cffi/setuptools_ext.py",
line 216, in cffi_modules
add_cffi_module(dist, cffi_module)
File
"/tmp/pip-build-env-2xh6qiqq/overlay/lib/python3.9/site-packages/cffi/setuptools_ext.py",
line 49, in add_cffi_module
execfile(build_file_name, mod_vars)
File
"/tmp/pip-build-env-2xh6qiqq/overlay/lib/python3.9/site-packages/cffi/setuptools_ext.py",
line 25, in execfile
exec(code, glob, glob)
File "scripts/build.py", line 51, in <module>
arch = detect_arch()
File "scripts/build.py", line 48, in detect_arch
raise Exception(f"Unsupported arch: {uname}")
Exception: Unsupported arch:
uname_result(system='CYGWIN_NT-10.0-26100', node='REDACTED',
release='3.6.3-1.x86_64', version='2025-06-05 11:45 UTC',
machine='x86_64')
[end of output]
I thought about subing in Linux for the uname but I want something that
is more general. This must have happened before. Is there a way to
search the cygwin mail archives? Delorie seems to out of commission.
What should I do?
TIA.
Cygwin Fan.
--
Problem reports: https://cygwin.com/problems.html
FAQ: https://cygwin.com/faq/
Documentation: https://cygwin.com/docs.html
Unsubscribe info: https://cygwin.com/ml/#unsubscribe-simple