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

Setup Missing File #24

Open
gardnerapp opened this issue Mar 7, 2023 · 6 comments
Open

Setup Missing File #24

gardnerapp opened this issue Mar 7, 2023 · 6 comments

Comments

@gardnerapp
Copy link

When I follow the ReadME in the Setup folder and run
pip3 install -r collections/ansible_collections/amazon/aws/requirements.txt
I get this error:
ERROR: Could not open requirements file: [Errno 2] No such file or directory: 'collections/ansible_collections/amazon/aws/requirements.txt'
Not sure what collections are missing or if I could find them anywhere else.

@matthoff11
Copy link

were you in the right directory when you issued the command?

@gardnerapp
Copy link
Author

yes, the files were not there when I cloned the repo

@matthoff11
Copy link

are they there for you now?

@CheriseCodes
Copy link

CheriseCodes commented Jun 23, 2023

Can you run pwd to display your current working directory? For me, I had to cd into the setup folder first for it to work

@jeff-tillinghast
Copy link

I am having the same issue. Confirmed that I am in setup, but the folder collections/ansible_collections is empty.

@jeff-tillinghast
Copy link

jeff-tillinghast commented Oct 5, 2023

@gardnerapp - Don't know if this is your cause, but I misunderstood the location of the file trying to run. I changed the directory in the command to the directory where my local Ansible collections were stored (run ansible-galaxy collection list to see the location of your collections folder), and then ran against that. So my full command ended up being pip3 install -r /opt/homebrew/lib/python3.11/site-packages/ansible_collections/amazon/aws/requirements.txt.

Probably indicates that my $PATH isn't set up correctly.

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