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

Error when calling a external library #3

Open
bguil opened this issue Jul 20, 2022 · 0 comments
Open

Error when calling a external library #3

bguil opened this issue Jul 20, 2022 · 0 comments

Comments

@bguil
Copy link

bguil commented Jul 20, 2022

Thanks for you efforts with this library!

With Ocaml 4.14.0 and containers 3.9 installed;
in python 3.9.4, I observed the strange behavior below: the first call to ocaml.CCInt.zero fails and the second one is ok.

~ > python3
Python 3.9.4 (default, Apr  6 2021, 11:23:37) 
[Clang 11.0.3 (clang-1103.0.32.62)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> import ocaml
>>> ocaml.require ("containers")
>>> ocaml.CCInt.zero
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
ImportError: Py.Err(10, "Unbound value ocaml_of_python10")
>>> ocaml.CCInt.zero
0

What is the problem?

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

1 participant