ERROR: Could not open requirements file: [Errno 2] No such file or directory: 'requirements.txt'

Question:

I am trying to run this project (https://github.com/unitedstates/congress#readme) and am having trouble with the command pip3 install -r requirements.txt and getting the error ERROR: Could not open requirements file: [Errno 2] No such file or directory: 'requirements.txt'. I’ve been trying out some solutions but in the end, when I try to run it, it says ./run not found. How do I install the right packages.

I am running Mac M1.

Asked By: lliw

||

Answers:

First clone your project (you can save it anywhere).

Make sure you have homebrew installed.

Make sure to enter into the Congress folder of the project you just cloned in the terminal.

Then run python3 -m venv congress source congress/bin/activate

Then pip3 install -r requirements.txt The requirements.txt file will be in the main congress folder.

After that you can use ./run govinfo --bulkdata=BILLSTATUS ./run bills to run bills or ./test/run to test it.

Answered By: Will

im a bit late but can you explain what is the congress folder ? please

Answered By: kebab kebab
Categories: questions Tags:
Answers are sorted by their score. The answer accepted by the question owner as the best is marked with
at the top-right corner.