Open callofdutyops opened 2 years ago
I think change machine_processor = platform.processor()
to machine_processor = platform.processor() or platform.machine()
can fix this.
For those who suffer this, tmp solution is monkey patch:
import platform
def x64():
return "x86_64"
platform.processor = x64
Describe the bug Cannot import BlazingContext when processor type unknown.
Steps/Code to reproduce bug Code and output from ipython (personal info hidden).
Expected behavior Should be imported without any errors.
Environment overview (please complete the following information)
----For BlazingSQL Developers---- Suspected source of the issue https://github.com/BlazingDB/blazingsql/blob/branch-21.08/pyblazing/pyblazing/apiv2/context.py#L70
when the
uname -p
is unknown,platform.processor()
equals to''
, thusmachine_processor
is empty, which leads to wrong jvm lib path.