You are not logged in.

#1 2023-04-06 03:06:24

budroz
Member
Registered: 2023-04-06
Posts: 1

How to install turicreate

Hi,

I tried searching around but I couldn't find any forum threads of installing TuriCreate on Archlinux. I've tried following this, but it didn't work because it's looking for at most Python 3.8 which I could install Python 3.8 from AUR but it does not come with pip. I've tried building from source using python3.8 in a PKGBUILD file with something like this (which may need to be edited):

build() {
  cd "$pkgname-$pkgver"
  python3.8 setup.py build
}

package() {
  cd "$pkgname-$pkgver"
  python3.8 setup.py install --root="$pkgdir/" --optimize=1

  install -Dm644 "LICENSE.txt" "$pkgdir/usr/share/licenses/$pkgname/LICENSE.txt"
}

but I get

Traceback (most recent call last):
  File "setup.py", line 10, in <module>
    from setuptools import setup
ModuleNotFoundError: No module named 'setuptools'

The ".whl" files wouldn't work because there is no pip for python3.8. (Note: the latest version only contains ".whl" files.) So I'm stumped. hmm

Is there any way to install TuriCreate on Arch or no?

Offline

#2 2023-04-29 14:33:11

Stefan Husmann
Member
From: Germany
Registered: 2007-08-07
Posts: 1,391

Re: How to install turicreate

According to the documentation you linked to in your post you cannot. In the git sources it might be possible to use python 3.9 for a minimal version.

Offline

Board footer

Powered by FluxBB