I've installed anaconda for spyder ide. But I had multiple problems.
runfile('C:/Users/Berk DOĞUŞ/Spyder Projects/DogrusalRegresyon.py', wdir='C:/Users/Berk DOĞUŞ/Spyder Projects') Traceback (most recent call last):
File "", line 1, in runfile('C:/Users/Berk DOĞUŞ/Spyder Projects/DogrusalRegresyon.py', wdir='C:/Users/Berk DOĞUŞ/Spyder Projects')
File "C:\AConda\lib\site-packages\spyder\utils\site\sitecustomize.py", line 705, in runfile execfile(filename, namespace)
File "C:\AConda\lib\site-packages\spyder\utils\site\sitecustomize.py", line 102, in execfile exec(compile(f.read(), filename, 'exec'), namespace)
File "C:/Users/Berk DOĞUŞ/Spyder Projects/DogrusalRegresyon.py", line 13, in import pandas as pd
File "C:\Users\Berk DOĞUŞ\AppData\Roaming\Python\Python36\site-packages\pandas__init__.py", line 35, in "the C extensions first.".format(module))
ImportError: C extension: No module named 'pandas._libs.tslib' not built. If you want to import pandas from the source directory, you may need to run 'python setup.py build_ext --inplace --force' to build the C extensions first.
I don't understand where I am making a mistake? I tried the answer here but it has led to a different issue:
runfile('C:/Users/Berk DOĞUŞ/Spyder Projects/DogrusalRegresyon.py', wdir='C:/Users/Berk DOĞUŞ/Spyder Projects') Traceback (most recent call last):
File "", line 1, in runfile('C:/Users/Berk DOĞUŞ/Spyder Projects/DogrusalRegresyon.py', wdir='C:/Users/Berk DOĞUŞ/Spyder Projects')
File "C:\AConda\lib\site-packages\spyder\utils\site\sitecustomize.py", line 705, in runfile execfile(filename, namespace)
File "C:\AConda\lib\site-packages\spyder\utils\site\sitecustomize.py", line 102, in execfile exec(compile(f.read(), filename, 'exec'), namespace)
File "C:/Users/Berk DOĞUŞ/Spyder Projects/DogrusalRegresyon.py", line 12, in import pandas as pd
File "C:\AConda\lib\site-packages\pandas__init__.py", line 40, in import pandas.core.config_init
File "C:\AConda\lib\site-packages\pandas\core\config_init.py", line 12, in import pandas.core.config as cf
File "C:\AConda\lib\site-packages\pandas\core\config.py", line 57, in import pandas.compat as compat
AttributeError: module 'pandas' has no attribute 'compat'
Thanks for roganjosh. Just deleted the python.