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

missing __main__ file ? #246

Closed
SaudAlfurhud opened this issue Jan 10, 2021 · 6 comments
Closed

missing __main__ file ? #246

SaudAlfurhud opened this issue Jan 10, 2021 · 6 comments
Labels
question Further information is requested

Comments

@SaudAlfurhud
Copy link

i trying to install tartube on mac os 10.15.7 but when i reach final step (type: python3 tartube/tartube) i face this error message, /Library/Frameworks/Python.framework/Versions/3.9/bin/python3: can't find 'main' module in '/Users/saud/Downloads/tartube/tartube'

@SaudAlfurhud SaudAlfurhud added the question Further information is requested label Jan 10, 2021
@axcore
Copy link
Owner

axcore commented Jan 12, 2021

I have never used MacOS, so there may be little I can do to help you.

However, I suspect that you are in the wrong folder. When you type python3 tartube/tartube, you should be in a folder containing the file setup.py.

Try typing the command in /Users/saud/Downloads/tartube/ instead.

@SaudAlfurhud
Copy link
Author

SaudAlfurhud commented Jan 12, 2021

Thank you for your replay and helping me, I tried that before and also I got an error
T** (process:48230): WARNING **: 02:53:57.936: Failed to load shared library 'libpango-1.0.0.dylib' referenced by the typelib: dlopen(libpango-1.0.0.dylib, 9): image not found Traceback (most recent call last): File "/Users/saud/tartube/tartube/tartube", line 40, in <module> import mainapp File "/Users/saud/tartube/tartube/mainapp.py", line 26, in <module> from gi.repository import Gtk, GObject, GdkPixbuf File "<frozen importlib._bootstrap>", line 1007, in _find_and_load File "<frozen importlib._bootstrap>", line 986, in _find_and_load_unlocked File "<frozen importlib._bootstrap>", line 664, in _load_unlocked File "<frozen importlib._bootstrap>", line 627, in _load_backward_compatible File "/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/gi/importer.py", line 144, in load_module importlib.import_module('gi.repository.' + dep.split("-")[0]) File "/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/importlib/__init__.py", line 127, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "<frozen importlib._bootstrap>", line 1030, in _gcd_import File "<frozen importlib._bootstrap>", line 1007, in _find_and_load File "<frozen importlib._bootstrap>", line 986, in _find_and_load_unlocked File "<frozen importlib._bootstrap>", line 664, in _load_unlocked File "<frozen importlib._bootstrap>", line 627, in _load_backward_compatible File "/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/gi/importer.py", line 144, in load_module importlib.import_module('gi.repository.' + dep.split("-")[0]) File "/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/importlib/__init__.py", line 127, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "<frozen importlib._bootstrap>", line 1030, in _gcd_import File "<frozen importlib._bootstrap>", line 1007, in _find_and_load File "<frozen importlib._bootstrap>", line 986, in _find_and_load_unlocked File "<frozen importlib._bootstrap>", line 664, in _load_unlocked File "<frozen importlib._bootstrap>", line 627, in _load_backward_compatible File "/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/gi/importer.py", line 145, in load_module dynamic_module = load_overrides(introspection_module) File "/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/gi/overrides/__init__.py", line 118, in load_overrides override_mod = importlib.import_module(override_package_name) File "/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/importlib/__init__.py", line 127, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/gi/overrides/Pango.py", line 41, in <module> FontDescription = override(FontDescription) File "/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/gi/overrides/__init__.py", line 195, in override assert g_type != TYPE_NONE AssertionError

I should mention I preform the commant on /Users/saud/Downloads/Tartube/tartube where the setup.py file is.

@axcore
Copy link
Owner

axcore commented Jan 13, 2021

I don't know how to help you, I'm sorry.

@hassanelfadil
Copy link

Dear @SaudAlfurhud , Salam
Were you able to resolve your issue? I am stuck at the same stage Mac OS Big Sur.

@SaudAlfurhud
Copy link
Author

Dear @SaudAlfurhud , Salam

Were you able to resolve your issue? I am stuck at the same stage Mac OS Big Sur.

I could not solve it.

@axcore
Copy link
Owner

axcore commented Apr 1, 2022

All macOS installation problems have been consolidated into one issue, #393.

@axcore axcore closed this as completed Apr 1, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

3 participants