skift-org / skift

🥑 A modern delightful operating system
https://skiftos.org/
GNU Lesser General Public License v3.0
2.36k stars 130 forks source link

cutekit wont work #404

Closed espero-dev closed 1 year ago

espero-dev commented 1 year ago
espero@espero:~/Desktop/New Folder 3$ git clone https://github.com/skift-org/skift.git
Cloning into 'skift'...
remote: Enumerating objects: 54442, done.
remote: Counting objects: 100% (5970/5970), done.
remote: Compressing objects: 100% (2333/2333), done.
remote: Total 54442 (delta 3660), reused 5498 (delta 3512), pack-reused 48472
Receiving objects: 100% (54442/54442), 151.18 MiB | 7.97 MiB/s, done.
Resolving deltas: 100% (37372/37372), done.
espero@espero:~/Desktop/New Folder 3$ git clone https://github.com/cute-engineering/cutekit
Cloning into 'cutekit'...
remote: Enumerating objects: 655, done.
remote: Counting objects: 100% (191/191), done.
remote: Compressing objects: 100% (90/90), done.
remote: Total 655 (delta 134), reused 114 (delta 101), pack-reused 464
Receiving objects: 100% (655/655), 138.30 KiB | 224.00 KiB/s, done.
Resolving deltas: 100% (428/428), done.
espero@espero:~/Desktop/New Folder 3$ cd cutekit
espero@espero:~/Desktop/New Folder 3/cutekit$ git switch dev
Branch 'dev' set up to track remote branch 'dev' from 'origin'.
Switched to a new branch 'dev'
espero@espero:~/Desktop/New Folder 3/cutekit$ pip install --user -e

Usage:   
  pip install [options] <requirement specifier> [package-index-options] ...
  pip install [options] -r <requirements file> [package-index-options] ...
  pip install [options] [-e] <vcs project url> ...
  pip install [options] [-e] <local project path> ...
  pip install [options] <archive url/path> ...

-e option requires 1 argument
espero@espero:~/Desktop/New Folder 3/cutekit$ pip install --user -e .
Obtaining file:///home/esperoDesktop/New%20Folder%203/cutekit
  Preparing metadata (setup.py) ... done
Collecting graphviz
  Downloading graphviz-0.20.1-py3-none-any.whl (47 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 47.0/47.0 KB 268.5 kB/s eta 0:00:00
Requirement already satisfied: requests in /usr/lib/python3/dist-packages (from cutekit==0.5.0.dev0) (2.25.1)
Installing collected packages: graphviz, cutekit
  Running setup.py develop for cutekit
Successfully installed cutekit graphviz-0.20.1
espero@espero:~/Desktop/New Folder 3/cutekit$ cutekit insall
cutekit: command not found
espero@espero:~/Desktop/New Folder 3/cutekit$ 
sleepy-monax commented 1 year ago

Hi looks like ~/.local/bin is not your path, a simple workaround is just to prepends python -m to the cutekit command: python -m cutekit help

espero-dev commented 1 year ago

i had to use python3 -m cutekit help

but what now?

sleepy-monax commented 1 year ago

You just follow the rest of the build guide as normal

espero-dev commented 1 year ago

k

espero-dev commented 1 year ago

@sleepy-monax espero@espero:~/Desktop/New Folder 3/skift$ python3 -m cutekit i Error: cute-engineering-chatty: Command not found

Usage: -m [args...]

espero-dev commented 1 year ago

and can you add me on discord? espero_dev

espero-dev commented 1 year ago

Traceback (most recent call last): File "/usr/lib/python3.10/runpy.py", line 196, in _run_module_as_main return _run_code(code, main_globals, None, File "/usr/lib/python3.10/runpy.py", line 86, in _run_code exec(code, run_globals) File "/home/espero_dev/Desktop/New Folder 3/skift/cutekit/cutekit/main.py", line 5, in sys.exit(main()) File "/home/espero_dev/Desktop/New Folder 3/skift/cutekit/cutekit/init.py", line 38, in main plugins.loadAll() File "/home/espero_dev/Desktop/New Folder 3/skift/cutekit/cutekit/plugins.py", line 39, in loadAll plugin = load(os.path.join(pluginDir, files)) File "/home/espero_dev/Desktop/New Folder 3/skift/cutekit/cutekit/plugins.py", line 19, in load spec.loader.exec_module(module) File "", line 883, in exec_module File "", line 241, in _call_with_frames_removed File "/home/espero_dev/Desktop/New Folder 3/skift/./meta/plugins/start-cmd.py", line 3, in import magic ModuleNotFoundError: No module named 'magic'

sleepy-monax commented 1 year ago

You need to install python-magic

espero-dev commented 1 year ago

k