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

Missing newlines in requirements.txt #60

Closed
Popsiclestick opened this issue Jun 15, 2017 · 2 comments
Closed

Missing newlines in requirements.txt #60

Popsiclestick opened this issue Jun 15, 2017 · 2 comments
Assignees

Comments

@Popsiclestick
Copy link

There were no newlines on the GoogleSafebrowsing/requirements.txt and Virusshare/requirements.txt

This caused values to concatenate and error out if you wanted to do pip install $(cat /opt/Cortex-Analyzers/analyzers/*/requirements.txt | sort -u) or some similar mass install of the required libraries.

Pull request coming shortly.

@Lost4Now
Copy link

I used the following command and it worked for me. This might a solution in the future just in case the new lines are missed again.

find '/opt/Cortex-Analyzers/analyzers/' -name requirements.txt -exec pip install -r {} ;

@nadouani nadouani self-assigned this Jun 28, 2017
@nadouani
Copy link
Contributor

As stated on the latest documentation at https://github.com/CERT-BDF/CortexDocs/blob/master/installation/analyzers.md you can use the following command

cd analyzers
sudo pip install $(sort -u */requirements.txt)

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

No branches or pull requests

3 participants