Closed yogi-playground closed 4 years ago
well you have to build numpy and cython first which likely don’t work yet
so this is very premature
well you have to build numpy and cython first which likely don’t work yet
so this is very premature
Thanks for quick response, i am new to this so could you please share any references url to guide me
no idea -
@yogendrasoni79 if you are new to python/pandas, you can better install a released version.
@yogendrasoni79 building on previous responses: can you try pip install numpy
before trying to install pandas? It looks like the problem is there.
pyproj experiencing installation issues as well: https://travis-ci.com/github/pyproj4/pyproj/jobs/385358258
pandas/_libs/writers.c: In function ‘__pyx_f_6pandas_5_libs_7writers_word_len’:
pandas/_libs/writers.c:4942:5: error: ‘_PyUnicode_get_wstr_length’ is deprecated [-Werror=deprecated-declarations]
__pyx_v_l = PyUnicode_GET_SIZE(__pyx_v_val);
^
In file included from /opt/python/3.9-dev/include/python3.9/unicodeobject.h:1026:0,
from /opt/python/3.9-dev/include/python3.9/Python.h:97,
from pandas/_libs/writers.c:33:
/opt/python/3.9-dev/include/python3.9/cpython/unicodeobject.h:446:26: note: declared here
static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) {
^
pandas/_libs/writers.c:4942:5: error: ‘PyUnicode_AsUnicode’ is deprecated [-Werror=deprecated-declarations]
__pyx_v_l = PyUnicode_GET_SIZE(__pyx_v_val);
^
In file included from /opt/python/3.9-dev/include/python3.9/unicodeobject.h:1026:0,
from /opt/python/3.9-dev/include/python3.9/Python.h:97,
from pandas/_libs/writers.c:33:
/opt/python/3.9-dev/include/python3.9/cpython/unicodeobject.h:580:45: note: declared here
Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode(
^
pandas/_libs/writers.c:4942:5: error: ‘_PyUnicode_get_wstr_length’ is deprecated [-Werror=deprecated-declarations]
__pyx_v_l = PyUnicode_GET_SIZE(__pyx_v_val);
^
In file included from /opt/python/3.9-dev/include/python3.9/unicodeobject.h:1026:0,
from /opt/python/3.9-dev/include/python3.9/Python.h:97,
from pandas/_libs/writers.c:33:
/opt/python/3.9-dev/include/python3.9/cpython/unicodeobject.h:446:26: note: declared here
static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) {
^
cc1: all warnings being treated as errors
error: command '/usr/bin/gcc' failed with exit code 1
----------------------------------------
ERROR: Failed building wheel for pandas
Read the red sentence allert when you fail to install package and find what you have to install first Try this, in cmd : pip list and read what package you have installed. skip if it is in the list
pip install setuptools pip install numpy pip install Cython pip install wheel
then after that pip install pandas
@esterrose, best answer ever. I've been looking for a solution to install pandas in python 3.9 and you had it perfect, install all those modules before installing pandas. Thanks man.
It was successfully installed; however, when importing pandas it does say
import pandas as pd
ImportError: No module named pandas
[Done] exited with code=1 in 0.102 seconds
I am using pyenv python 3.9.0, pip version 20.3.1 Any help would be appreciated.
It was successfully installed; however, when importing pandas it does say
import pandas as pd ImportError: No module named pandas [Done] exited with code=1 in 0.102 seconds
I am using pyenv python 3.9.0, pip version 20.3.1 Any help would be appreciated.
You Are the Best!!! Thank you!!!!! It needs for running cmd administrator rights by right click and run as administrator!!
If u are having this kind of problem Answer is simple , For the python version you are using pandas is officially not supported, I got the same error in python 3.10 All I did is uninstall 3.10 version and install python 3.7
Then all I did is
pip install pandas
I think 3.9 supports pandas by now , But to safe I installed 3.7....😅😅😅
please i am a student carrying out a research on evaluation of machine learning classifiers for mobile malware detection,and from the research i find out that dealing with such a large amount of data to be train need a guide on how to use modelling pipeline to easy the work.Thanks,
and from the research i find out that dealing with such a large amount of data to be train need a guide on how to use modelling pipeline to easy the work.Thanks,
Hi @AhmadJahun, can you please elaborate on the question a little bit? Do you need a guide to handle to data modelling pipeline or a guide to training via the data pipeline?
If are referring to the first guide, you can checkout the following projects:
Modin: https://modin.readthedocs.io/en/stable/, Dask: https://www.dask.org/get-started
These would help you build a scalable data pipeline, as I have had a similar issue and used these to scale my data pipeline.
If you are referring to the second argument, about training via the data modelling pipeline, then you can checkout this project: Ray: https://docs.ray.io/en/latest/index.html
Hope this helps.
Code Sample, a copy-pastable example if possible
Problem description
Keep getting message still running.. but no luck PS C:\Windows\System32\WindowsPowerShell\v1.0> pip install pandas Collecting pandas Downloading https://files.pythonhosted.org/packages/02/c3/e8c56de02d6c52f8541feca2fd77117e8ae4956f7b3e5cdbed726624039b/pandas-1.0.1.tar.gz (4.9MB) Installing build dependencies: started Installing build dependencies: still running... Installing build dependencies: still running... Installing build dependencies: still running... Installing build dependencies: still running... Installing build dependencies: still running... Installing build dependencies: still running... Installing build dependencies: still running... Installing build dependencies: still running... Installing build dependencies: finished with status 'error' pip : ERROR: Command errored out with exit status 1: At line:1 char:1