I have a Julia file called ‘func1.jl’ with two defined functions that uses the ‘LowRankApprox’ package. Julia, it is working well. But I need it to work in Python. When I import to Python, with PyJulia, it doesn’t work. It gives the following error message:
Traceback (most recent call last): File "C:/Tese/problinearpristrunc0201.py", line 10, in <module> j.include('func1.jl') ImportError: <PyCall.jlwrap (in a Julia function called from Python) JULIA: LoadError: ArgumentError: Package LowRankApprox not found in current path: - Run `import Pkg; Pkg.add("LowRankApprox")` to install the LowRankApprox package.
The LowRankApprox package is installed on Julia, although the error message says no. In fact, this is the problem that I don’t know how to solve. If I run another Julia file, without a package installed, with PyJulia it works fine. So the problem is the LowRankApprox package.
I use PyCharm Community 2020.2 and JuliaPro 1.5.2-1. I noticed that this version of Julia has neither Main nor Base. I tried to install it, but it doesn’t work either. : confused