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

You can specify path to libpython using nimpy.py_lib.pyInitLibPath. Also see #171. #305

Open
lewisl opened this issue Sep 7, 2024 · 1 comment

Comments

@lewisl
Copy link

lewisl commented Sep 7, 2024

          You can specify path to libpython using `nimpy.py_lib.pyInitLibPath`. Also see #171.

Originally posted by @yglukhov in #261 (comment)

That command doesn't exist in nimpy: errors out as undeclared identifier: 'py_lib'

@YesDrX
Copy link
Contributor

YesDrX commented Jan 18, 2025

import nimpy
import nimpy/py_lib as lib # py_lib is the same symbol as pyLib in nim

lib.pyLib. pyInitLibPath("abcd")

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