Error installing
See original GitHub issueError during install while running tests:
2019-12-16 13:55:36,353 [WARN ] W-9008-noop-stderr org.pytorch.serve.wlm.WorkerLifeCycle - import psutil
2019-12-16 13:55:36,353 [WARN ] W-9008-noop-stderr org.pytorch.serve.wlm.WorkerLifeCycle - ModuleNotFoundError: No module named 'psutil'
Looks like a Python dependency issue.
Issue Analytics
- State:
- Created 4 years ago
- Comments:8 (7 by maintainers)
Top Results From Across the Web
How to troubleshoot Windows Installer errors - Microsoft Support
Right-click the Windows Installer service, and then click Start. The service should start without errors. Try to install or to uninstall again.
Read more >If an error occurred while updating or installing macOS
The message might say that an error occurred while downloading, preparing, or installing, or that the installer is damaged or could not be ......
Read more >How to Fix Microsoft Windows 10 Installation Error Codes
This document covers the list of Windows 10 installation error codes with its corresponding Cause and Resolution. Learn how to Fix!
Read more >Fix problems installing Chrome - Google Help
If you get an error message when you try to download and install Google Chrome, try these fixes. Fix most installation errors Make...
Read more >General articles - Kaspersky Knowledge Base
Error 2771 when installing a Kaspersky application05 October 2022 · Error “Cannot connect to the application installation source”27 July 2022.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@fbbradheintz this issue is because of conda. Where while installing psutil, conda downloads “.tar.gz” from “https://files.pythonhosted.org”, instead of downloading the “.whl” file. Due to this setuptools builds the wheel for psutil locally in parallel to “torchserve”. However, torchserve expects all the python packages provided in “install_requires” parameter in setup.py file to be pre-installed.
This issue is not observed in non-conda environment.
We have already added the following steps in the README for conda environment which installs the psutil before installing torchserve using
pip install .
:env-before-install.txt pip-install-serve-output.txt pip-install-serve-errors.txt
Attached please find:
pip install .
pip install .
pip install .
That should be plenty to repro.