python distutils package conflict, installation aborts (linux)
namebrandon opened this issue · 1 comments
namebrandon commented
Expected Behavior
webui.sh would install the required packages
Current Behavior
We receive an error on installing blinker
- run webui.sh.
- error
Installing collected packages: zope.interface, zope.event, Werkzeug, websocket-client, tqdm, tenacity, requests, python-engineio, pydantic, pluggy, numexpr, mypy-extensions, multidict, marshmallow, markdown, itsdangerous, iniconfig, h11, greenlet, frozenlist, dnspython, click, blinker, bidict, async-timeout, yarl, wsproto, typing-inspect, SQLAlchemy, python-socketio, pytest, openapi-schema-pydantic, marshmallow-enum, langchainplus-sdk, gevent, flask, eventlet, aiosignal, simple-websocket, gevent-websocket, flask_socketio, flask-cors, dataclasses-json, aiohttp, lollms, langchain
Attempting uninstall: websocket-client
Found existing installation: websocket-client 1.5.2
Uninstalling websocket-client-1.5.2:
Successfully uninstalled websocket-client-1.5.2
Attempting uninstall: requests
Found existing installation: requests 2.28.1
Uninstalling requests-2.28.1:
Successfully uninstalled requests-2.28.1
Attempting uninstall: blinker
Found existing installation: blinker 1.4
ERROR: Cannot uninstall 'blinker'. It is a distutils installed project and thus we cannot accurately determine which files belong to it which would lead to only a partial uninstall.
Failed to install required packages. Please check your internet connection and try again.
Possible Solution
Assuming there is some sort of conflict here with pre-installed packages..
Was succesful after modified webui.sh pip line to include "--ignore-installed "
Context
This was run on a runpod pytorch 2.01 instance (Ubuntu 20.04)
Python 3.10.6
pip 23.1.2 from /usr/local/lib/python3.10/dist-packages/pip (python 3.10)
ParisNeo commented
Thanks. It'll be fixed in next commit :)