Closed AureliusMarcusHu closed 2 years ago
I am facing the same issue. Please help!
Hi @AureliusMarcusHu and @lone-wolf07 :hugs:
Thanks for reporting this issue! Are you both using Python 3.9? Which OS? And, finally, can you check which numpy
version do you have installed?
Once you provide me that information I'll solve this ASAP :+1:
Besides that, can you try to re-install numpy
as it follows pip install numpy -U
I'm assuming this is still in the broken phase?
Hi @nathan3leaf, can you provide me more details? I think this is not happening anymore, just that the issue was not closed back in the day.
Is this function the one that is failing?
information = investpy.get_stock_information(stock='AAPL', country='United States', as_json=True)
Thanks! :hugs:
@alvarobartt I did encounter it, but just gave in and updated to python 3.9 and it's not occurring anymore. I believe I experienced it when I was on 3.6 but to be honest I don't recall all the circumstances that went into it popping up. It may have been related to the arcgis package, but again, sadly I don't recall. Thank you for your time though and for the quick reply.
Hey guys, I was having the same problem but then I made the next changes and it works for me:
Hope it works for u, bye.
Thanks for your suggestion @vmendezs, I'll try to re-run the unit tests with the latest version of numpy
to see whether that works or not, and as soon as the unit tests are working I'll consider this issue closed. 👍🏻
Well, I have the same problem, but I've solved it by a method like the solution from @vmendezs.
Thanks for the information @GiorgioPeng! :hugs: Closing this for now, hopefully, everything's solved already!
Hi Guys,
I'm very new in python and in I have installed investpy by pip. I get the notes all dependent packages are installed succesfully included investpy. I always get an error from numpy when I run the command [investpy.get_stock_information(stock='AAPL', country='United States', as_json=True)]
File "C:\Program Files (x86)\Python39-32\lib\site-packages\numpy__init__.py", line 200, in core.numerictypes.typeDict,
AttributeError: module 'numpy.core' has no attribute 'numerictypes'
I have uninstalled and reinstalled the packages whitout succes. Always the same error. Can someone help me please, what do I wrong ?
Thanks in advance.