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

Problem installing requirements #280

Open
KnightTrek opened this issue Feb 25, 2019 · 3 comments
Open

Problem installing requirements #280

KnightTrek opened this issue Feb 25, 2019 · 3 comments

Comments

@KnightTrek
Copy link

Hello! I have a problem when I try to install the requirements, I get the next error:
python3 -m pip install -r requirements.txt
Collecting anyjson (from -r requirements.txt (line 1))
Using cached https://files.pythonhosted.org/packages/c3/4d/d4089e1a3dd25b46bebdb55a992b0797cff657b4477bc32ce28038fdecbc/anyjson-0.3.3.tar.gz
Collecting beautifulsoup (from -r requirements.txt (line 2))
Using cached https://files.pythonhosted.org/packages/1e/ee/295988deca1a5a7accd783d0dfe14524867e31abb05b6c0eeceee49c759d/BeautifulSoup-3.2.1.tar.gz
Complete output from command python setup.py egg_info:
Traceback (most recent call last):
File "", line 1, in
File "/tmp/pip-install-z8y5fh4t/beautifulsoup/setup.py", line 22
print "Unit tests have failed!"
^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print("Unit tests have failed!")?

----------------------------------------

Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-install-z8y5fh4t/beautifulsoup/
I'm using Kali Linux

@alvahdati
Copy link

Hi. Exactly the same problem on Kali 2019.1. No solution after a couple on months??

@alvahdati
Copy link

building with pip2 solved the problem. so:

  1. pip2 install --upgrade --force-reinstall -r requirements.txt
    then build with pip again:
  2. pip install --upgrade --force-reinstall -r requirements.txt

@rebl0x3r
Copy link

rebl0x3r commented Jul 4, 2020

Well, install them manually :

while read line; do pip install $line; done < requirements.txt

Fixed => Close.

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

3 participants