hackingthemarkets / supertrend-crypto-bot

supertrend bot using python, pandas, and ccxt
377 stars 168 forks source link

pandas already installed but cannot import it or something like that #8

Open faso69 opened 2 years ago

faso69 commented 2 years ago

i dont know why this problem appear since i installed all requirements and insert the api key, i think the problem its pandas but i dont know what is the real problem. Traceback (most recent call last): File "supertrend.py", line 4, in import pandas as pd File "C:\Users\jeswd\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.7_qbz5n2kfra8p0\LocalCache\local-packages\Python37\site-packages\pandas__init.py", line 22, in from pandas.compat import ( File "C:\Users\jeswd\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.7_qbz5n2kfra8p0\LocalCache\local-packages\Python37\site-packages\pandas\compat__init.py", line 15, in from pandas.compat.numpy import ( File "C:\Users\jeswd\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.7_qbz5n2kfra8p0\LocalCache\local-packages\Python37\site-packages\pandas\compat\numpy__init.py", line 7, in from pandas.util.version import Version File "C:\Users\jeswd\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.7_qbz5n2kfra8p0\LocalCache\local-packages\Python37\site-packages\pandas\util__init__.py", line 1, in from pandas.util._decorators import ( # noqa File "C:\Users\jeswd\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.7_qbz5n2kfra8p0\LocalCache\local-packages\Python37\site-packages\pandas\util_decorators.py", line 14, in from pandas._libs.properties import cache_readonly # noqa File "C:\Users\jeswd\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.7_qbz5n2kfra8p0\LocalCache\local-packages\Python37\site-packages\pandas_libs\init__.py", line 13, in from pandas._libs.interval import Interval File "pandas_libs\interval.pyx", line 1, in init pandas._libs.interval File "pandas_libs\hashtable.pyx", line 1, in init pandas._libs.hashtable File "pandas_libs\missing.pyx", line 1, in init pandas._libs.missing File "C:\Users\jeswd\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.7_qbz5n2kfra8p0\LocalCache\local-packages\Python37\site-packages\pandas_libs\tslibs\init__.py", line 31, in from pandas._libs.tslibs.conversion import ( File "pandas_libs\tslibs\conversion.pyx", line 1, in init pandas._libs.tslibs.conversion File "pandas_libs\tslibs\timezones.pyx", line 43, in init pandas._libs.tslibs.timezones File "C:\Users\jeswd\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.7_qbz5n2kfra8p0\LocalCache\local-packages\Python37\site-packages\dateutil\tz\tz.py", line 1557, in call rv = self.nocache(name=name) File "C:\Users\jeswd\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.7_qbz5n2kfra8p0\LocalCache\local-packages\Python37\site-packages\dateutil\tz\tz.py", line 1648, in nocache tz = tzwin(name) File "C:\Users\jeswd\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.7_qbz5n2kfra8p0\LocalCache\local-packages\Python37\site-packages\dateutil\tz\win.py", line 229, in init__ tup = struct.unpack("=3l16h", keydict["TZI"]) struct.error: unpack requires a buffer of 44 bytes

simplevulnerabilitymanager commented 2 years ago

Install python 3.10