-
Notifications
You must be signed in to change notification settings - Fork 68
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
Missing python package dependencies #67
Comments
Hi @eabase, Sorry that this is not well documented. However, you can always check out the dependencies necessary to run all tests and helper scripts by checking the Github Actions test scripts - https://github.com/AVSystem/Anjay/blob/master/.github/workflows/anjay-tests.yml also refers to some Docker images, and you can see their corresponding Dockerfiles in the If you're asking about Python packages specifically, then you can refer to the Please note, however, that some of those may only be required for running tests or building documentation. |
Hi @kFYatek We're not using Docker, so that it's a no-go.
Thank you, but there must be something else missing, as I keep getting import errors. # python.exe nsh_lwm2m.py
Traceback (most recent call last):
File "C:\mydev\pr_anjay\Anjay\tests\integration\framework\nsh-lwm2m\nsh_lwm2m.py", line 24, in <module>
from cbor_shell import CBORBuilderShell
File "C:\mydev\pr_anjay\Anjay\tests\integration\framework\nsh-lwm2m\cbor_shell.py", line 13, in <module>
import powercmd
File "C:\mydev\pr_anjay\Anjay\tests\integration\framework\nsh-lwm2m\powercmd\powercmd\__init__.py", line 5, in <module>
from .cmd import Cmd
File "C:\mydev\pr_anjay\Anjay\tests\integration\framework\nsh-lwm2m\powercmd\powercmd\cmd.py", line 42, in <module>
from prompt_toolkit import PromptSession
ModuleNotFoundError: No module named 'prompt_toolkit' |
It was missing The following pip packages are needed: pip install -U cbor2 aiocoap cryptography packaging wheel powercmd (with @kFYatek |
On this page:
https://avsystem.github.io/Anjay-doc/Tools/CliLwM2MServer.html#lwm2m-testing-shell
You say:
However, trying that results in the missing python packages:
What are the packages needed to run all your python scripts?
The text was updated successfully, but these errors were encountered: