santoshlite / Empyrial

An Open Source Portfolio Backtesting Engine for Everyone | 面向所有人的开源投资组合回测引擎
https://empyrial.gitbook.io/empyrial/
MIT License
914 stars 124 forks source link

Error on pip installation #122

Open HarryRogers0 opened 5 months ago

HarryRogers0 commented 5 months ago

Describe the bug When installing the module using pip install empyrial I get the following error AttributeError: module 'configparser' has no attribute 'SafeConfigParser'. Did you mean: 'RawConfigParser'? To Reproduce Run pip install empyrial

Screenshots If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

localperf commented 3 months ago

I am having the same problem on 5/26/2024. Python 3.12, Windows 10

orenvor commented 2 months ago

This is caused from the dependency in empyrical library, see related bug in: https://github.com/quantopian/empyrical/issues/139

BigFav commented 1 month ago

Plus one on this. This issue blocks people from being able to use the package easily and effectively.