Coder Social home page Coder Social logo

SHARK Installation about shark HOT 1 OPEN

alexsifivetw avatar alexsifivetw commented on June 15, 2024
SHARK Installation

from shark.

Comments (1)

njsharpe avatar njsharpe commented on June 15, 2024 1

nodai-shark does not exist as a python package (or in general), but as a standalone EXE. You can see what I mean by simply looking into the package index you attempt to pull from by running curl -G https://nod-ai.github.io/SHARK/package-index/. Unfortunately, these EXE files are not cross-platform and target Windows only (AFAIK). Maybe a Debian package for the CLI for Linux users is in order...

Until then, you can manually install SHARK with the following command set on Linux devices:
(This process assumes you have Python 3.11 and Git installed on your machine)

cd ~
git clone --single-branch --branch 20231009.984 https://github.com/nod-ai/SHARK.git shark
cd shark/
./setup_venv.sh
source shark.venv/bin/activate

Context:
You don't need to start in your home directory, but it's just an example.
20231009.984 is the latest stable tag for shark. If you don't care about stability, simply use https://github.com/nod-ai/SHARK.git instead.
The "shark" at the end of the git clone command specifies the new directory name to make within the parent directory. This can be omitted if you don't care about what the new directory is called.

Notes:
SHARK can run in a browser-style window when launched normally, or can be run through the command line exclusively. Please reference this part of the readme to get a rough idea of how to use the CLI. Running main.py with the --help flag will show all of the currently available CLI flags for generation.

SHARK's setup script checks for a $PYTHON variable which, if not set, defaults to the result of which python3. It looks like you're using PPA to install python, so I would recommend setting this variable with export PYTHON=python3.11. With PPA, you will also need to install python3.11-dev and python3.11-venv.

I am proficient, but not fluent, in issues regarding Linux devices but I can help as much as I can.

from shark.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.