Giter VIP home page Giter VIP logo

streamlit_navbar's Issues

Repo readme does not work anymore

Followed your instructions, and I end up getting the following error:

(streamlit_navbar) ~/streamlit_navbar-main $ streamlit run app_navbar.py
Traceback (most recent call last):
  File "/Users/cmoriarty/opt/miniconda3/envs/streamlit_navbar/bin/streamlit", line 5, in <module>
    from streamlit.cli import main
  File "/Users/cmoriarty/opt/miniconda3/envs/streamlit_navbar/lib/python3.7/site-packages/streamlit/__init__.py", line 48, in <module>
    from streamlit.proto.RootContainer_pb2 import RootContainer
  File "/Users/cmoriarty/opt/miniconda3/envs/streamlit_navbar/lib/python3.7/site-packages/streamlit/proto/RootContainer_pb2.py", line 37, in <module>
    create_key=_descriptor._internal_create_key),
  File "/Users/cmoriarty/opt/miniconda3/envs/streamlit_navbar/lib/python3.7/site-packages/google/protobuf/descriptor.py", line 796, in __new__
    _message.Message._CheckCalledFromGeneratedFile()
TypeError: Descriptors cannot not be created directly.
If this call came from a _pb2.py file, your generated code is out of date and must be regenerated with protoc >= 3.19.0.
If you cannot immediately regenerate your protos, some other possible workarounds are:
 1. Downgrade the protobuf package to 3.20.x or lower.
 2. Set PROTOCOL_BUFFERS_PYTHON_IMPLEMENTATION=python (but this will use pure-Python parsing and will be much slower).

I also just copied the app's code into my own newer conda env, which did work, but doesn't actually display the top bar:
image

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.