objectbox/objectbox-python

Problem with example in README

morteza102030 opened this issue · 3 comments

If I run the example from the repo root with e.g. python3 -m example it works fine.

How does your setup look like?

Edit: this are the complete instructions to run the example after cloning the repo:

// Set up virtual environment, download ObjectBox libraries
make depend

// Activate virtual environment...
// ...on Linux
source .venv/bin/activate
// ...on Windows
.venv\Scripts\activate

// Run the example
python3 -m example

// Once done, leave the virtual environment
deactivate

I still get the same error but creating the Person instance, setting props and then adding to box works perfectly fine

To clarify: this is not about the example (example directory), but the README.md