[GH-ISSUE #51] add gevent-websocket to requirements #49

Closed
opened 2026-02-26 12:20:18 +03:00 by kerem · 4 comments
Owner

Originally created by @hstarmans on GitHub (Mar 26, 2019).
Original GitHub issue: https://github.com/brentvollebregt/auto-py-to-exe/issues/51

TLDR
add gevent-websocket to requirements

installed app via python setup.py install
got error ;

Installed c:\users\riks\appdata\local\programs\python\python36\lib\site-packages\bottle_websocket-0.2.9-py3.6.egg error: The 'bottle' distribution was not found and is required by bottle-websocket, Eel

which i tried to resolve with

pip install bottle

which gave error;

bottle-websocket 0.2.9 requires gevent-websocket, which is not installed

which i resolved with

pip install gevent-websocket

now it works, dont have executable run with python run.py

Originally created by @hstarmans on GitHub (Mar 26, 2019). Original GitHub issue: https://github.com/brentvollebregt/auto-py-to-exe/issues/51 TLDR add gevent-websocket to requirements installed app via `python setup.py `install got error ; Installed c:\users\riks\appdata\local\programs\python\python36\lib\site-packages\bottle_websocket-0.2.9-py3.6.egg error: The 'bottle' distribution was not found and is required by bottle-websocket, Eel which i tried to resolve with `pip install bottle` which gave error; bottle-websocket 0.2.9 requires gevent-websocket, which is not installed which i resolved with `pip install gevent-websocket` now it works, dont have executable run with python run.py
kerem closed this issue 2026-02-26 12:20:18 +03:00
Author
Owner

@brentvollebregt commented on GitHub (Mar 26, 2019):

So auto-py-to-exe depends on Eel which depends on bottle, bottle-websocket, future and whichcraft. Looking at the error provided, pip could not find bottle which bottle-websocket (and Eel) depends on.

I don't understand though that when you tried to install bottle manually, it said "bottle-websocket 0.2.9 requires gevent-websocket". bottle-websocket is not a dependency of bottle so I am unsure why it would appear here.

That all aside, this is a dependency found recursively and there is not much point of me adding a dependency to this project which I don't actually use directly. This looks like a general distribution not found error which is a bit out of my control sorry, I have included what is required in the setup.py an I have to trust the dependencies to work correctly.

I'll see if I am able to reproduce this later.

<!-- gh-comment-id:476836429 --> @brentvollebregt commented on GitHub (Mar 26, 2019): So `auto-py-to-exe` depends on `Eel` which depends on `bottle`, `bottle-websocket`, `future` and `whichcraft`. Looking at the error provided, pip could not find `bottle` which `bottle-websocket` (and Eel) depends on. I don't understand though that when you tried to install `bottle` manually, it said "bottle-websocket 0.2.9 requires gevent-websocket". `bottle-websocket` is not a dependency of `bottle` so I am unsure why it would appear here. That all aside, this is a dependency found recursively and there is not much point of me adding a dependency to this project which I don't actually use directly. This looks like a general distribution not found error which is a bit out of my control sorry, I have included what is required in the setup.py an I have to trust the dependencies to work correctly. I'll see if I am able to reproduce this later.
Author
Owner

@brentvollebregt commented on GitHub (Mar 26, 2019):

Unable to reproduce Python 3.6.6 Windows 10

<!-- gh-comment-id:476889168 --> @brentvollebregt commented on GitHub (Mar 26, 2019): Unable to reproduce Python 3.6.6 Windows 10
Author
Owner

@brentvollebregt commented on GitHub (Mar 28, 2019):

Unless we can get more examples of this happening, I am going to hold my assumption that pip is doing this and if not, a dependency is definitely the issue.

I'll close the issue but feel free to provide more information if you have any so we can look into this further.

<!-- gh-comment-id:477402100 --> @brentvollebregt commented on GitHub (Mar 28, 2019): Unless we can get more examples of this happening, I am going to hold my assumption that pip is doing this and if not, a dependency is definitely the issue. I'll close the issue but feel free to provide more information if you have any so we can look into this further.
Author
Owner

@hstarmans commented on GitHub (Apr 1, 2019):

Thanks for the reply, I guess it is fine like this as this post will simply pop up as a fix on duck or google. Great project!

<!-- gh-comment-id:478751424 --> @hstarmans commented on GitHub (Apr 1, 2019): Thanks for the reply, I guess it is fine like this as this post will simply pop up as a fix on duck or google. Great project!
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/auto-py-to-exe#49
No description provided.