JerBouma / ThePassiveInvestor

Passive Investing for the Average Joe
https://www.jeroenbouma.com/
MIT License
538 stars 68 forks source link

Issue with Passive Investor Excel tzinfo datetime/time object is not set to None #6

Closed Dabs212 closed 1 year ago

Dabs212 commented 2 years ago

OS Windows10

Error

The program has crashed with the following error:

Excel does not support timezones in datetimes. The tzinfo in the datetime/time object must be set to None.

If the problem persists, please create an Issue with the error message on the project's GitHub page:https://github.com/JerBouma/ThePassiveInvestor/issues.

JerBouma commented 1 year ago

I've retired the program due to the fact maintaining is not possible. I've updated the package to reflect the changes in yfinance. Please use the package instead, this should work!

Dabs212 commented 1 year ago

Thanks for the update! Do we hve to reinstall the program to make it work or use it directly as is?

JerBouma commented 1 year ago

The program itself has been deprecated so the only way to use the package now is directly though Python. See: https://github.com/JerBouma/ThePassiveInvestor#installation. It could be that you need to type pip install thepassiveinvestor -U instead of pip install thepassiveinvestor to update to the latest version.

Dabs212 commented 1 year ago

Thanks, after -U option progrma seems to act normal and working!! Yeh. May I ask how you fixed Tz zone issue?