ottogroup/clash

ImportError: cannot import name 'cli'

Closed this issue · 1 comments

Hello

I'm giving clash a try but I have an error when using it.
I have installed it in cloud shell using a virtual env
but when I run it I have the following error:

$ clash init
Traceback (most recent call last):
File "/home/jbclaramonte_ext/clash/bin/clash", line 6, in <module>
from pyclash.clash import cli
ImportError: cannot import name 'cli'

What am I doing wrong ?

@jbclaramonte nice that you given clash a try. You are doing nothing wrong. The reason for the error is that the PyPi version need to be updated to the new code base @mikeczech .

You are currently probably better off installing the package locally yourself via:

git clone git@github.com:ottogroup/clash.git
cd clash\python
pip install .
clash init

Clash is still a young project and we hope this kind of early issues are gone soon.