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

ModuleNotFoundError: mitmproxy.proxy.config #142

Open
selinnilesy opened this issue Mar 23, 2024 · 0 comments
Open

ModuleNotFoundError: mitmproxy.proxy.config #142

selinnilesy opened this issue Mar 23, 2024 · 0 comments

Comments

@selinnilesy
Copy link

selinnilesy commented Mar 23, 2024

I am using your repo for research purposes on a physical cluster. I have no amazon aws account and am facing errors with mitmproxy subpackage installed within adaptdl-cli, given the command on adaptdl website, https://adaptdl.readthedocs.io/en/latest/installation/install-adaptdl.html :

helm install adaptdl adaptdl-sched --repo https://github.com/petuum/adaptdl/raw/helm-repo \
 --namespace adaptdl --create-namespace --set docker-registry.enabled=true

I am on Ubuntu 20.04 inside a conda environment, on a regular K8s master node.

(base) codenimbus-admin@k8s-head:~$ adaptdl ls
Traceback (most recent call last):
  File "/home/codenimbus-admin/.local/bin/adaptdl", line 30, in <module>
    from adaptdl_cli.proxy import service_proxy
  File "/home/codenimbus-admin/.local/lib/python3.8/site-packages/adaptdl_cli/__init__.py", line 17, in <module>
    from .tensorboard import TENSORBOARD_PREFIX, tensorboard_create, \
  File "/home/codenimbus-admin/.local/lib/python3.8/site-packages/adaptdl_cli/tensorboard.py", line 18, in <module>
    from .proxy import service_proxy
  File "/home/codenimbus-admin/.local/lib/python3.8/site-packages/adaptdl_cli/proxy.py", line 22, in <module>
    from mitmproxy.proxy.config import ProxyConfig
ModuleNotFoundError: No module named 'mitmproxy.proxy.config'

Running mitmproxy gives an add-on error, which is assumingly this submodule. Versions of mitmproxy and python I use is as below:
Screenshot 2024-03-23 at 18 02 52

Help is very much appreciated on how to get adaptdl command working.

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