luna icon indicating copy to clipboard operation
luna copied to clipboard

can't install luna in ubuntu 22.04

Open matisTopPath opened this issue 1 year ago • 2 comments

Hi, I try to install luna to Ubuntu 22.04 and run applets/interactive-test.py But always show errors.

Would someone be able to give the environment lib list? I have read the install documents, but I am not sure what's missing.

thanks alot.

matisTopPath avatar Jan 03 '24 02:01 matisTopPath

Could you post the log of errors that you're seeing?

miek avatar Jan 04 '24 13:01 miek

@miek, the error log, I try to install luna on pi4 and ubuntu 22.04 but it always shows this error. : ( the Hardware version is LUNA r1.3

dev@dev:~/luna $ sudo python3 applets/interactive-test.py

Traceback (most recent call last): File "/home/dev/luna/applets/interactive-test.py", line 291, in tester = top_level_cli(InteractiveSelftest) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.11/dist-packages/luna/init.py", line 93, in top_level_cli platform = get_appropriate_platform() ^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.11/dist-packages/luna/gateware/platform/init.py", line 100, in get_appropriate_platform platform = PLATFORM_FOR_REVISIONversion ~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^ KeyError: (1, 3)

matisTopPath avatar Jan 05 '24 02:01 matisTopPath