Code Monkey home page Code Monkey logo

Comments (4)

EverLife0-0 avatar EverLife0-0 commented on September 27, 2024 1

have the same bug

from tgcf.

superbonaci avatar superbonaci commented on September 27, 2024

Same thing with pipx:

$ pipx install tgcf
  installed package tgcf 1.1.8, installed using Python 3.12.3
  These apps are now globally available
    - tgcf
    - tgcf-web
done! ✨ 🌟 ✨
$ tgcf-web
Traceback (most recent call last):
  File "/Users/aahnik/.local/bin/tgcf-web", line 8, in <module>
    sys.exit(main())
             ^^^^^^
  File "/Users/aahnik/.local/pipx/venvs/tgcf/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/[email protected]/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/[email protected]/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/[email protected]/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/[email protected]/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/[email protected]/3.12.3/Frameworks/Python.framework/Versions/3.12/lib/python3.12/importlib/resources/abc.py", line 117, in joinpath
    target = next(names)
             ^^^^^^^^^^^
StopIteration

from tgcf.

grahamstanes33 avatar grahamstanes33 commented on September 27, 2024

bro try in windows like he said in his yt channel , follow all the steps it will work , and it's working for me but just few problems in live forwarding

from tgcf.

superbonaci avatar superbonaci commented on September 27, 2024

It's still working despite the errors:

Enter http://localhost:8501/Run

Welcome to tgcf 👋
AttributeError: module 'streamlit.components' has no attribute 'v1'
Traceback:
File "/Users/aahnik/my-tgcf/.venv/lib/python3.11/site-packages/streamlit/runtime/scriptrunner/script_runner.py", line 600, in _run_script
    exec(code, module.__dict__)
File "/Users/aahnik/my-tgcf/.venv/lib/python3.11/site-packages/tgcf/web_ui/0_👋_Hello.py", line 18, in <module>
    st.components.v1.html(html, width=None, height=None, scrolling=False)
    ^^^^^^^^^^^^^^^^

from tgcf.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.