Package LsqFit not found in current path - calling julia via PyJulia

Hello! I’m using Julia 1.4.
I’m trying to make a Python program which calls upon Julia using [PyJulia] ( and calls a .jl file I have stored in the same directory. This file uses a few installed Julia packages such as LsqFit and Statistics (installed via the REPL). However, whenever I run the Python program, Julia thinks I haven’t installed LsqFit when I very clearly have (it’s in Project.toml).

The error and stacktrace is below:

C:\ProgramData\Anaconda3\lib\site-packages\julia\ FutureWarning: Accessing `Julia().<name>` to obtain Julia objects is deprecated.  Use `from julia import Main; Main.<name>` or `jl = Julia(); jl.eval('<name>')`.
Traceback (most recent call last):
  File "", line 156, in <module>
  File "", line 123, in main
ImportError: Julia exception: LoadError: ArgumentError: Package LsqFit not found in current path:
- Run `import Pkg; Pkg.add("LsqFit")` to install the LsqFit package.

 [1] require(::Module, ::Symbol) at .\loading.jl:876
 [2] include at .\boot.jl:328 [inlined]
 [3] include_relative(::Module, ::String) at .\loading.jl:1094
 [4] include(::Module, ::String) at .\Base.jl:31
 [5] include(::String) at .\client.jl:431
 [6] #invokelatest#1 at .\essentials.jl:790 [inlined]
 [7] invokelatest(::Any, ::Any) at .\essentials.jl:789
 [8] _pyjlwrap_call(::Function, ::Ptr{PyCall.PyObject_struct}, ::Ptr{PyCall.PyObject_struct}) at C:\Users\user\.julia\packages\PyCall\ttONZ\src\callback.jl:28
 [9] pyjlwrap_call(::Ptr{PyCall.PyObject_struct}, ::Ptr{PyCall.PyObject_struct}, ::Ptr{PyCall.PyObject_struct}) at C:\Users\user\.julia\packages\PyCall\ttONZ\src\callback.jl:49
in expression starting at C:\Users\user\Downloads\fpga-scan-and-fit-master\fpga-scan-and-fit-master\processor\concentration.jl:1

Any help whatsoever would be greately appreciated!