Skip to content
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

Installing fabric #1265

Open
RdyPlyr2 opened this issue Jan 21, 2025 · 6 comments
Open

Installing fabric #1265

RdyPlyr2 opened this issue Jan 21, 2025 · 6 comments

Comments

@RdyPlyr2
Copy link

I have pipx on macOS.
I pasted GitHub clone of fabric repo,

But when I executed pipx install .,
Doesn't work.

First Git clone ".."
Then LS
The cd fabric,
And entered pipx install .

Doesn't work. Can somebody help ensure path. Thanks.

@RdyPlyr2
Copy link
Author

It says 'setup.py' nor 'pyproject.toml' found,

How do I create this two in VS.

@d0om-IS
Copy link

d0om-IS commented Jan 21, 2025

i faced the same problem and ask chat gpt and he gives me this solution

Fix the Local Installation (If Needed)
If you're required to install Fabric from the source directory and it doesn't have setup.py or pyproject.toml, you likely have an incomplete or incorrect repository. In that case:

rm -rf ~/fabric

git clone https://github.com/fabric/fabric.git ~/fabric

cd ~/fabric
ls

pipx install .

just flow this comonds and you will be good

@gokulcoder7
Copy link

i also got
ERROR: Directory '/home/gokul/fabric' is not installable. Neither 'setup.py' nor 'pyproject.toml' found.
Cannot determine package name from spec '/home/gokul/fabric'. Check package spec for errors.

@leygrgj121
Copy link

I had a similar experience, then discovered in the README, fabric install is no longer python-based so pipx can't be used.

I used this command
curl -L https://github.com/danielmiessler/fabric/releases/latest/download/fabric-linux-amd64 > fabric && chmod +x fabric && ./fabric --version

Then ran fabric --setup. But, now my OpenAI API Key is giving an error.

@RdyPlyr2
Copy link
Author

RdyPlyr2 commented Jan 21, 2025 via email

@leygrgj121
Copy link

leygrgj121 commented Jan 22, 2025

I was thinking about abandoning OpenAI for ollama, due to the credit charges in OpenAI. Thanks @RdyPlyr2 !

$ curl -fsSL https://ollama.com/install.sh | sh
$ ollama pull lama3.2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants