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

Cant run anything at all. Possible numpy incompatibility? #12

Open
adityasingh8010 opened this issue Sep 26, 2024 · 0 comments
Open

Cant run anything at all. Possible numpy incompatibility? #12

adityasingh8010 opened this issue Sep 26, 2024 · 0 comments

Comments

@adityasingh8010
Copy link

Traceback (most recent call last):
File "C:\Users\adity\OneDrive - Louisiana State University\Documents\leetscrape_test\test1.py", line 1, in
from leetscrape import GetQuestionsList
File "C:\Users\adity\miniconda3\envs\myenv\Lib\site-packages\leetscrape_init_.py", line 2, in
from .generate_code_stub import GenerateCodeStub
File "C:\Users\adity\miniconda3\envs\myenv\Lib\site-packages\leetscrape\generate_code_stub.py", line 9, in
from .question import GetQuestion
File "C:\Users\adity\miniconda3\envs\myenv\Lib\site-packages\leetscrape\question.py", line 5, in
import pandas as pd
File "C:\Users\adity\miniconda3\envs\myenv\Lib\site-packages\pandas_init_.py", line 22, in
from pandas.compat import is_numpy_dev as is_numpy_dev # pyright: ignore # noqa:F401
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\adity\miniconda3\envs\myenv\Lib\site-packages\pandas\compat_init
.py", line 18, in
from pandas.compat.numpy import (
File "C:\Users\adity\miniconda3\envs\myenv\Lib\site-packages\pandas\compat\numpy_init_.py", line 4, in
from pandas.util.version import Version
File "C:\Users\adity\miniconda3\envs\myenv\Lib\site-packages\pandas\util_init_.py", line 2, in
from pandas.util._decorators import ( # noqa:F401
File "C:\Users\adity\miniconda3\envs\myenv\Lib\site-packages\pandas\util_decorators.py", line 14, in
from pandas.libs.properties import cache_readonly
File "C:\Users\adity\miniconda3\envs\myenv\Lib\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
ValueError: numpy.dtype size changed, may indicate binary incompatibility. Expected 96 from C header, got 88 from PyObject

(myenv) C:\Users\adity\OneDrive - Louisiana State University\Documents\leetscrape_test>python test1.py
Traceback (most recent call last):
File "C:\Users\adity\OneDrive - Louisiana State University\Documents\leetscrape_test\test1.py", line 1, in
from leetscrape import GetQuestion
File "C:\Users\adity\miniconda3\envs\myenv\Lib\site-packages\leetscrape_init_.py", line 2, in
from .generate_code_stub import GenerateCodeStub
File "C:\Users\adity\miniconda3\envs\myenv\Lib\site-packages\leetscrape\generate_code_stub.py", line 9, in
from .question import GetQuestion
File "C:\Users\adity\miniconda3\envs\myenv\Lib\site-packages\leetscrape\question.py", line 5, in
import pandas as pd
File "C:\Users\adity\miniconda3\envs\myenv\Lib\site-packages\pandas_init_.py", line 22, in
from pandas.compat import is_numpy_dev as is_numpy_dev # pyright: ignore # noqa:F401
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\adity\miniconda3\envs\myenv\Lib\site-packages\pandas\compat_init
.py", line 18, in
from pandas.compat.numpy import (
File "C:\Users\adity\miniconda3\envs\myenv\Lib\site-packages\pandas\compat\numpy_init_.py", line 4, in
from pandas.util.version import Version
File "C:\Users\adity\miniconda3\envs\myenv\Lib\site-packages\pandas\util_init_.py", line 2, in
from pandas.util._decorators import ( # noqa:F401
File "C:\Users\adity\miniconda3\envs\myenv\Lib\site-packages\pandas\util_decorators.py", line 14, in
from pandas.libs.properties import cache_readonly
File "C:\Users\adity\miniconda3\envs\myenv\Lib\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
ValueError: numpy.dtype size changed, may indicate binary incompatibility. Expected 96 from C header, got 88 from PyObject

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

1 participant