So I have upgraded to Julia v0.7 from v0.6. I am trying to convert my code. I get the following error:
ERROR: LoadError: LoadError: ArgumentError: Package xxx does not have ExcelReaders in its dependencies:
- If you have xxx checked out for development and have
added ExcelReaders as a dependency but haven't updated your primary environment's manifest file, try Pkg.resolve().
- Otherwise, you may need to report an issue with xxx
So I did an add ExcelReaders
and resolve
and I just get a warning instead:
Warning: Package xxx does not have ExcelReaders in its dependencies:
If you have xxx checked out for development and have
added ExcelReaders as a dependency but haven't updated your primary
environment's manifest file, try Pkg.resolve().
- Otherwise you may need to report an issue with SHERPA
Loading ExcelReaders into xxx from project dependency, future warnings for xxx are suppressed.
How can I fix this issue? In one of my files, I do using ExcelReaders, DataFrames, DataArrays
.
I have the same issue for all 3. I add them, and then I still get the warning. For DataArrays specifically, I get a bunch of depreciation and actually a syntax error if I add the DataArrays Package.
Thanks!
Note: This link talks about the depreciation of DataArrays. I use data = DataArrays.data
in my code, so if I stop doing using DataArrays
, it obviously won't work and it's not clear what the replacement would be.
Update: DataArrays is deprecated so I got rid of the line "data = DataArrays.data". I added ExcelReaders and DataFrames and then did a resolve and I guess it fixed the issue.
The error
Package xxx does not have ExcelReaders in its dependencies
means thatxxxx
does not haveExcelReaders
in its dependencies (it is unrelated with the fact if you have installedExcelReaders
manually). I do not know whatxxxx
is so it is hard to check.See https://docs.julialang.org/en/latest/stdlib/Pkg/#Adding-dependencies-to-the-project-1 for the details.