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

Problem with example in README #10

Open
morteza102030 opened this issue Sep 30, 2021 · 3 comments
Open

Problem with example in README #10

morteza102030 opened this issue Sep 30, 2021 · 3 comments

Comments

@morteza102030
Copy link

image

@greenrobot-team
Copy link
Member

greenrobot-team commented Dec 8, 2021

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

@liquidiert
Copy link

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

@greenrobot
Copy link
Member

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

@greenrobot-team greenrobot-team changed the title problem with example Problem with example in README Sep 4, 2023
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

No branches or pull requests

4 participants