Closed
Description
Affects: PythonCall
Describe the bug
The PythonCall is not working in Jupyter Notebook in VScode.
The answer to fib(100) problem see below is nothing. Nevertheless the code works beautifully in REPL.
Many thanks for any help you may provide.
Your system
Please provide detailed information about your system:
- The operating system: Windows 10
- The version of Julia, Python, PythonCall, JuliaCall: latest
Additional context
using PythonCall
fib(x) = pyexec("""
def fib(n):
a, b = 0, 1
while a < n:
print(a, end=' ')
a, b = b, a+b
print()
fib(y)
""", Main, (y=x,))
print(fib(10))