question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Hi there, Unfortunately, on running python jumpcutter.py -h the following error is occurring; C:\Users\wills\Downloads\PyJumpcutterV2-master\PyJumpcutterV2-master>python jumpcutter.py -h Traceback (most recent call last): File "jumpcutter.py", line 9, in <module> from pytube import YouTube File "C:\Python27\lib\site-packages\pytube\__init__.py", line 16, in <module> from pytube.streams import Stream File "C:\Python27\lib\site-packages\pytube\streams.py", line 17, in <module> from pytube import extract File "C:\Python27\lib\site-packages\pytube\extract.py", line 6, in <module> from html.parser import HTMLParser ImportError: No module named html.parser

Issue Analytics

  • State:open
  • Created 3 years ago
  • Comments:7

github_iconTop GitHub Comments

2reactions
kiaorapetercommented, Apr 7, 2020

Thank you. Don’t worry. I need to suck eggs a little at first. After typing command in stage 1, the command states Requirement already up-to-date: pip in c:\python27\lib\site-packages (20.0.2) which is nice. I didn’t know you could just run the requirements.txt file like that so thank you for letting me know. After running py -m pip install -r requirements.txt (as starting the command with python3 did not work, please let me know if this is an issue), the installations occurred and I had the message Successfully installed Pillow-7.1.1 audiotsm-0.1.2 numpy-1.18.2 scipy-1.4.1 I did receive some warnings about considering adding certain directories to PATH and to consider upgrading from pip version 10.0.1 to version 20.0.2 (please let me know if this is a big deal).

I am still getting the HTMLParser issue if I run the command python jumpcutter.py -h
I receive a different issue if I run the command py jumpcutter.py -h Both are shown below. I’m sorry if this is annoying. I don’t mind the confusion as I’m still learning.

C:\Users\wills\Downloads\jumpcutter-master>python jumpcutter.py -h
Traceback (most recent call last):
  File "jumpcutter.py", line 13, in <module>
    from pytube import YouTube
  File "C:\Python27\lib\site-packages\pytube\__init__.py", line 16, in <module>
    from pytube.streams import Stream
  File "C:\Python27\lib\site-packages\pytube\streams.py", line 17, in <module>
    from pytube import extract
  File "C:\Python27\lib\site-packages\pytube\extract.py", line 6, in <module>
    from html.parser import HTMLParser
ImportError: No module named html.parser

C:\Users\wills\Downloads\jumpcutter-master>py jumpcutter.py -h
Traceback (most recent call last):
  File "jumpcutter.py", line 13, in <module>
    from pytube import YouTube
  File "C:\Users\wills\AppData\Local\Programs\Python\Python37-32\lib\site-packages\pytube\__init__.py", line 16, in <module>
    from pytube.streams import Stream
  File "C:\Users\wills\AppData\Local\Programs\Python\Python37-32\lib\site-packages\pytube\streams.py", line 17, in <module>
    from pytube import extract
  File "C:\Users\wills\AppData\Local\Programs\Python\Python37-32\lib\site-packages\pytube\extract.py", line 7, in <module>
    from pytube.compat import quote
ImportError: cannot import name 'quote' from 'pytube.compat' (C:\Users\wills\AppData\Local\Programs\Python\Python37-32\lib\site-packages\pytube\compat.py)
1reaction
Duncluckcommented, Apr 6, 2020

try: C:\Users\wills\AppData\Local\Programs\Python\Python38-32\Scripts>py pip.exe install pytube --upgrade you should have pip.exe in your scripts folder

Read more comments on GitHub >

github_iconTop Results From Across the Web

Issues · tautologistics/node-htmlparser - GitHub
Problem when a <script> tag is not closed. #71 opened on Mar 23, 2015 by davidfoliveira.
Read more >
html.parser — Simple HTML and XHTML parser ... - Python Docs
This module defines a class HTMLParser which serves as the basis for parsing text files formatted in HTML (HyperText Mark-up Language) and XHTML....
Read more >
htmlparser problem - java - Stack Overflow
using htmlparser (http://htmlparser.sourceforge.net/) I have been trying to extract information (Content1 + Link) from a html table.
Read more >
HTML parser bug triggers Chromium XSS security flaw
A “crazy” parser bug potentially leading to XSS exploits has been patched by Chromium developers. The vulnerability was reported in July 2021 to ......
Read more >
HTML Parser - Part 1 - HackerRank
Parse HTML tags, attributes and attribute values using HTML Parser. ... Use proper formatting as explained in the problem statement. Sample Input.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found