Skip to content

Commit 806964d

Browse files
committed
get processor on raspberrypi 64-bit
1 parent 709f3e5 commit 806964d

2 files changed

Lines changed: 4 additions & 1 deletion

File tree

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33

44
def get_version() -> str:
5-
return "0.1.40"
5+
return "0.1.41"
66

77
install_requires = [
88
"requests",

src/sharpai_hub/utils/check_env.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,9 @@ def is_raspberrypi():
4848
return False
4949
def get_docker_compose_arch_filename():
5050
processor = platform.processor()
51+
52+
if processor == '':
53+
processor = platform.machine()
5154
# print(processor)
5255
arch = None
5356
docker_compose_yml = None

0 commit comments

Comments
 (0)