Open sonique6784 opened 2 weeks ago
What version YFC? Latest release has big changes to download
, so I'm curious if upgrading to latest, or downgrading to previous, helps.
@ValueRaider thanks I tried to downgrade as suggested, but I still get the same error.
I tried with yfinance 0.2.40
(latest), 0.2.38
, 0.2.36
(found in yfinance-cache dependencies), but no luck.
Perhaps you could share your configuration and module versions with pip list
?
$ python --version
Python 3.9.19
$ pip list
Package Version
--------------------- -----------
appdirs 1.4.4
beautifulsoup4 4.12.3
certifi 2024.7.4
charset-normalizer 3.3.2
click 8.1.7
exchange_calendars 4.5.5
frozendict 2.4.4
html5lib 1.1
idna 3.7
korean-lunar-calendar 0.3.1
lxml 5.2.2
multitasking 0.0.11
numpy 1.26.4
pandas 2.0.3
peewee 3.17.5
pip 24.0
platformdirs 4.2.2
pyluach 2.2.0
python-dateutil 2.9.0.post0
pytz 2024.1
requests 2.32.3
scipy 1.13.1
setuptools 69.2.0
six 1.16.0
soupsieve 2.5
toolz 0.12.1
tzdata 2024.1
urllib3 2.2.2
webencodings 0.5.1
yfinance 0.2.36
yfinance-cache 0.6.4
Python 3.12. It's more likely to be how multiprocessing works on Macs than package versions - I dev on Linux. You aren't first to encounter issues on Mac
I tried with Python 3.12, but the issue is the same. Sounds like it is specific to Mac. I will run my program in a Docker for now.
FYI
$ python --version
Python 3.12.3
$ pip list
Package Version
--------------------- -----------
appdirs 1.4.4
beautifulsoup4 4.12.3
certifi 2024.7.4
charset-normalizer 3.3.2
click 8.1.7
exchange_calendars 4.5.5
frozendict 2.4.4
html5lib 1.1
idna 3.7
korean-lunar-calendar 0.3.1
lxml 5.2.2
multitasking 0.0.11
numpy 1.26.4
pandas 2.0.3
peewee 3.17.5
pip 24.0
platformdirs 4.2.2
pyluach 2.2.0
python-dateutil 2.9.0.post0
pytz 2024.1
requests 2.32.3
scipy 1.14.0
six 1.16.0
soupsieve 2.5
toolz 0.12.1
tzdata 2024.1
urllib3 2.2.2
webencodings 0.5.1
yfinance 0.2.40
yfinance-cache 0.6.4
I'm not able to run yfinance-cache. I get the following python multiprocessing errors:
I tried with Python 3.12 and 3.9, macOS Ventura
What Python version do you recommend?