objectbox-python icon indicating copy to clipboard operation
objectbox-python copied to clipboard

Problem with example in README

Open morteza102030 opened this issue 3 years ago • 3 comments

image

morteza102030 avatar Sep 30 '21 07:09 morteza102030

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

greenrobot-team avatar Dec 08 '21 09:12 greenrobot-team

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

liquidiert avatar Aug 26 '23 16:08 liquidiert

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

greenrobot avatar Aug 29 '23 16:08 greenrobot