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

Import cache failed. [CRITICAL] #8111

Closed
ghost opened this issue Jan 2, 2016 · 3 comments
Closed

Import cache failed. [CRITICAL] #8111

ghost opened this issue Jan 2, 2016 · 3 comments

Comments

@ghost
Copy link

@ghost ghost commented Jan 2, 2016

I cant download anything anymore. all i get is this error

Traceback (most recent call last):
File "/usr/local/bin/youtube-dl", line 9, in
load_entry_point('youtube-dl==2016.1.1', 'console_scripts', 'youtube-dl')()
File "/usr/lib/python2.7/dist-packages/pkg_resources/init.py", line 558, in load_entry_point
return get_distribution(dist).load_entry_point(group, name)
File "/usr/lib/python2.7/dist-packages/pkg_resources/init.py", line 2682, in load_entry_point
return ep.load()
File "/usr/lib/python2.7/dist-packages/pkg_resources/init.py", line 2355, in load
return self.resolve()
File "/usr/lib/python2.7/dist-packages/pkg_resources/init.py", line 2361, in resolve
module = import(self.module_name, fromlist=['name'], level=0)
File "/usr/local/lib/python2.7/dist-packages/youtube_dl-2016.1.1-py2.7.egg/youtube_dl/init.py", line 44, in
from .YoutubeDL import YoutubeDL
File "/usr/local/lib/python2.7/dist-packages/youtube_dl-2016.1.1-py2.7.egg/youtube_dl/YoutubeDL.py", line 84, in
from .cache import Cache
ImportError: No module named cache

@vxbinaca
Copy link
Contributor

@vxbinaca vxbinaca commented Jan 2, 2016

  1. Run youtube-dl --verbose then your URL you're trying to rip, currently this bug report is useless. Edit your issue with the result.
  2. Is this really critical? I bet it's not. I bet if you run --rm-cache-dir and try again that would fix it, or --no-cache-dir to simply ignore caching.
@yan12125
Copy link
Collaborator

@yan12125 yan12125 commented Jan 2, 2016

Could you provide more details?

  1. Does /usr/local/lib/python2.7/dist-packages/youtube_dl-2016.1.1-py2.7.egg/youtube_dl/cache.py exist? If not, you need to reinstall youtube-dl.
  2. How did you install youtube-dl?
  3. Operating system, Python and pip/setuptools versions
@ghost
Copy link
Author

@ghost ghost commented Jan 2, 2016

It is fixed.the problem was that git did not copy the whole repository

On Sat, Jan 2, 2016, 3:45 PM Yen Chi Hsuan notifications@github.com wrote:

Could you provide more details?

  1. Does
    /usr/local/lib/python2.7/dist-packages/youtube_dl-2016.1.1-py2.7.egg/youtube_dl/cache.py
    exist? If not, you need to reinstall youtube-dl.
  2. How did you install youtube-dl?
  3. Operating system, Python and pip/setuptools versions


Reply to this email directly or view it on GitHub
#8111 (comment).

@yan12125 yan12125 closed this Jan 2, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants
You can’t perform that action at this time.