-
Notifications
You must be signed in to change notification settings - Fork 17
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Trouble using melpazoid
on Windows
#32
Comments
Can you make sure you're showing me the exact same input and output that you're seeing in a terminal?
won't work in most cases (there is no .py extension, and the melpazoid dir does not contain a `main.py file). Also when it's run as a script, melpazoid wants your cwd to be the melpazoid root dir. What I think you are typing and seeing must be closer to:
Per the above help message, for a local repo you want to use
(i.e. add the |
Here is the full output directly copied from the terminal. I've tried a different kind of input (with or without quotes, change the order, etc.). 🤔 PS D:\_workspace\_eask\melpazoid> python .\melpazoid\melpazoid.py 'D:/_workspace/_eask/openai' '(openai :fetcher github :repo "emacs-openai/openai")'
usage: melpazoid.py [-h] [--license] [--recipe RECIPE] [target]
melpazoid.py: error: unrecognized arguments: (openai :fetcher github :repo emacs-openai/openai) PS D:\_workspace\_eask\melpazoid> python .\melpazoid\melpazoid.py 'D:/_workspace/_eask/openai' --recipe '(openai :fetcher github :repo "emacs-openai/openai")'
usage: melpazoid.py [-h] [--license] [--recipe RECIPE] [target]
melpazoid.py: error: argument --recipe: '(openai :fetcher github :repo emacs-openai/openai)' must be a valid MELPA recipe PS D:\_workspace\_eask\melpazoid> python .\melpazoid\melpazoid.py --recipe '(openai :fetcher github :repo "emacs-openai/openai")' 'D:/_workspace/_eask/openai'
usage: melpazoid.py [-h] [--license] [--recipe RECIPE] [target]
melpazoid.py: error: argument --recipe: '(openai :fetcher github :repo emacs-openai/openai)' must be a valid MELPA recipe PS D:\_workspace\_eask\melpazoid> python .\melpazoid\melpazoid.py --recipe '(openai :fetcher github :repo "emacs-openai/openai")' D:\_workspace\_eask\openai\
usage: melpazoid.py [-h] [--license] [--recipe RECIPE] [target]
melpazoid.py: error: argument --recipe: '(openai :fetcher github :repo emacs-openai/openai)' must be a valid MELPA recipe PS D:\_workspace\_eask\melpazoid> python .\melpazoid\melpazoid.py --recipe (openai :fetcher github :repo "emacs-openai/openai") D:\_workspace\_eask\openai\
usage: openai [-h] [-V] [-v] [-b API_BASE] [-k API_KEY] [-p PROXY [PROXY ...]]
[-o ORGANIZATION]
{api,tools,wandb} ...
openai: error: argument {api,tools,wandb}: invalid choice: ':fetcher' (choose from 'api', 'tools', 'wandb')
usage: melpazoid.py [-h] [--license] [--recipe RECIPE] [target]
melpazoid.py: error: argument --recipe: 'D:\\_workspace\\_eask\\openai\\' must be a valid MELPA recipe
I'm in the melpazoid root dir.
Sorry for the confusion. I did input
Do you mean |
FYI, I've added partial melpazoid support in Eask, see emacs-eask/cli#202. |
I'm integrating melpazoid to Eask, so I'm trying to use this tool through the command line.
It gives me this error output:
Then I tried the options
--recipe
:$ python melpazoid /path/to/my/openai/ '(openai :fetcher github :repo "emacs-openai/openai")'
it gives me:
If I tried using batch file:
it gives me:
I've tried several packages but they all have the same result. I'm pretty sure the recipe format is a valid MELPA recipe. Does this tool support local package? 🤔
Additional information:
python3
will just bepython
.3.11.5
.The text was updated successfully, but these errors were encountered: