Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

add websocket-client deps to requirements.txt #2

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

Merged
zhangzhejian merged 1 commit into zhangzhejian:master from hatappo:add-websocket-client
Mar 12, 2024

Conversation

@hatappo
Copy link
Contributor

@hatappo hatappo commented Mar 12, 2024

I encountered below errors when docker-compose up for the python server.

ModuleNotFoundError: No module named 'websocket'

$ docker-compose -f docker_dev.yml up 
[+] Building 0.0s (0/0) docker:desktop-linux
[+] Running 2/2
 ✔ Network app_network_for_codebox Creat... 0.0s 
 ✔ Container app-codebox_server_dev-1 Cr... 0.0s 
Attaching to app-codebox_server_dev-1
app-codebox_server_dev-1 | INFO: Will watch for changes in these directories: ['/app']
app-codebox_server_dev-1 | INFO: Uvicorn running on http://0.0.0.0:5002 (Press CTRL+C to quit)
app-codebox_server_dev-1 | INFO: Started reloader process [1] using StatReload
app-codebox_server_dev-1 | Process SpawnProcess-1:
app-codebox_server_dev-1 | Traceback (most recent call last):
app-codebox_server_dev-1 | File "/usr/local/lib/python3.11/multiprocessing/process.py", line 314, in _bootstrap
app-codebox_server_dev-1 | self.run()
...
app-codebox_server_dev-1 | File "/app/main.py", line 11, in <module>
app-codebox_server_dev-1 | from codebox_session import global_codebox_session_manager
app-codebox_server_dev-1 | File "/app/codebox_session.py", line 19, in <module>
app-codebox_server_dev-1 | from jupyter_api import JupyterAPI
app-codebox_server_dev-1 | File "/app/jupyter_api.py", line 5, in <module>
app-codebox_server_dev-1 | from websocket import create_connection
app-codebox_server_dev-1 | ModuleNotFoundError: No module named 'websocket'

Copy link
Owner

Great Job! THX dude

hatappo reacted with heart emoji

@zhangzhejian zhangzhejian merged commit a8bda5e into zhangzhejian:master Mar 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

No reviews

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

AltStyle によって変換されたページ (->オリジナル) /