Can’t run Numpy, Pandas, Matplotlib /u/WatercressGood4334 Python Education

Hi everyone,

I could run Numpy and Pandas, but not Matplotlib, so I uninstalled Python and reinstalled latest version Python 3.13.1. However, now I can’t run even Numpy and Pandas. I tried installing Numpy both via PyCharm and Chocolatey. Moreover, now I can’t even uninstall Numpy. Also, PyCharm says my version is still 3.13 and not 3.13.1. Error while trying to run Numpy is:

C:UserssvitvPycharmProjectsGiraffe.venvScriptspython.exe C:UserssvitvPycharmProjectsGiraffeapp.py

Traceback (most recent call last):

File “C:UserssvitvPycharmProjectsGiraffeapp.py”, line 1, in <module>

import numpy as np

File “C:UserssvitvPycharmProjectsGiraffe.venvLibsite-packagesnumpy__init__.py”, line 127, in <module>

from numpy.__config__ import show_config

File “C:UserssvitvPycharmProjectsGiraffe.venvLibsite-packagesnumpy__config__.py”, line 4, in <module>

from numpy._core._multiarray_umath import (

…<3 lines>…

)

File “C:UserssvitvPycharmProjectsGiraffe.venvLibsite-packagesnumpy_core__init__.py”, line 100, in <module>

from . import _internal

File “C:UserssvitvPycharmProjectsGiraffe.venvLibsite-packagesnumpy_core_internal.py”, line 17, in <module>

import ctypes

File “C:UserssvitvAppDataLocalProgramsPythonPython313Libctypes__init__.py”, line 157, in <module>

class py_object(_SimpleCData):

…<5 lines>…

return “%s(<NULL>)” % type(self).__name__

AttributeError: class must define a ‘_type_’ attribute

Process finished with exit code 1

submitted by /u/WatercressGood4334
[link] [comments]

​r/learnpython Hi everyone, I could run Numpy and Pandas, but not Matplotlib, so I uninstalled Python and reinstalled latest version Python 3.13.1. However, now I can’t run even Numpy and Pandas. I tried installing Numpy both via PyCharm and Chocolatey. Moreover, now I can’t even uninstall Numpy. Also, PyCharm says my version is still 3.13 and not 3.13.1. Error while trying to run Numpy is: C:UserssvitvPycharmProjectsGiraffe.venvScriptspython.exe C:UserssvitvPycharmProjectsGiraffeapp.py Traceback (most recent call last): File “C:UserssvitvPycharmProjectsGiraffeapp.py”, line 1, in <module> import numpy as np File “C:UserssvitvPycharmProjectsGiraffe.venvLibsite-packagesnumpy__init__.py”, line 127, in <module> from numpy.__config__ import show_config File “C:UserssvitvPycharmProjectsGiraffe.venvLibsite-packagesnumpy__config__.py”, line 4, in <module> from numpy._core._multiarray_umath import ( …<3 lines>… ) File “C:UserssvitvPycharmProjectsGiraffe.venvLibsite-packagesnumpy_core__init__.py”, line 100, in <module> from . import _internal File “C:UserssvitvPycharmProjectsGiraffe.venvLibsite-packagesnumpy_core_internal.py”, line 17, in <module> import ctypes File “C:UserssvitvAppDataLocalProgramsPythonPython313Libctypes__init__.py”, line 157, in <module> class py_object(_SimpleCData): …<5 lines>… return “%s(<NULL>)” % type(self).__name__ AttributeError: class must define a ‘_type_’ attribute Process finished with exit code 1 submitted by /u/WatercressGood4334 [link] [comments] 

Hi everyone,

I could run Numpy and Pandas, but not Matplotlib, so I uninstalled Python and reinstalled latest version Python 3.13.1. However, now I can’t run even Numpy and Pandas. I tried installing Numpy both via PyCharm and Chocolatey. Moreover, now I can’t even uninstall Numpy. Also, PyCharm says my version is still 3.13 and not 3.13.1. Error while trying to run Numpy is:

C:UserssvitvPycharmProjectsGiraffe.venvScriptspython.exe C:UserssvitvPycharmProjectsGiraffeapp.py

Traceback (most recent call last):

File “C:UserssvitvPycharmProjectsGiraffeapp.py”, line 1, in <module>

import numpy as np

File “C:UserssvitvPycharmProjectsGiraffe.venvLibsite-packagesnumpy__init__.py”, line 127, in <module>

from numpy.__config__ import show_config

File “C:UserssvitvPycharmProjectsGiraffe.venvLibsite-packagesnumpy__config__.py”, line 4, in <module>

from numpy._core._multiarray_umath import (

…<3 lines>…

)

File “C:UserssvitvPycharmProjectsGiraffe.venvLibsite-packagesnumpy_core__init__.py”, line 100, in <module>

from . import _internal

File “C:UserssvitvPycharmProjectsGiraffe.venvLibsite-packagesnumpy_core_internal.py”, line 17, in <module>

import ctypes

File “C:UserssvitvAppDataLocalProgramsPythonPython313Libctypes__init__.py”, line 157, in <module>

class py_object(_SimpleCData):

…<5 lines>…

return “%s(<NULL>)” % type(self).__name__

AttributeError: class must define a ‘_type_’ attribute

Process finished with exit code 1

submitted by /u/WatercressGood4334
[link] [comments] 

Leave a Reply

Your email address will not be published. Required fields are marked *