GithubHelp home page GithubHelp logo

Comments (12)

Asm-Def avatar Asm-Def commented on April 28, 2024 1

I did not use pip install git+https://github.com/Kanaries/pygwalker.git@streamlit-dev
since it seems not working.

The branch streamlit-dev has been deleted after being merged into main and released in pygwalker>=0.1.4.9.

from pygwalker.

leandroimail avatar leandroimail commented on April 28, 2024

PyGWalker is an amazing library. Congrats for your job. I have the same issue the @goncaloalves . For me will be very useful if it could use PyGWalker together streamlit.

from pygwalker.

Asm-Def avatar Asm-Def commented on April 28, 2024

Hello, welcome to make an early trial of Streamlit support with

!pip install git+https://github.com/Kanaries/pygwalker.git@streamlit-dev

import pygwalker as pyg
pyg.walk(df, env='Streamlit')

UPD: the branch streamlit-dev was only for trial and has been deleted after being merged into main.

from pygwalker.

Asm-Def avatar Asm-Def commented on April 28, 2024

released in pygwalker>=0.1.4.9.

from pygwalker.

fyenne avatar fyenne commented on April 28, 2024

thank you, it seems I can only visit on localhost, but from network url, it returns error:

tornado.websocket.WebSocketClosedError
tornado.iostream.StreamClosedError: Stream is closed

from pygwalker.

Asm-Def avatar Asm-Def commented on April 28, 2024

thank you, it seems I can only visit on localhost, but from network url, it returns error:

tornado.websocket.WebSocketClosedError
tornado.iostream.StreamClosedError: Stream is closed

Thanks for your feedback, we'll take care of it later.

from pygwalker.

fyenne avatar fyenne commented on April 28, 2024

谢谢老哥, 这个包真的很棒!

from pygwalker.

ysj0226 avatar ysj0226 commented on April 28, 2024

thank you, it seems I can only visit on localhost, but from network url, it returns error:

tornado.websocket.WebSocketClosedError
tornado.iostream.StreamClosedError: Stream is closed

I'm sorry I don't have a lot of experience with streamlit. But the problem seems to arise frequently during use.
One problem is that I'm not sure what network means. Does it mean access to streamlit that someone else has deployed, or some streamlit that is in the cloud, or some service that integrates stremlit
Is there a link to your code that you can provide, so that we can try to troubleshoot?

from pygwalker.

fyenne avatar fyenne commented on April 28, 2024

hi, this one it means access to streamlit that someone else has deployed,
I developed some streamlit apps so that my collegues can use it.
other elements rendered fine, only [pygwalker] not responsing correctly with regard to above error msg.
some code:

#app.py
import streamlit as st
import pandas as pd
import pygwalker as pyg
df = pd.read_csv(' ./data.csv') 
pyg.walk(df, env='Streamlit') 

then host in command line:
streamlit run app.py
the returned msg would be:

You can now view your Streamlit app in your browser.
  Local URL: http://localhost:8504
  Network URL: http://123.45.6.78:8504

on local host side :
say http://localhost:8504/
everything works fine.
on my other machine
http://123.45.6.78:8504
no return.,


plus:
I did not use pip install git+https://github.com/Kanaries/pygwalker.git@streamlit-dev
since it seems not working.
I simply pip isntall pygwalker

thank you!

from pygwalker.

ysj0226 avatar ysj0226 commented on April 28, 2024

hi, this one it means access to streamlit that someone else has deployed, I developed some streamlit apps so that my collegues can use it. other elements rendered fine, only [pygwalker] not responsing correctly with regard to above error msg. some code:

#app.py
import streamlit as st
import pandas as pd
import pygwalker as pyg
df = pd.read_csv(' ./data.csv') 
pyg.walk(df, env='Streamlit') 

then host in command line: streamlit run app.py the returned msg would be:

You can now view your Streamlit app in your browser.
  Local URL: http://localhost:8504
  Network URL: http://123.45.6.78:8504

on local host side : say http://localhost:8504/ everything works fine. on my other machine http://123.45.6.78:8504 no return.,

plus: I did not use pip install git+https://github.com/Kanaries/pygwalker.git@streamlit-dev since it seems not working. I simply pip isntall pygwalker

thank you!

Hello!
I did not find similar situation after many experiments.
I first turned on streamlit on my win11 machine, and the network url got the correct data.
Then I used ec2 of aws for testing, and network url was also able to obtain data correctly.
I found some of the similar bugs you mentioned on the web, and I wonder if this is a problem caused by the configuration of streamlit or some other component.

PS:
The python version of win11 is 3.10
The python version of ec2 is 3.7

from pygwalker.

ysj0226 avatar ysj0226 commented on April 28, 2024

@fyenne You can update the module to 0.1.6.0

from pygwalker.

fyenne avatar fyenne commented on April 28, 2024

thanks, it works now. turns out that its just slow....
sorry for all the troubles.

from pygwalker.

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.