-
Notifications
You must be signed in to change notification settings - Fork 9
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Problem installing apstools #495
Comments
The issue seems to be that the |
I was running into this yesterday for 30-ID. Had to explicitly install |
Just for some background, I was trying to install it in my Macbook. I installed
|
Definitely will need the underlying compiled hkl C++ library to be installed by some mechanism. It's only compiled for linux in the conda package. Compilation process is more tedious than many packages. |
Since all the diffractometer support is planned to move into hklpy, that dependency can be removed once the code is moved. If the code is removed now, then the hklpy addition will need to retrieve the code from the 1.4.1 release here. |
(base) prjemian@zap:~/.../BCDA-APS/apstools$ git grep hkl
README.md:* https://github.com/bluesky/hklpy
apstools/diffractometer.py:gi.require_version("Hkl", "5.0") # MUST come before `import hkl`
apstools/diffractometer.py: from hkl.geometries import E4CV, E6C, K4CV, K6C
apstools/diffractometer.py: from hkl.diffract import E4CV, E6C, K4CV, K6C
apstools/diffractometer.py: h = Component(PseudoSingle, "", labels=("hkl",), kind="hinted")
apstools/diffractometer.py: k = Component(PseudoSingle, "", labels=("hkl",), kind="hinted")
apstools/diffractometer.py: l = Component(PseudoSingle, "", labels=("hkl",), kind="hinted")
apstools/diffractometer.py: return table of computed solutions for each (hkl) in the supplied reflections list
apstools/diffractometer.py: _table.labels = "(hkl) solution".split() + list(motors)
apstools/diffractometer.py: h, k, l = ref.hkl_get()
apstools/diffractometer.py: (f"ref {i+1} (hkl)", Package(**dict(h=h, k=k, l=l)))
apstools/diffractometer.py: calc engine hkl
docs/source/install.rst: - bluesky, databroker, ophyd, hklpy
docs/source/source/_diffractometer.rst: h = Component(PseudoSingle, '', labels=("hkl", "fourc"))
docs/source/source/_diffractometer.rst: k = Component(PseudoSingle, '', labels=("hkl", "fourc"))
docs/source/source/_diffractometer.rst: l = Component(PseudoSingle, '', labels=("hkl", "fourc"))
docs/source/source/_diffractometer.rst:the motor locations of an *(hkl)* reflection may be computed.
docs/source/source/_diffractometer.rst: (hkl) solution omega chi phi tth
docs/source/source/_diffractometer.rst: (hkl) solution omega chi phi tth
docs/source/source/_diffractometer.rst: (hkl) solution omega chi phi tth
environment.yml: - hklpy
tests/test_diffractometer.py:gi.require_version("Hkl", "5.0") # MUST come before `import hkl`
tests/test_diffractometer.py:import hkl.diffract
tests/test_diffractometer.py:class MyE4CV(APS_diffractometer.DiffractometerMixin, hkl.diffract.E4CV):
tests/test_diffractometer.py: # "calc engine hkl ",
tests/test_diffractometer.py: # " ref 1 (hkl) h=1.0, k=1.0, l=0.0 ",
tests/test_diffractometer.py: # " ref 2 (hkl) h=0.0, k=1.0, l=0.0 ",
tests/test_diffractometer.py: # "calc engine hkl ",
tests/test_diffractometer.py: "(hkl) solution omega chi phi tth ",
tests/test_diffractometer.py: # "calc engine hkl ",
tests/test_diffractometer.py: # "calc engine hkl ",
tests/test_diffractometer.py: # "calc engine hkl ", |
I could not install
apstools=1.4.1
in my computer throughconda
. Then I cloned it, and tried to create a fresh environment for it usingconda env create -f environment.yml
, this also failed (it reported a horrible list of conflicts). It turns out the source of the conflicts seem to behklpy
. I removed it from "environment.yml", and it installed fine. Then:Same happens if I do
$ conda install -c aps-anl-tag apstools
.The text was updated successfully, but these errors were encountered: