Comments (16)
What version of Python are you running?
$ sudo apt-get install html
from linkfinder.
As I wrote upper: Python 3.8.3
from linkfinder.
Help !
from linkfinder.
Help !
What version of python are you running ?
from linkfinder.
What version of python are you running ?
chech this out
from linkfinder.
I recommend you to don't use anymore python2 because it's no more supported and LinkFinder support python3. So use pip3
instead of pip
. But I thinks you will have the same error as me.
from linkfinder.
To reproduce my issue:
git clone https://github.com/GerbenJavado/LinkFinder.git
cd LinkFinder
pip3 install -r requirements.txt
sudo python3 setup.py install
linkfinder -h
Error:
Traceback (most recent call last):
File "/home/xinshen/.local/bin//linkfinder", line 11, in <module>
import re, sys, glob, html, argparse, jsbeautifier, webbrowser, subprocess, base64, ssl, xml.etree.ElementTree
ImportError: No module named html
Otherwise it's running well with:
python3 linkfinder.py -h
from linkfinder.
To reproduce my issue:
git clone https://github.com/GerbenJavado/LinkFinder.git cd LinkFinder pip3 install -r requirements.txt sudo python3 setup.py install linkfinder -h
Error:
Traceback (most recent call last): File "/home/xinshen/.local/bin//linkfinder", line 11, in <module> import re, sys, glob, html, argparse, jsbeautifier, webbrowser, subprocess, base64, ssl, xml.etree.ElementTree ImportError: No module named htmlOtherwise it's running well with:
python3 linkfinder.py -h
linkfinder -h
not working, i have done with sudo python3 setup.py install
command
python3 linkfinder.py -h
working good
Thanks bro for your support
from linkfinder.
@x1n5h3n, would you be willing to retest your steps above? Does the problem still occur with the latest master branch?
from linkfinder.
I've got a ModuleNotFoundError when trying to install requirements modules.
Steps to reproduce:
git clone https://github.com/GerbenJavado/LinkFinder.git
cd LinkFinder
pip3 install -r requirements.txt
Requirement already satisfied: jsbeautifier in /home/xinshen/.local/lib/python3.8/site-packages (from -r requirements.txt (line 1)) (1.10.3)
Collecting html
Using cached html-1.16.tar.gz (7.6 kB)
ERROR: Command errored out with exit status 1:
command: /usr/bin/python3 -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-ansfj40_/html/setup.py'"'"'; __file__='"'"'/tmp/pip-install-ansfj40_/html/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' egg_info --egg-base /tmp/pip-pip-egg-info-fwdyf2xd
cwd: /tmp/pip-install-ansfj40_/html/
Complete output (15 lines):
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/usr/lib/python3/dist-packages/setuptools/__init__.py", line 20, in <module>
from setuptools.depends import Require
File "/usr/lib/python3/dist-packages/setuptools/depends.py", line 6, in <module>
from .py33compat import Bytecode
File "/usr/lib/python3/dist-packages/setuptools/py33compat.py", line 11, in <module>
from setuptools.extern.six.moves import html_parser
File "/usr/lib/python3/dist-packages/setuptools/_vendor/six.py", line 92, in __get__
result = self._resolve()
File "/usr/lib/python3/dist-packages/setuptools/_vendor/six.py", line 115, in _resolve
return _import_module(self.mod)
File "/usr/lib/python3/dist-packages/setuptools/_vendor/six.py", line 82, in _import_module
__import__(name)
ModuleNotFoundError: No module named 'html.parser'; 'html' is not a package
----------------------------------------
ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.
Otherwise it's running well, for me, without installing requirements packages.
from linkfinder.
Hi @EdOverflow,
c9cfaa5 has broken pip3 install -r requirements.txt
. Now it returns:
...
Collecting html
Downloading html-1.16.tar.gz (7.6 kB)
ERROR: Command errored out with exit status 1:
command: /usr/bin/python3 -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-flkrb8ji/html/setup.py'"'"'; __file__='"'"'/tmp/pip-install-flkrb8ji/html/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' egg_info --egg-base /tmp/pip-install-flkrb8ji/html/pip-egg-info
cwd: /tmp/pip-install-flkrb8ji/html/
Complete output (17 lines):
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/usr/lib/python3/dist-packages/setuptools/__init__.py", line 19, in <module>
from setuptools.dist import Distribution, Feature
File "/usr/lib/python3/dist-packages/setuptools/dist.py", line 35, in <module>
from setuptools.depends import Require
File "/usr/lib/python3/dist-packages/setuptools/depends.py", line 6, in <module>
from .py33compat import Bytecode
File "/usr/lib/python3/dist-packages/setuptools/py33compat.py", line 11, in <module>
from setuptools.extern.six.moves import html_parser
File "/usr/lib/python3/dist-packages/setuptools/_vendor/six.py", line 92, in __get__
result = self._resolve()
File "/usr/lib/python3/dist-packages/setuptools/_vendor/six.py", line 115, in _resolve
return _import_module(self.mod)
File "/usr/lib/python3/dist-packages/setuptools/_vendor/six.py", line 82, in _import_module
__import__(name)
ModuleNotFoundError: No module named 'html.parser'; 'html' is not a package
----------------------------------------
ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.
As far as I understand html
module is built-in in python3 so we don't need to install it manually.
Software versions
$ pip3 --version
WARNING: pip is being invoked by an old script wrapper. This will fail in a future version of pip.
Please see https://github.com/pypa/pip/issues/5599 for advice on fixing the underlying issue.
To avoid this problem you can invoke Python with '-m pip' instead of running pip directly.
pip 20.0.2 from /usr/lib/python3/dist-packages/pip (python 3.8)
$ python3 --version
Python 3.8.2
$ uname -a
Linux bug 5.4.0-31-generic #35-Ubuntu SMP Thu May 7 20:20:34 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux
from linkfinder.
Yep, you are absolutely right, @nikitastupin. I noticed this when @x1n5h3n tried reproducing the problem. As you pointed out, html
is a built-in module in Python 3. I will remove it from the requirements.txt
file.
from linkfinder.
Any help fixing this issue Mr EdOverflow have been on this for the past 3days no luck. Thanks
from linkfinder.
Hello,
I see the same error
$ py linkfinder.py -h
Traceback (most recent call last):
File "linkfinder.py", line 11, in
import re, sys, glob, argparse, jsbeautifier, webbrowser, subprocess, base64, ssl, xml.etree.ElementTree, html
ImportError: No module named html
$ py --version
Python 3.8.5
Please advice what can be done to fix it.
from linkfinder.
For me, this worked, In the linkfinder.py file, you have to change the shebang, the first line from python to python3
#!/usr/bin/env python
to #!/usr/bin/env python3
from linkfinder.
@abhi06991 when executed using python3 command, the shebang is not used.
When you run it like this ./linkfinder.py
, it's used.
from linkfinder.
Related Issues (20)
- Error: invalid input defined or SSL error: HTTP Error 404: Not Found HOT 1
- Is Linkfinder only supported on Linux? HOT 2
- Couldn't find index page for 'jsbeautifier' HOT 1
- /usr/bin/sensible-browser: 8: open: not found
- Linkfinder does not return any output HOT 1
- do not support ip?
- DeprecationWarning: ssl.PROTOCOL_TLSv1_2 HOT 12
- Blank Output
- Problem "SSL: CERTIFICATE_VERIFY_FAILED" HOT 2
- Running as root without sandbox isn't supported
- setup.py install deprecated HOT 1
- error after running it it related to sslcontext = ssl.SSLContext(ssl.PROTOCOL_TLSv1_2) HOT 3
- hiii
- Precondition Failed
- UnicodeDecodeError: 'gbk' codec can't decode byte 0x80 in position 3: illegal multibyte sequence
- Error: invalid input defined or SSL error: <urlopen error [SSL: TLSV1_ALERT_PROTOCOL_VERSION] tlsv1 alert protocol version (_ssl.c:1006)> HOT 1
- DeprecationWarning: ssl.PROTOCOL_TLSv1_2 is deprecated sslcontext = ssl.SSLContext(ssl.PROTOCOL_TLSv1_2) HOT 2
- libEGL warning: DRI2: failed to authenticate
- 54.221.251.148
- ?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from linkfinder.