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

https://pypi.org/simple/entropy/ package not found #53

Closed
dfirnewbie opened this issue Feb 19, 2020 · 5 comments
Closed

https://pypi.org/simple/entropy/ package not found #53

dfirnewbie opened this issue Feb 19, 2020 · 5 comments

Comments

@dfirnewbie
Copy link

When I installing phishing_catcher, I got the following error:

Could not install packages due to an EnvironmentError: 404 Client Error: Not Found for url: https://pypi.org/simple/entropy/

I tried finding on Google if there's any similar packages, but there are too many (results: https://pypi.org/search/?q=entropy) and I'm not too sure which package to use.

May I know what should this package be replaced with?

@dfirnewbie
Copy link
Author

Issue resolved...

I referred to the dependencies page (https://github.com/x0rz/phishing_catcher/network/dependencies) and found the entropy package to install, and removed the line from requirements.txt after successfully installing entropy.

@morriscode
Copy link

I did the same thing as above... however after installing entropy it just barfs.

certificate_update: 0cert [00:00, ?cert/s][INFO:root] 2020-02-27 17:57:48,119 - Connection established to CertStream! Listening for events... certificate_update: 1cert [00:01, 1.25s/cert][ERROR:websocket] 2020-02-27 17:57:49,141 - error from callback <bound method CertStreamClient._on_message of <certstream.core.CertStreamClient object at 0x7fb21597e278>>: module 'entropy' has no attribute 'shannon_entropy' [ERROR:websocket] 2020-02-27 17:57:49,189 - error from callback <bound method CertStreamClient._on_message of <certstream.core.CertStreamClient object at 0x7fb21597e278>>: module 'entropy' has no attribute 'shannon_entropy' [ERROR:websocket] 2020-02-27 17:57:49,213 - error from callback <bound method CertStreamClient._on_message of <certstream.core.CertStreamClient object at 0x7fb21597e278>>: module 'entropy' has no attribute 'shannon_entropy' certificate_update: 4cert [00:01, 1.13cert/s][ERROR:websocket] 2020-02-27 17:57:49,228 - error from callback <bound method CertStreamClient._on_message of <certstream.core.CertStreamClient object at 0x7fb21597e278>>: module 'entropy' has no attribute 'shannon_entropy' [ERROR:websocket] 2020-02-27 17:57:49,250 - error from callback <bound method CertStreamClient._on_message of <certstream.core.CertStreamClient object at 0x7fb21597e278>>: module 'entropy' has no attribute 'shannon_entropy' [ERROR:websocket] 2020-02-27 17:57:49,290 - error from callback <bound method CertStreamClient._on_message of <certstream.core.CertStreamClient object at 0x7fb21597e278>>: module 'entropy' has no attribute 'shannon_entropy' [ERROR:websocket] 2020-02-27 17:57:49,312 - error from callback <bound method CertStreamClient._on_message of <certstream.core.CertStreamClient object at 0x7fb21597e278>>: module 'entropy' has no attribute 'shannon_entropy'

@gthubs
Copy link

gthubs commented Mar 11, 2020

Hello. I was able to solve the error module 'entropy' has no attribute 'shannon_entropy'
As I understood the reason in the wrong entropy module (like here github.com/raphaelvallat/entropy/releases).

I hardly found the entropy-0.10.tar.gz, here is the link files.pythonhosted.org/packages/8c/34/f1d90497254a2b7ce23787773db4a0a1928405bf96108c20070c8029aaa8/entropy-0.10.tar.gz
I hope it’s safe, but if there are specialists, check the code just in case. And if anyone can save the archive in a reliable hosting plese do it.

So the complete instruction for beginners (like me) for Debian 10 (debian-live-10.3.0-amd64-xfce)

  1. sudo apt-get update && sudo apt-get -y upgrade
  2. sudo apt-get install python3-pip
  3. Download entropy-0.10.tar.gz (link above), unzip, go to the folder, open terminal and command sudo pip3 install -r requirements.txt and after python3 setup.py develop
  4. Download phishing_catcher-master.zip, unzip, go to folder, find requirements.txt and delete line entropy==0.10 (because there is 404 error so we installed separately), save.
  5. Open terminal, command sudo pip3 install -r requirements.txt and after python3 catch_phishing.py for run script

@vicky14rockz
Copy link

still having issue.. .mr. x0rz can you sort this?

@x0rz
Copy link
Owner

x0rz commented Mar 25, 2020

This should be fixed now (267a597)

@x0rz x0rz closed this as completed Mar 25, 2020
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

5 participants