-
Notifications
You must be signed in to change notification settings - Fork 439
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
requirements.txt problem #42
Comments
Does this fix the issue?
|
Nope Root@kali:~# pip install --upgrade setuptools root@kali:
Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-install-e5_clvfr/pybloom/ |
It working for me |
I am seeing the same error. Can this be looked at please? |
I had this too and
does not fix the problem...
|
@osamahamad it looks like you’re trying it with Python3 - try using Python2 |
@decidedlygray I tried with python2 & python3 and the same error occured. |
@osamahamad can you post the full stack trace for python2 like you did for python3 above? |
@decidedlygray Sir, |
Are you able to post the |
Actually, it looks like the
|
@decidedlygray Sir, |
@ImPRINCE99 I looked into this a little bit. It looks like they've removed that package. Try this, install the other dependencies:
Then install pip2 manually:
@shubham49m I have responded to this question in the ticket you opened: #56 |
The problem here is pip is calling python3 (I still see I just tested the steps below on a new Kali setup (2020.4), and it appears to work. It should work for any new version of kali that people are seeing this problem with. Follow along at your own risk. I'll try to upgrade xsscrapy to python3 and put in a pull request soon. 5 Steps to Get xsscrapy Running on New Kali InstallationsStep 1 - Install PyenvSince we don't want to break the python3 stuff in Kali, let's install python2 using Pyenv so we can switch back and forth. To install it, just run the following commands:
Step 2 - Make ZSH aware of our changes and reload our shellNow let's make sure ZSH uses pyenv by running the following commands:
Step 3 - Change our python to point to python2With pyenv install, now let's point
Step 4 - Install the project requirementsYou have probably done this first part, but we'll of course need to clone xsscrapy so we have it:
And now we install the requirements:
Step 5 - Run xsscrapy!Now the fun part (hopefully), run xsscrapy! Close your terminal window (yep, this is required). Open a new one and you should be able to run xsscrapy:
Additional Notes about Your New SetupDon't run this now, but if you ever need to switch back to Python3 as your default version of python, just run the following command:
btw, I pulled all this information from the following resources. Blame may go to me, but honor and glory go to the authors of these resources: https://www.kali.org/docs/general-use/python3-transition/ @ImPRINCE99 Let me know if that worked. It looks like you might be using a slightly older version of Kali, but still released within the past year. |
It looks like you’re using an older version of Kali. mitmproxy is a separate project, it looks like it might not be compatible with upgraded packages. It might be time to upgrade Kali ( |
hey @decidedlygray |
@Broly157 Some step was skipped or didn’t work properly (maybe step 3) because I can see from your error message that you’re using python3 and not 2 |
Yes, I'm using python3, I have to use python2? |
Yes |
The 5 steps provided are how to get python2 up and running. An alternative would be to use the python3 work in progress version here, but it sounds like it is somewhat untested - https://github.com/L1NT/xsscrapy |
Facing the same problems. Considering to migrate XSScrapy to Python3. Has anyone tried or done this? |
Indeed. See my comment directly above yours - it is a test version converted to python3 |
root@kali:~/xsscrapy# pip install -r requirements.txt
Collecting Scrapy==1.1.0rc3 (from -r requirements.txt (line 1))
Using cached https://files.pythonhosted.org/packages/c4/33/a87d324a3c25b6e6e8018b9161987e185910bd6e611ebb75ce169a7f1312/Scrapy-1.1.0rc3-py2.py3-none-any.whl
Collecting pybloom==1.1 (from -r requirements.txt (line 2))
Using cached https://files.pythonhosted.org/packages/1a/82/a1ad015bdc19bd7e10aa97070329b84b5e01c0c6b5de88df664a98413eed/pybloom-1.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-kysj5guf/pybloom/setup.py", line 2, in
from ez_setup import use_setuptools
File "/tmp/pip-install-kysj5guf/pybloom/ez_setup.py", line 98
except pkg_resources.VersionConflict, e:
^
SyntaxError: invalid syntax
Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-install-kysj5guf/pybloom/
The text was updated successfully, but these errors were encountered: