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

Command not found issue for Windows #40

Closed
DaleDMT opened this issue Jul 25, 2018 · 5 comments
Closed

Command not found issue for Windows #40

DaleDMT opened this issue Jul 25, 2018 · 5 comments
Assignees
Labels
Milestone

Comments

@DaleDMT
Copy link

DaleDMT commented Jul 25, 2018

Command not found issue after instalation according README

$pip install dirhunt
....
Running setup.py install for humanize ... done
Running setup.py install for dirhunt ... done
Successfully installed beautifulsoup4-4.6.0 certifi-2018.4.16 chardet-3.0.4 click-6.7 colorama-0.3.9 dirhunt-0.4.0 humanize-0.5.1 idna-2.7 requests-2.19.1 requests-mock-1.5.2 six-1.11.0 urllib3-1.23

$dirhunt http://website.com/
"dirhunt" command not found

Windows10 64bit, python 3.7.0

@Nekmo Nekmo self-assigned this Jul 25, 2018
@Nekmo
Copy link
Owner

Nekmo commented Jul 25, 2018

Dirhunt has not been tested on Windows. It may work with some changes but I need time to read documentation about this.

Meanwhile, you can try to install Dirhunt in Bash under Windows 10.

Sorry for the inconvenience.

@DaleDMT
Copy link
Author

DaleDMT commented Jul 25, 2018

No problems. I installed dirhunt on windows just for the sake of curiosity.
Tomorrow I'll try on ubuntu.
Thanks for the interesting software

@Nekmo
Copy link
Owner

Nekmo commented Jul 31, 2018

Ok. The dirhunt script is not recognized by windows, but this is normal. The installation works without issues.


C:\Users\Gates>pip install dirhunt
Collecting dirhunt
  Downloading https://files.pythonhosted.org/packages/ed/75/586b1a6950d33705c5e4
bbd136f08d4d1a7b86f41fceb3ff896415174cb0/dirhunt-0.4.1.tar.gz
Collecting beautifulsoup4 (from dirhunt)
  Downloading https://files.pythonhosted.org/packages/fe/62/720094d06cb5a92cd4b3
aa3a7c678c0bb157526a95c4025d15316d594c4b/beautifulsoup4-4.6.1-py3-none-any.whl (
89kB)
    100% |████████████████████████████████| 92kB 590kB/s
Collecting requests (from dirhunt)
  Downloading https://files.pythonhosted.org/packages/65/47/7e02164a2a3db50ed6d8
a6ab1d6d60b69c4c3fdf57a284257925dfc12bda/requests-2.19.1-py2.py3-none-any.whl (9
1kB)
    100% |████████████████████████████████| 92kB 1.2MB/s
Collecting click (from dirhunt)
  Downloading https://files.pythonhosted.org/packages/34/c1/8806f99713ddb993c536
6c362b2f908f18269f8d792aff1abfd700775a77/click-6.7-py2.py3-none-any.whl (71kB)
    100% |████████████████████████████████| 71kB 305kB/s
Collecting humanize (from dirhunt)
  Downloading https://files.pythonhosted.org/packages/8c/e0/e512e4ac6d091fc990bb
e13f9e0378f34cf6eecd1c6c268c9e598dcf5bb9/humanize-0.5.1.tar.gz
Collecting colorama (from dirhunt)
  Downloading https://files.pythonhosted.org/packages/db/c8/7dcf9dbcb22429512708
fe3a547f8b6101c0d02137acbd892505aee57adf/colorama-0.3.9-py2.py3-none-any.whl
Collecting requests-mock (from dirhunt)
  Downloading https://files.pythonhosted.org/packages/f3/5b/7fc2615e6ae2d229214f
d4d7617dd28475d728124c5f3d0653663113ac85/requests_mock-1.5.2-py2.py3-none-any.wh
l
Collecting chardet<3.1.0,>=3.0.2 (from requests->dirhunt)
  Downloading https://files.pythonhosted.org/packages/bc/a9/01ffebfb562e4274b648
7b4bb1ddec7ca55ec7510b22e4c51f14098443b8/chardet-3.0.4-py2.py3-none-any.whl (133
kB)
    100% |████████████████████████████████| 143kB 6.6MB/s
Collecting urllib3<1.24,>=1.21.1 (from requests->dirhunt)
  Downloading https://files.pythonhosted.org/packages/bd/c9/6fdd990019071a4a32a5
e7cb78a1d92c53851ef4f56f62a3486e6a7d8ffb/urllib3-1.23-py2.py3-none-any.whl (133k
B)
    100% |████████████████████████████████| 143kB 2.2MB/s
Collecting certifi>=2017.4.17 (from requests->dirhunt)
  Downloading https://files.pythonhosted.org/packages/7c/e6/92ad559b7192d846975f
c916b65f667c7b8c3a32bea7372340bfe9a15fa5/certifi-2018.4.16-py2.py3-none-any.whl
(150kB)
    100% |████████████████████████████████| 153kB 2.2MB/s
Collecting idna<2.8,>=2.5 (from requests->dirhunt)
  Downloading https://files.pythonhosted.org/packages/4b/2a/0276479a4b3caeb8a8c1
af2f8e4355746a97fab05a372e4a2c6a6b876165/idna-2.7-py2.py3-none-any.whl (58kB)
    100% |████████████████████████████████| 61kB 2.0MB/s
Collecting six (from requests-mock->dirhunt)
  Downloading https://files.pythonhosted.org/packages/67/4b/141a581104b1f6397bfa
78ac9d43d8ad29a7ca43ea90a2d863fe3056e86a/six-1.11.0-py2.py3-none-any.whl
Installing collected packages: beautifulsoup4, chardet, urllib3, certifi, idna,
requests, click, humanize, colorama, six, requests-mock, dirhunt
  The script chardetect.exe is installed in 'c:\users\Gates\appdata\local\progra
ms\python\python37-32\Scripts' which is not on PATH.
  Consider adding this directory to PATH or, if you prefer to suppress this warn
ing, use --no-warn-script-location.
  Running setup.py install for humanize ... done
  Running setup.py install for dirhunt ... done
Successfully installed beautifulsoup4-4.6.1 certifi-2018.4.16 chardet-3.0.4 clic
k-6.7 colorama-0.3.9 dirhunt-0.4.1 humanize-0.5.1 idna-2.7 requests-2.19.1 reque
sts-mock-1.5.2 six-1.11.0 urllib3-1.23
You are using pip version 10.0.1, however version 18.0 is available.
You should consider upgrading via the 'python -m pip install --upgrade pip' comm
and.

Dirhunt works using the Python script:

C:\Users\Gates>C:\USERS\Gates\AppData\Local\Programs\Python\Python37-32\python C:\Users\Gates\AppData\Local\Programs\Python\Python37-32\Scripts\dirhunt http://mysite.com/

I will continue investigating this topic.

@Nekmo Nekmo added the Setup label Jul 31, 2018
@Nekmo
Copy link
Owner

Nekmo commented Jul 31, 2018

Ok, commit 723c6f5 fix this issue. Please test issue-40 branch.

Thank you!

@Nekmo Nekmo closed this as completed Jul 31, 2018
@Nekmo Nekmo added this to the v0.5.0 milestone Jul 31, 2018
@mrtea2211
Copy link

bbb

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

No branches or pull requests

3 participants