MrS0m30n3 / youtube-dl-gui

A cross platform front-end GUI of the popular youtube-dl written in wxPython.
The Unlicense
9.3k stars 1.59k forks source link

Install Issues #354

Open supersaiyansubtlety opened 5 years ago

supersaiyansubtlety commented 5 years ago

What is the purpose of your issue?


without sudo

python setup.py install
Traceback (most recent call last):
  File "setup.py", line 73, in <module>
    from youtube_dl_gui import (
  File "/Users/willlucic/Downloads/youtube-dl-gui-master/youtube_dl_gui/__init__.py", line 20, in <module>
    import gettext
  File "/usr/local/Cellar/python@2/2.7.15_1/Frameworks/Python.framework/Versions/2.7/lib/python2.7/gettext.py", line 49, in <module>
    import locale, copy, os, re, struct, sys
  File "/usr/local/Cellar/python@2/2.7.15_1/Frameworks/Python.framework/Versions/2.7/lib/python2.7/copy.py", line 52, in <module>
    import weakref
  File "/usr/local/Cellar/python@2/2.7.15_1/Frameworks/Python.framework/Versions/2.7/lib/python2.7/weakref.py", line 14, in <module>
    from _weakref import (
ImportError: cannot import name _remove_dead_weakref

with sudo

sudo python setup.py install
Password:
/usr/local/lib/python2.7/site-packages/wx-3.0-osx_cocoa/wx/_core.py:16633: UserWarning: wxPython/wxWidgets release number mismatch
  warnings.warn("wxPython/wxWidgets release number mismatch")
No module named twodict

What operating system do you use ?

macOS

List of actions to perform to reproduce the problem:

  1. Download latest release
  2. Unarchive and open folder in terminal
  3. Attempt ot install

What is the expected behaviour ?

Successful installation

What happens instead ?

Failed installation, see logs


I get the above errors when following the installation instructions, the first when I enter python setup.py install, the second when I enter sudo python setup.py install

I've installed wxpython

rhetr commented 5 years ago

install twodict

biwin commented 4 years ago

would be better if you add install_requires or something similar in setup.py