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

Is it possible to use pip-installed libraries in codon? #147

Closed
DoomHammer opened this issue Dec 31, 2022 · 2 comments
Closed

Is it possible to use pip-installed libraries in codon? #147

DoomHammer opened this issue Dec 31, 2022 · 2 comments

Comments

@DoomHammer
Copy link

Is it possible to install popular libraries such as requests and use them with Codon?

@arshajii
Copy link
Contributor

Yes, see https://docs.exaloop.io/codon/interoperability/python for more info. Example:

from python import numpy as np
arr = np.array([1, 2, 3])
print(arr * 2)

@DoomHammer
Copy link
Author

Gotcha. That worked!

Thanks!

@arshajii arshajii closed this as completed Jan 1, 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

2 participants