I'm on a Mac. I've written a package named FRED
(BeginPackage["FRED`"])
in notebook named FederalReservePackage.nb. It is a significantly modified version of an older Mathematica demonstration project with same name. FRED accesses the Federal Reserve Economic Data at the St. Louis Federal Reserve website using their API.
It has been evaluated successfully, and tested, then Saved As a Wolfram Language file FederalReservePackage.wl. I then used the Install Pallette function to install item type Package, source FederalReservePackage.wl, install name FRED, install for this user only. The file system shows that FRED.wl was installed in directory ~/Library/Mathematica/Applications, as documented. This directory is listed in the $Path variable.
In another nb file, I use
<<Fred`, or Get["FRED`"] or Needs["FRED`"]
to attempt to access the package, but the entry points are not defined. Output from Needs says
"Needs: Context FRED` was not created when Needs was evaluated."
What am I doing wrong?
PS: If FRED is evaluated in the same kernel as the nb file, the application works.