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

using in python file #40

Open
riddhij16 opened this issue Feb 23, 2022 · 1 comment
Open

using in python file #40

riddhij16 opened this issue Feb 23, 2022 · 1 comment

Comments

@riddhij16
Copy link

riddhij16 commented Feb 23, 2022

On running simple file:
`import pypict.cmd # NOQA

out = pypict.cmd.from_model('''
X: 1, 2
Y: 3, 4
''')
print('Pair-wise cases using Command API:')
print(out)`

showing error:
import pypict.cmd # NOQA
File "/Users/x/PycharmProjects/Pythonpro/venv/lib/python3.10/site-packages/pypict/init.py", line 3, in
from pypict.capi import PAIRWISE_GENERATION # NOQA
ImportError: dlopen(/Users/x/PycharmProjects/Pythonpro/venv/lib/python3.10/site-packages/pypict/capi.cpython-310-darwin.so, 0x0002): Library not loaded: libpict.so
Referenced from: /Users/x/PycharmProjects/Pythonpro/venv/lib/python3.10/site-packages/pypict/capi.cpython-310-darwin.so
Reason: tried: 'libpict.so' (no such file), '/usr/lib/libpict.so' (no such file), '/Users/x/PycharmProjects/Pythonpro/libpict.so' (no such file), '/usr/lib/libpict.so' (no such file)

@kmaehashi
Copy link
Owner

Try setting export DYLD_LIBRARY_PATH=/path/to/pypict/pict where /path/to/pypict/pict is a path that libpict.so is installed.

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

2 participants