Closed ercius closed 2 years ago
I checked an older working install of xicam (which I have in a different environment) for versions of databroker and intake. This working xicam has databroker==1.0.2 and intake==0.5.5. I downgraded to these versions in my new environment (see above). Xicam starts correctly.
databroker recently (June 19th) added pre-releases for 2.0 on pypi. Xicam is pulling that version.
Solution:
Install xicam and then run pip install databroker==1.2.4
xicam's setup.py should be pinned to databroker 1.2.4.
I've pinned it to databroker<2. https://github.com/Xi-CAM/Xi-cam/commit/4042716bd3c1eac11ea77cfcd551b018719ba515
Seems like the pip install still downloads databroker2. After following Peter's solution, I get rid of that error, but still need to debug further.
Also, I had to install tiled, httpx, doct into my environment manually.
Describe the bug I followed the install instructions to create a python 3.8 environment and
pip install xicam
. However, when I run xicam in the console nothing happens.I then run
python run_xicam.py
in the environment's../site-packages/xicam
directory. I get several import errors each time I try to run_xicam.py, install needed package, run_xicam.py, etc.Here are the missing dependencies: tiled httpx doct
At the very end I get this error:
I'm unable to get past this import error. Databroker is listed as version 2.0.0a16
Is there a suggested way to install xicam and the proper versions of the dependencies?
To Reproduce Steps to reproduce the behavior:
conda create --name xicam python=3.8
pip install xicam
xicam
Expected behavior pip should install all required dependencies of the correct version
Desktop (please complete the following information):