sdfordham / pysyncon

A python module for the synthetic control method
MIT License
41 stars 9 forks source link

AttributeError: module 'numpy.linalg._umath_linalg' has no attribute '_ilp64' #35

Closed josealvarez97 closed 8 months ago

josealvarez97 commented 8 months ago

Hey,

Thank you for the amazing work with this library, it's very impressive. I also appreciate that the library aims to replicate the classic papers in the literature.

I wanted to test the library out on Google Colab, and I am getting this error AttributeError: module 'numpy.linalg._umath_linalg' has no attribute '_ilp64' when running from pysyncon import Dataprep, Synth. It seems there might be a version mismatch. I wonder if the published version of the library on pypi.org has an outdated dependency (or maybe Google Colab is outdated).

I'll be exploring what the issue might be and update the post if I find the root cause.

Thanks again!

P.S. In case it's useful, I found about your library on Reddit https://www.reddit.com/r/econometrics/comments/13j2v5q/python_package_for_the_synthetic_control_method/

josealvarez97 commented 8 months ago

Nevermind @sdfordham, apparently the issue with Colab can be resolved by restarting the session after installing the library.

I'll close the issue and re-open only if I encounter the same issue again.

image