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

Crash during install of pandas using the workaround in #24 #35

Open
redfox05 opened this issue Mar 8, 2020 · 1 comment
Open

Crash during install of pandas using the workaround in #24 #35

redfox05 opened this issue Mar 8, 2020 · 1 comment

Comments

@redfox05
Copy link

redfox05 commented Mar 8, 2020

Using the workaround listed in #24 I tried to install the pandas manually.
In order to get around the long install time, I set the install to run in the background, and to capture all console output to a log file using the following:

~/oprint/bin/pip --no-cache-dir install pandas > ~/pandas-log 2>&1 &

I left it running overnight, and in the morning, I could not even login to the pi, it had crashed.
Checking the log file I created for the install, showed the following:

pi@bigbox:~ $ cat pandas-log
DEPRECATION: Python 2.7 will reach the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 won't be maintained after that date. A future version of pip will drop support for Python 2.7. More details about Python 2 support in pip, can be found at https://pip.pypa.io/en/latest/development/release-process/#python-2-support
Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple
Collecting pandas
Downloading https://files.pythonhosted.org/packages/b2/4c/b6f966ac91c5670ba4ef0b0b5613b5379e3c7abdfad4e7b89a87d73bae13/pandas-0.24.2.tar.gz (11.8MB)
Collecting python-dateutil>=2.5.0
Downloading https://files.pythonhosted.org/packages/d4/70/d60450c3dd48ef87586924207ae8907090de0b306af2bce5d134d78615cb/python_dateutil-2.8.1-py2.py3-none-any.whl (227kB)
Requirement already satisfied: pytz>=2011k in ./oprint/lib/python2.7/site-packages (from pandas) (2019.3)
Requirement already satisfied: numpy>=1.12.0 in ./oprint/lib/python2.7/site-packages (from pandas) (1.16.6)
Requirement already satisfied: six>=1.5 in ./oprint/lib/python2.7/site-packages (from python-dateutil>=2.5.0->pandas) (1.12.0)
Building wheels for collected packages: pandas
Building wheel for pandas (setup.py): started
Building wheel for pandas (setup.py): still running...
Building wheel for pandas (setup.py): still running...
Building wheel for pandas (setup.py): still running...

At first, I did not want to manually install packages for risk of later conflicts with other packages when installing things outside of the octoprint UI, but now I decided to do it, as there seems no other option, yet even this is now not working.

Any suggestions?

@redfox05
Copy link
Author

redfox05 commented Mar 8, 2020

Looking at other issues listed like #26 I am concerned that if the install can't even run, how will the application, if its high CPU usage. Perhaps you can break your product out into two versions, so people can run the old v1 version prior to the move for the resource hungry pandas?

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

1 participant