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

Import Fehler #14

Closed
xerion3800 opened this issue Sep 7, 2021 · 2 comments
Closed

Import Fehler #14

xerion3800 opened this issue Sep 7, 2021 · 2 comments
Labels
help wanted Extra attention is needed

Comments

@xerion3800
Copy link

Ich bekomme beim ausführen immer Import Fehler:

PS C:\Users\frank\Downloads\WeConnect-cli-main\WeConnect-cli-main> & C:/Users/frank/AppData/Local/Programs/Python/Python39/python.exe c:/Users/frank/Downloads/WeConnect-cli-main/WeConnect-cli-main/weconnect_cli/weconnect_cli.py --help
Traceback (most recent call last):
File "c:\Users\frank\Downloads\WeConnect-cli-main\WeConnect-cli-main\weconnect_cli\weconnect_cli.py", line 17, in
from .__version import version
ImportError: attempted relative import with no known parent package
PS C:\Users\frank\Downloads\WeConnect-cli-main\WeConnect-cli-main>

@tillsteinbach
Copy link
Owner

Das sieht mir so aus also es von GitHub runtergeladen wurde, ich würde zum installieren lieber pip benutzen:

pip install weconnect-cli
weconnect-cli --version
weconnect-cli 0.14.7 (using WeConnect-python 0.20.6)

das gibt die letzte stabile Version.

Wenn es trotzdem der unreleaste teil von GitHub sein soll (latest and greatest ;) ) dann am besten im gecloneten folder:

pip install -e .
weconnect-cli --version
weconnect-cli develop (using WeConnect-python develop)

@tillsteinbach tillsteinbach added the help wanted Extra attention is needed label Sep 7, 2021
@xerion3800
Copy link
Author

Danke ja das wars. Ich hatte es direkt geclont und wollte es starten.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants