KeyError: key :VERSION not found

Hello. I am new to Julia, working on getting a project to run in the current version of Julia 1.6.2 on Ubuntu 20.04.3. The project using TensorFlow and PyCall. The error is

ERROR: LoadError: On worker 2:
KeyError: key :VERSION not found
Stacktrace:
[1] __getproperty
@ ~/.julia/packages/PyCall/BD546/src/PyCall.jl:307
[2] getproperty
@ ~/.julia/packages/PyCall/BD546/src/PyCall.jl:312 [inlined]
[3] getindex
@ ~/.julia/packages/PyCall/BD546/src/PyCall.jl:347 [inlined]
[4] #7
@ ~/.julia/packages/TensorFlow/q9pY2/src/TensorFlow.jl:189
[5] #110
@ /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.6/Distributed/src/process_messages.jl:293
[6] run_work_thunk
@ /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.6/Distributed/src/process_messages.jl:63
[7] run_work_thunk
@ /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.6/Distributed/src/process_messages.jl:72
[8] #96
@ ./task.jl:411
Stacktrace:
[1] remotecall_wait(::Function, ::Distributed.Worker; kwargs::Base.Iterators.Pairs{Union{}, Union{}, Tuple{}, NamedTuple{(), Tuple{}}})
@ Distributed /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.6/Distributed/src/remotecall.jl:436
[2] remotecall_wait(::Function, ::Distributed.Worker)
@ Distributed /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.6/Distributed/src/remotecall.jl:427
[3] remotecall_wait(::Function, ::Int64; kwargs::Base.Iterators.Pairs{Union{}, Union{}, Tuple{}, NamedTuple{(), Tuple{}}})
@ Distributed /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.6/Distributed/src/remotecall.jl:448
[4] remotecall_wait(::Function, ::Int64)
@ Distributed /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.6/Distributed/src/remotecall.jl:448
[5] top-level scope
@ ~/.julia/packages/TensorFlow/q9pY2/src/TensorFlow.jl:188
[6] eval
@ ./boot.jl:360 [inlined]
[7] eval
@ ./Base.jl:39 [inlined]
[8] tf_version(; kind::Symbol)
@ TensorFlow ~/.julia/packages/TensorFlow/q9pY2/src/version.jl:20
[9] py_version_check(; print_warning::Bool, force_warning::Bool)
@ TensorFlow ~/.julia/packages/TensorFlow/q9pY2/src/version.jl:47
[10] py_version_check
@ ~/.julia/packages/TensorFlow/q9pY2/src/version.jl:47 [inlined]
[11] load_python_process(; force_reload::Bool)
@ TensorFlow ~/.julia/packages/TensorFlow/q9pY2/src/TensorFlow.jl:166
[12] load_python_process
@ ~/.julia/packages/TensorFlow/q9pY2/src/TensorFlow.jl:149 [inlined]
[13] macro expansion
@ ~/.julia/packages/TensorFlow/q9pY2/src/TensorFlow.jl:187 [inlined]
[14] add_gradients_py(y::TensorFlow.Tensor{Float64}, x::Vector{TensorFlow.Tensor{Float32}}, grad_y::Nothing)
@ TensorFlow ~/.julia/packages/TensorFlow/q9pY2/src/core.jl:1548
[15] gradients (repeats 2 times)
@ ~/.julia/packages/TensorFlow/q9pY2/src/core.jl:1536 [inlined]
[16] compute_gradients(optimizer::TensorFlow.train.AdamOptimizer, loss::TensorFlow.Tensor{Float64}, var_list::Vector{TensorFlow.Tensor{Float32}})
@ TensorFlow.train ~/.julia/packages/TensorFlow/q9pY2/src/train.jl:49
More functions from the stack from the project. However, I believe this project’s code should run, so I wont include it unless something points to it as an issue. I would assume TensorFlow and PyCall should work, so perhaps its something to do with the packages being added wrong or something of the sort. I could not find anyone else having this issue so I am not sure where to start on fixing it.

Status of the packages:
(@v1.6) pkg> status TensorFlow
Status ~/.julia/environments/v1.6/Project.toml
[1d978283] TensorFlow v0.11.0

(@v1.6) pkg> status PyCall
Status ~/.julia/environments/v1.6/Project.toml
[438e738f] PyCall v1.92.3

Can someone point me in the right direction? Does this error mean something is wrong with the packages, or does it have something to do with the code itself?