Closed wjvanderlip closed 3 years ago
Hey, good to hear from you! This is due to a version pinning in becquerel and pip doesn’t know how to uninstall the conda version you installed (when you installed numba). A quick work around is to upgrade numba (and llvmlite) with conda to this version so pip will skip over it.
@markbandstra @jvavrek @cosama its time to drop python2. I haven’t been able to use bq for a while due to similar issues and am just using the drop-python2 branch.
Additional thoughts:
conda install llvmlite==0.29.0
fails on python >3.8.a0
(current default anaconda3 python is 3.8.5
) so I assume you are running 3.7.*
I'm able to reproduce this with:
conda create -n numba-test python==3.7
conda activate numba-test
conda install llvmlite==0.29.0
pip install becquerel
the workaround is
conda install llvmlite==0.34.0
pip install becquerel
python -c "import becquerel as bq; print(bq.__version__)"
# results in: 0.2.5
Thanks for the quick response, I will check the fix later today! I am running a gamma spec lab in my course and wanted to show the cadets the greatness of becquerel; their heads almost exploded when I showed them they can directly load an otrec output file vs copy and pasting with excel. Hope you guys are doing well out there.
-Joe
Happy to help! A helpful solution for the course might be to use a conda environment file which details a complete development environment (including jupyter
) like bq-env.txt and installing with
conda env create -f bq-env.txt
NOTE: The env file is yaml
formatted however github doesn't allow yml
or yaml
as an attachment extension.
@wjvanderlip I'm going to close this for now. Let us know if you have further issues.
pip install fails when trying to update llvmlite from 0.29.0 to 0.35.0
Windows 10 Enterprise Anaconda 3 distribution
when i run conda upate llvmlite it says llvmlite is constricted by anaconda requiring llvmlite==0.29.0