Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error on pip installation #122

Open
HarryRogers0 opened this issue Mar 17, 2024 · 8 comments
Open

Error on pip installation #122

HarryRogers0 opened this issue Mar 17, 2024 · 8 comments

Comments

@HarryRogers0
Copy link

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):

  • OS: Windows
  • Visual Studio
@localperf
Copy link

localperf commented May 26, 2024

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

@orenvor
Copy link

orenvor commented Jun 8, 2024

This is caused from the dependency in empyrical library, see related bug in:
quantopian/empyrical#139

@BigFav
Copy link

BigFav commented Jul 30, 2024

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

@kullark
Copy link

kullark commented Sep 12, 2024

same error with the install on mac os:

    File "/private/var/folders/b0/sy_vsjv502x55ztflt6wy3740000gn/T/pip-install-rt2j06nw/empyrical_a09e93f86beb4e1588acba0ead632e28/versioneer.py", line 1473, in get_version
      return get_versions()["version"]
             ^^^^^^^^^^^^^^
    File "/private/var/folders/b0/sy_vsjv502x55ztflt6wy3740000gn/T/pip-install-rt2j06nw/empyrical_a09e93f86beb4e1588acba0ead632e28/versioneer.py", line 1406, in get_versions
      cfg = get_config_from_root(root)
            ^^^^^^^^^^^^^^^^^^^^^^^^^^
    File "/private/var/folders/b0/sy_vsjv502x55ztflt6wy3740000gn/T/pip-install-rt2j06nw/empyrical_a09e93f86beb4e1588acba0ead632e28/versioneer.py", line 412, in get_config_from_root
      parser = configparser.SafeConfigParser()
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  AttributeError: module 'configparser' has no attribute 'SafeConfigParser'. Did you mean: 'RawConfigParser'?
  [end of output]

note: This error originates from a subprocess, and is likely not a problem with pip.
error: subprocess-exited-with-error

× Getting requirements to build wheel did not run successfully.
│ exit code: 1
╰─> See above for output.

note: This error originates from a subprocess, and is likely not a problem with pip.

@Praj-17
Copy link

Praj-17 commented Oct 1, 2024

Is this Project Abudoned then? The same issue still persists. @santoshlite

@santoshlite
Copy link
Owner

santoshlite commented Oct 1, 2024

Hey @Praj-17, notifications on my issues were not working for some reason... Thanks for notifying me, I'll investigate this by tonight and share updates!

@Praj-17
Copy link

Praj-17 commented Oct 3, 2024

Hi , @santoshlite do you have any update with this, else does any other version currently works? so I can get started?

@santoshlite
Copy link
Owner

Hey @Praj-17, while working on it I noticed another bug I need to fix... Hoping on releasing a fix by Monday!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

7 participants