Closed adigeak closed 4 years ago
The most recent version of llvmlite does not ship wheels for Python 3.5, as you can see here:
https://pypi.org/project/llvmlite/0.32.1/#files
Therefore, it downloads the source distribution and tries to compile it against a system LLVM, which you don't have (No such file or directory: 'llvm-config'
).
Ways to fix it:
pip install llvmlite --prefer-binary
(you will need a modern pip version for this)Also, the Python ecosystem is moving away from setup.py
and I'd recommend you to do pip install .
instead (notice the final dot).
Can't we update the setup.py with the latest?(i can create a pull request)
and how pip install .
will be helpful ?
Updating setup.py with the latest won't help: precompiled wheels for llvmlite are not available for old Python versions. Yes, Python 3.5 is old already, it's End Of Life since last November.
Try creating a new conda environment, upgrade pip, and do pip install . --prefer-binary
. It will work.
In any case, this is not an orbitdeterminator bug.
when i was installing it with
python setup.py install
. It broke in llvmlite. i found that llvmlite pip have some problem.on installing with anaconda it works fine.
conda install --channel=numba llvmlite