pensieve icon indicating copy to clipboard operation
pensieve copied to clipboard

只能运行ls和serve两个命令, 其它都是No such option

Open walkerwzy opened this issue 1 year ago • 1 comments

MacOS, 使用的虚拟环境:

python3 -m venv /Users/myname/pyenv
source ~/pyenv/bin/activate

开始使用:

memos init
Usage: memos [OPTIONS] COMMAND [ARGS]...
Try 'memos --help' for help.
╭─ Error ───────────────────────────────────────────────────────────────────────────────────╮
│ No such command 'init'.                                                                   │
╰───────────────────────────────────────────────────────────────────────────────────────────╯
memos enable
Usage: memos [OPTIONS] COMMAND [ARGS]...
Try 'memos --help' for help.
╭─ Error ───────────────────────────────────────────────────────────────────────────────────╮
│ No such command 'enable'.                                                                 │
╰───────────────────────────────────────────────────────────────────────────────────────────╯
memos --help

 Usage: memos [OPTIONS] COMMAND [ARGS]...

╭─ Options ─────────────────────────────────────────────────────────────────────────────────╮
│ --install-completion          Install completion for the current shell.                   │
│ --show-completion             Show completion for the current shell, to copy it or        │
│                               customize the installation.                                 │
│ --help                        Show this message and exit.                                 │
╰───────────────────────────────────────────────────────────────────────────────────────────╯
╭─ Commands ────────────────────────────────────────────────────────────────────────────────╮
│ serve                                                                                     │
│ ls                                                                                        │
╰───────────────────────────────────────────────────────────────────────────────────────────╯

walkerwzy avatar Nov 21 '24 05:11 walkerwzy

Please do not use Python 3.13, most of the dependencies do not support it yet. Use Python 3.12 can solve this.

arkohut avatar Nov 21 '24 06:11 arkohut

I think this is the same issue with https://github.com/arkohut/pensieve/issues/17

Reopen it if necessary.

arkohut avatar Nov 22 '24 01:11 arkohut