Open GirishKumarSharma opened 1 year ago
Hello Girish,
I am not actively implementing this repository any more and not sure why you get the error. However as you may know the Python core team stopped supporting Python 2.7 on January 1st, 202. My suggestion is try with a different Pandas version as mentioned below. https://pandas.pydata.org/pandas-docs/version/0.23/install.html
Thank you -- Sincerely, Thilina Shihan Weerathunga (Ph. D.) LinkedIn: https://www.linkedin.com/in/shihanutsa GitHub: https://github.com/ShihanUTSA?tab=repositories Google Scholar: https://scholar.google.com/citations?user=qtaTE_oAAAAJ&hl=en Phone: 956-579-8071
On Sun, Jan 29, 2023 at 10:23 AM Girish Kumar Sharma < @.***> wrote:
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.
— Reply to this email directly, view it on GitHub https://github.com/lilianweng/stock-rnn/issues/38, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABP6T77P2XKQAIDOPKM74O3WU2KQ5ANCNFSM6AAAAAAUKKPWEE . You are receiving this because you are subscribed to this thread.Message ID: @.***>
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
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.