Comments (3)
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 tools/ci
directory of the repo, e.g. https://github.com/AVSystem/Anjay/blob/master/tools/ci/ubuntu-22.04/Dockerfile
If you're asking about Python packages specifically, then you can refer to the pip3 install
line for the macOS platform - so the current dependencies are sphinx sphinx-rtd-theme cbor2 aiocoap cryptography packaging requests wheel
Please note, however, that some of those may only be required for running tests or building documentation.
from anjay.
Hi @kFYatek
We're not using Docker, so that it's a no-go.
then you can refer to the pip3 install line for the macOS platform
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'
from anjay.
It was missing powercmd
which also installs prompt-toolkit
.
The following pip packages are needed:
pip install -U cbor2 aiocoap cryptography packaging wheel powercmd
(with sphinx sphinx-rtd-theme
optional.)
@kFYatek
Please update the requirements & documentation!
from anjay.
Related Issues (20)
- Adding recurrent task in anjay's main loop HOT 2
- Requesting new parameter on demo app HOT 1
- How to use NUCLEO-L476rg HOT 2
- Configuration of DTLS using MbedTLS HOT 3
- Wrong CoAP endpoint path for send update HOT 4
- anjay_ongoing_registration_exists() remains true when a bootstrapping is used. HOT 2
- How to get higher notification frequency than 1 per second? HOT 2
- 'binding_str' may be used uninitialized warning HOT 1
- anajy_ipso_basic_sensor.c: update_curr_value HOT 1
- DTLS session resumption HOT 4
- handshake failed with Orange Live Objects HOT 4
- Can't cmake on macOS 12.6 HOT 8
- I can not get queueing to work HOT 7
- Demo client not working: getaddrinfo() error: Name or service not known HOT 2
- How to determine if client is blocked by a firewall?
- Regression in Anjay 3.4.1 regarding Observe-Composite HOT 3
- invalid critical option in query 0.03 Put: 3 HOT 1
- How to specify an alternate path? HOT 1
- Question about anjay_get_server_last_registration_time function HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from anjay.