I have trouble getting this to work :(
See original GitHub issueI remember this working for me before, but now it just refuses to work.
I install all the libraries with:
python3 -m pip install -r requirements.txt
and it works except this warning:
WARNING: The script f2py.exe is installed in 'C:\Users\Me\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.7_qbz5n2kfra8p0\LocalCache\local-packages\Python37\Scripts' which is not on PATH.
Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.
WARNING: The script pytube.exe is installed in 'C:\Users\Me\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.7_qbz5n2kfra8p0\LocalCache\local-packages\Python37\Scripts' which is not on PATH.
and when I try to run the program:
python3 jumpcutter.py -h
It gives me this
Traceback (most recent call last):
File "jumpcutter.py", line 9, in <module>
from pytube import YouTube
File "C:\Users\Me\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.7_qbz5n2kfra8p0\LocalCache\local-packages\Python37\site-packages\pytube\__init__.py", line 16, in <module>
from pytube.streams import Stream
File "C:\Users\Me\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.7_qbz5n2kfra8p0\LocalCache\local-packages\Python37\site-packages\pytube\streams.py", line 17, in <module>
from pytube import extract
File "C:\Users\Me\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.7_qbz5n2kfra8p0\LocalCache\local-packages\Python37\site-packages\pytube\extract.py", line 7, in <module>
from pytube.compat import quote
ImportError: cannot import name 'quote' from 'pytube.compat' (C:\Users\Me\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.7_qbz5n2kfra8p0\LocalCache\local-packages\Python37\site-packages\pytube\compat.py)
Thanks in advance
Issue Analytics
- State:
- Created 4 years ago
- Comments:8
Top Results From Across the Web
7 Reasons You Have No Motivation To Work (And ... - Zippia
You're too busy. · You have a hard time getting started. · You have a hard time separating work from your personal life....
Read more >12 Tips for When You're Having Trouble Finding a Job - Indeed
1. Wait before filling out an application · 2. Improve your resume · 3. Craft a compelling cover letter · 4. Update your...
Read more >5 Mental Health Tricks When You're Struggling At Work - Forbes
Spend it taking care of yourself. Make yourself a meal that'll last you a few nights (reliving pressure for the following day.) Do...
Read more >What to Do When You Can't Find a Job: 13 Tips | FlexJobs
Try a Temporary Job If you've been job searching for a while and still haven't landed the perfect position, you may want to...
Read more >8 Things Proactive People Do After Getting In Trouble At Work
1. Own your mistake and tell appropriate parties. It's important to own your mistake because it likely will affect your team. It might...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Did you just type python as the second command or did you write python3 jumpcutte.py -h? python and python3 could be different versions. As you installed the requirements with
python3 -m pip install -r requirements.txt
they would not be installed for your python which is probably just version 2.7. You would probably get a similar ImportErrorThe next thing is: I just assumed, that the error tells you to add it to your PYTHONPATH but looking at it again it clearly says PATH variable. Maybe try:
hahhh, I got the solution! run
pip install pytube3 --upgrade
I think the pytube is deprecated, only the pytube3 is in development. so the requirement.txt should update thepytube
intopytube3