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

"tgcf-web" command gives this error on Mac #594

Open
manjulsigdel opened this issue Apr 22, 2024 · 4 comments
Open

"tgcf-web" command gives this error on Mac #594

manjulsigdel opened this issue Apr 22, 2024 · 4 comments
Labels
bug Something isn't working

Comments

@manjulsigdel
Copy link

Traceback (most recent call last):
File "/Users/manjulsigdel/Projects/my-tgcf/.venv/bin/tgcf-web", line 8, in
sys.exit(main())
^^^^^^
File "/Users/manjulsigdel/Projects/my-tgcf/.venv/lib/python3.12/site-packages/tgcf/web_ui/run.py", line 8, in main
package_dir = resources.path(package=wu, resource="").enter()
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/homebrew/Cellar/python@3.12/3.12.3/Frameworks/Python.framework/Versions/3.12/lib/python3.12/importlib/resources/_legacy.py", line 25, in wrapper
return func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^
File "/opt/homebrew/Cellar/python@3.12/3.12.3/Frameworks/Python.framework/Versions/3.12/lib/python3.12/importlib/resources/_legacy.py", line 120, in path
return _common.as_file(_common.files(package) / normalize_path(resource))
~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~
File "/opt/homebrew/Cellar/python@3.12/3.12.3/Frameworks/Python.framework/Versions/3.12/lib/python3.12/importlib/resources/abc.py", line 133, in truediv
return self.joinpath(child)
^^^^^^^^^^^^^^^^^^^^
File "/opt/homebrew/Cellar/python@3.12/3.12.3/Frameworks/Python.framework/Versions/3.12/lib/python3.12/importlib/resources/readers.py", line 92, in joinpath
return super().joinpath(*descendants)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/homebrew/Cellar/python@3.12/3.12.3/Frameworks/Python.framework/Versions/3.12/lib/python3.12/importlib/resources/abc.py", line 117, in joinpath
target = next(names)
^^^^^^^^^^^
StopIteration

How to reproduce
Just installed following Readme

python version 3.12.3
pip version 24.0
Macbook Air M1 Chip

@manjulsigdel manjulsigdel added the bug Something isn't working label Apr 22, 2024
@a-dev1
Copy link

a-dev1 commented May 13, 2024

I am also facing the same issue on Mac.

@a-dev1
Copy link

a-dev1 commented May 15, 2024

@aahnik @nmaiti @MobCode100 @FloPinguin @Matt3oV , I guess most of the mac users are facing the same issue, please look into the matter as soon as possible.

@dymbox
Copy link

dymbox commented May 23, 2024

Same here, python3.12, neither downloaded .pkg, nor brew installed works

@shaotingchang
Copy link

In the same boat over here. Any help would be greatly appreciated!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants