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

Unable to install pandas==0.16.2 #38

Open
GirishKumarSharma opened this issue Jan 29, 2023 · 2 comments
Open

Unable to install pandas==0.16.2 #38

GirishKumarSharma opened this issue Jan 29, 2023 · 2 comments

Comments

@GirishKumarSharma
Copy link

I have configure virtual environment by installing Python 2.7 and activated it.

As you suggested your environment, I installed Python 2.7 on existing 3.10.7 Ubuntu 22.10
BeautifulSoup==3.2.1 installation done!
numpy==1.13.1 installation done!

But when I tries to install pandas==0.16.2 there is a very big red color error message which first asked me to install cython, so I said : pip install Cython and when again tried to install pip install pandas==0.16.2 again same very huge red color error message on the terminal and last few lines are :

ERROR: Command errored out with exit status 1: /home/girish/py27/bin/python -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-_5KVfS/pandas/setup.py'"'"'; file='"'"'/tmp/pip-install-_5KVfS/pandas/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(file);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' install --record /tmp/pip-record-LfcnSx/install-record.txt --single-version-externally-managed --compile --install-headers /home/girish/py27/include/site/python2.7/pandas Check the logs for full command output.

Kindly help me, how do I proceed further to test your code.

@ShihanUTSA
Copy link

ShihanUTSA commented Jan 29, 2023 via email

@uestcgxh
Copy link

Hi,maybe you can create a virtual python environment on Ubuntu.
1."sudo apt-get install python2.7"
2."sudo apt-get install python-virtualenv"
3."virtualenv -p /usr/bin/python2.7 myenv27"
Then you have created your virtual environment
4."source myenv27/bin/activate" to enter your virtual environment
Then you can install the package you need

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

3 participants