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

Upgrade with pat and sdk module #9

Draft
wants to merge 5 commits into
base: main
Choose a base branch
from

Conversation

kvangiessen-VIKTOR
Copy link

No description provided.

@rense-k
Copy link

rense-k commented Aug 12, 2024

Had an error when installing locally. I did a git checkout of this branch and then a pip install -e .. Running devl-cli -h resulted in this error:

(venv) C:\DevOps\viktor-development-tools>dev-cli -h
Traceback (most recent call last):
  File "C:\Users\rkg\AppData\Local\Programs\Python\Python310\lib\runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "C:\Users\rkg\AppData\Local\Programs\Python\Python310\lib\runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "C:\DevOps\viktor-development-tools\venv\Scripts\dev-cli.exe\__main__.py", line 4, in <module>
  File "C:\DevOps\viktor-development-tools\viktor_dev_tools\cli.py", line 19, in <module>
    from viktor_dev_tools.tools.subdomain import ViktorUserDict, ViktorEnvironment, get_entity_tree, post_entity_tree, \
  File "C:\DevOps\viktor-development-tools\viktor_dev_tools\tools\subdomain.py", line 16, in <module>
    from viktor import api_v1 as vkt
ModuleNotFoundError: No module named 'viktor'

After a manual pip install viktor==14.13.0 it worked fine.

Don't know how you publish it, but maybe the and "viktor" not in requirement part should be removed from setup.py line 17

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

Successfully merging this pull request may close these issues.

2 participants