Forums

Installing / Upgrading Pandas in PythonAnywhere in Virtual Environment

I want to install the latest version of Pandas. I go to 'Web' tab (click) > Virtualenv (scroll to section) > Start a console in this virtualenv (click link) > pip install pandas (enter this in bash console). I have already installed Cython. After 5 minutes or so, it fails.

How do I install the latest Pandas in a virtual environment?

That should work. What error message does it fail with?

I got it to work today. I am on a free account currently. My first instinct says, maybe it was because my seconds quota for the day was maxed out. If not the reason, maybe my amount of free space would have been maxed out if it installed 100%. The errors it was giving me were, it would first try the wheel, then fail, then try setup.py, and also fail with error code 1 (if my memory serves me). I attempted today after deleting another virtual environment I didn't need / was playing with... to free up space. I then ran pip install pandas and it worked. Not sure which step did it. Just trying to provide as much info as I have. Thanks

Thanks for your feedback! Sounds like it could be a space thing (installing pandas prob also installed numpy etc which will probably add up to a pretty bulky install)- you can check how much space you have left by going to your files tab and looking at the lower right.