ArviZ.jl icon indicating copy to clipboard operation
ArviZ.jl copied to clipboard

trouble installing with Julia 1.6.2

Open MooersLab opened this issue 4 years ago • 3 comments
trafficstars

The command below from the repo Readme.md is not working with Julia 1.6.2:

PYTHON="" julia -e 'using Pkg; Pkg.add("PyCall"); Pkg.build("PyCall"); Pkg.add("ArviZ");'
julia> using ArviZ
[ Info: Precompiling ArviZ [131c737c-5715-5e2e-ad31-c244f01c1dc7]
INTEL MKL ERROR: dlopen(/Users/blaine/.julia/conda/3/lib/libmkl_intel_thread.dylib, 9): Library not loaded: @rpath/libiomp5.dylib
  Referenced from: /Users/blaine/.julia/conda/3/lib/libmkl_intel_thread.dylib
  Reason: image not found.
Intel MKL FATAL ERROR: Cannot load libmkl_intel_thread.dylib.
ERROR: Failed to precompile ArviZ [131c737c-5715-5e2e-ad31-c244f01c1dc7] to /Users/blaine/.julia/compiled/v1.6/ArviZ/jl_Ps8GJt.
Stacktrace:
 [1] error(s::String)
   @ Base ./error.jl:33
 [2] compilecache(pkg::Base.PkgId, path::String, internal_stderr::Base.TTY, internal_stdout::Base.TTY, ignore_loaded_modules::Bool)
   @ Base ./loading.jl:1385
 [3] compilecache(pkg::Base.PkgId, path::String)
   @ Base ./loading.jl:1329
 [4] _require(pkg::Base.PkgId)
   @ Base ./loading.jl:1043
 [5] require(uuidkey::Base.PkgId)
   @ Base ./loading.jl:936
 [6] require(into::Module, mod::Symbol)
   @ Base ./loading.jl:923

MooersLab avatar Jul 26 '21 17:07 MooersLab

This is an issue that sometimes arises due to PyCall.jl (or perhaps a Python dependency). Can you try the solution in https://github.com/JuliaPy/PyPlot.jl/issues/315#issuecomment-661882320, and if that doesn't work, the one in https://github.com/JuliaPy/PyPlot.jl/issues/315#issuecomment-814652753 and then let me know if one worked which one?

sethaxen avatar Jul 26 '21 21:07 sethaxen

The first solution solved my problem! Thank you!!

Sorry about the first e-mail being blank. I still forget to enter :w when using firenvim in textboxes on webpages.

On Mon, Jul 26, 2021 at 6:28 PM Blaine Mooers @.***> wrote:

On Mon, Jul 26, 2021 at 4:42 PM Seth Axen @.***> wrote:

This is an issue that sometimes arises due to PyCall.jl (or perhaps a Python dependency). Can you try the solution in JuliaPy/PyPlot.jl#315 (comment) https://github.com/JuliaPy/PyPlot.jl/issues/315#issuecomment-661882320, and if that doesn't work, the one in JuliaPy/PyPlot.jl#315 (comment) https://github.com/JuliaPy/PyPlot.jl/issues/315#issuecomment-814652753 and then let me know if one worked which one?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/arviz-devs/ArviZ.jl/issues/137#issuecomment-887047234, or unsubscribe https://github.com/notifications/unsubscribe-auth/ADTZEC4OCYXOI5BPODNSX7TTZXJELANCNFSM5BARX6HQ .

-- Best regards,

Blaine

Blaine Mooers, Ph.D. Associate Professor Department of Biochemistry and Molecular Biology College of Medicine University of Oklahoma Health Sciences Center S.L. Young Biomedical Research Center Rm. 466 975 NE 10th Street https://maps.google.com/?q=975+NE+10th+Street&entry=gmail&source=g, BRC 466 Oklahoma City, OK 73104-5419

office: (405) 271-8300 lab: (405) 271-8313

Faculty webpage http://basicsciences.ouhsc.edu/biochemmolbiol/Faculty/bio_details/TabId/11753/ArtMID/30702/ArticleID/6430/Mooers-Blaine-HM-PhD.aspx X-ray lab (LBSF) http://research.ouhsc.edu/CoreFacilities/LaboratoryofBiomolecularStructureandFunction.aspx SSRL UEC https://www-ssrl.slac.stanford.edu/content/about-ssrl/advisory-panels/ssrl-users-organization/members/ssrluo-2016-executive-committee-members SSURF EasyPyMOL https://github.com/MooersLab/EasyPyMOL Molecular Graphics https://www.oumedicine.com/docs/default-source/ad-biochemistry-workfiles/moleculargraphicslinks.html

https://www.oumedicine.com/docs/default-source/ad-biochemistry-workfiles/MolecularGraphicsLinks.html Small Angle Scattering http://www.oumedicine.com/docs/default-source/ad-biochemistry-workfiles/small-angle-scattering-links-27aug2014.html?sfvrsn=0 office: (405) 271-8300 lab: (405) 271-8313 e-mail: @.*** (or @.***)

-- Best regards,

Blaine

Blaine Mooers, Ph.D. Associate Professor Department of Biochemistry and Molecular Biology College of Medicine University of Oklahoma Health Sciences Center S.L. Young Biomedical Research Center Rm. 466 975 NE 10th Street https://maps.google.com/?q=975+NE+10th+Street&entry=gmail&source=g, BRC 466 Oklahoma City, OK 73104-5419

office: (405) 271-8300 lab: (405) 271-8313

Faculty webpage http://basicsciences.ouhsc.edu/biochemmolbiol/Faculty/bio_details/TabId/11753/ArtMID/30702/ArticleID/6430/Mooers-Blaine-HM-PhD.aspx X-ray lab (LBSF) http://research.ouhsc.edu/CoreFacilities/LaboratoryofBiomolecularStructureandFunction.aspx SSRL UEC https://www-ssrl.slac.stanford.edu/content/about-ssrl/advisory-panels/ssrl-users-organization/members/ssrluo-2016-executive-committee-members SSURF EasyPyMOL https://github.com/MooersLab/EasyPyMOL Molecular Graphics https://www.oumedicine.com/docs/default-source/ad-biochemistry-workfiles/moleculargraphicslinks.html

https://www.oumedicine.com/docs/default-source/ad-biochemistry-workfiles/MolecularGraphicsLinks.html Small Angle Scattering http://www.oumedicine.com/docs/default-source/ad-biochemistry-workfiles/small-angle-scattering-links-27aug2014.html?sfvrsn=0 office: (405) 271-8300 lab: (405) 271-8313 e-mail: @.*** (or @.***)

MooersLab avatar Jul 26 '21 23:07 MooersLab

Glad to hear it! I think I've run into this issue randomly before as well, so I'll add to the docs a warning for future users.

sethaxen avatar Jul 27 '21 16:07 sethaxen