当前位置: 首页 > news >正文

高明骏域网站建设广州有哪些大公司

高明骏域网站建设,广州有哪些大公司,普通人做电商赚钱吗,工业设计专业作品集介绍 Apache Superset 是一个现代的企业级商业智能 Web 应用程序。它快速、轻量、直观#xff0c;并加载了各种选项#xff0c;使所有技能的用户都可以轻松探索和可视化他们的数据#xff0c;从简单的饼图到高度详细的 Deck.gl 地理空间图表。 安装 首先安装自制homebrew安…介绍 Apache Superset 是一个现代的企业级商业智能 Web 应用程序。它快速、轻量、直观并加载了各种选项使所有技能的用户都可以轻松探索和可视化他们的数据从简单的饼图到高度详细的 Deck.gl 地理空间图表。 安装 首先安装自制homebrew安装 管理器然后运行以下命令 brew install readline pkg-config libffi openssl mysql postgresql14配置环境变量 需要设置 LDFLAGS 和 CFLAGS 才能正确构建某些 Python 包。您可以使用以下命令导出这些变量 export LDFLAGS-L$(brew --prefix openssl)/lib export CFLAGS-I$(brew --prefix openssl)/include克隆代码到本地 git clone https://github.com/apache/superset.git cd superset安装 # Create a virtual environment and activate it (recommended) python3 -m venv venv # setup a python3 virtualenv source venv/bin/activate# Install external dependencies pip install -r requirements/testing.txt# Install Superset in editable (development) mode pip install -e .# Initialize the database superset db upgrade# Create an admin user in your metadata database (use admin as username to be able to load the examples) superset fab create-admin# Create default roles and permissions superset init# Load some data to play with. # Note: you MUST have previously created an admin user with the username admin for this command to work. superset load-examples #optional#Before running back-end services, front-end dependencies need to be downloaded and packaged, and js will be automatically loaded when running the back-end service#install node brew install node#Install the domestic image source npm install -g cnpm --registryhttps://registry.npm.taobao.org#install client dependencies cd superset-frontend cnpm i# Start the Flask dev web server from inside your virtualenv. # Note that your page may not have CSS at this point. # See instructions below how to build the front-end assets. superset run -p 8088 --reload --debugger --debug安装运行遇到的问题 1. 执行superset load-examples报错需要证书才能拉下来 解决方案 1报错ssl证书拉取不了 将需要用到展示示例源码下载放到自己的本地然后不通过远程拉取自行修改该路径文件superset/examples/helpers.py 2或者通过将该代码的根证书导入到本地根liunx配置证书 2. 执行superset安装时需要配置SUPERSET_SECRET_KEY环境变量不然拒绝加载服务 更多详情参考官方超级配置集 # Flask App Builder configuration # Your App secret key will be used for securely signing the session cookie # and encrypting sensitive information on the database # Make sure you are changing this key for your deployment with a strong key. # Alternatively you can set it with SUPERSET_SECRET_KEY environment variable. # You MUST set this for production environments or the server will not refuse # to start and you will see an error in the logs accordingly. SECRET_KEY YOUR_OWN_RANDOM_GENERATED_SECRET_KEY解决方式1: #生成加密密钥 openssl rand -base64 42#使用openssl生成的密钥临时加载环境变量 export SUPERSET_SECRET_KEYxxxxxxxxx解决方式2: 自行在 superset/config.py配置SUPERSET_SECRET_KEY 替换本地mysql #安装pymysql依赖 pip install pymysql修改 superset/config.py的mysql连接 ![在这里插入图片描述](https://img-blog.csdnimg.cn/511c3bd1a3d5499da5e00d65afa9a062.png 注意事项连接mysql 8.0以上报错 pymysql.err.OperationalError: (2003, Cant connect to MySQL server on localhost ([Errno 61] Connection refused))原因分析 MySQL支持socket和TCP/IP连接。而mysql.sock文件的作用是连接localhost叫做Unix域套接字文件。套接字文件被删除后本地客户就不能连接。/tmp文件夹属于临时文件随时可能被删除。 那么my.cnf配置文件中设置了[mysqld]的参数socket但是没有设置[client]的参数socket就会出现这样的报错ERROR 2002 (HY000): Can’t connect to local MySQL server through socket ‘/tmp/mysql.sock’ (2) 还有一点当mysql.sock被设置在/tmp目录下而client段被误删除并不会影响到数据库的登录问题包括重启数据库但是服务器重启后因为tmp为临时目录mysql.sock文件被删除就会影响登录。 方式一 修改vim /etc/my.cnf 重启mysql brew services restart mysql方式二 在pymysql连接时加上unix_socket/tmp/mysql.sock如上图 最后此文章经过笔者不少踩坑才完成来之不易喜欢请三联下谢谢
http://www.sadfv.cn/news/72393/

相关文章:

  • p2p理财网站开发流程图二级域名对于英文网站推广有什么影响
  • 黄岩建设局网站手机如何建设网站
  • 做个企业网网站怎么做酒店管理系统
  • 芜湖网站网站建设微信wordpress登录
  • 做网站怎么插音乐界面设计1+x证书考什么
  • 广东网站建设系统在线玩小游戏网页版
  • 长沙做网站工作室网页欢迎页面设计
  • 超炫网站app在线制作平台有哪些
  • 微信 微网站开发宠物网站建设方案书
  • 网站开发运行环境有哪些设计方案文本
  • 手机网站框架修改wordpress文章发布页
  • freenom怎么做网站企业管理系统多少钱
  • 虚拟机做网站推动高质量发展的最终目的是什么
  • 尚品中国多年专注于高端网站建设东方城乡与住房建设部网站
  • 有哪些网站可以做图片打赏网页制作的专业
  • 网站备案 接入商名称老网站权重低的原因
  • 做视频网站需要流量wordpress中文文章排版插件
  • 用flash做网站建设邯郸市中考管理平台官网
  • 做网站搜爬闪小程序开发教程知乎
  • 奕腾网站建设做网站需要交钱吗
  • 北京 集团公司网站建设大淘客做网站视频
  • 芜湖市建设工程质量监督站官方网站安徽省铜陵市建设银行网站
  • 南昌网站做wordpress卡核销
  • 微信怎样将网站的内容做备案 网站 收录
  • 门户网站建设 突出服务装潢设计公司排行
  • 公司网站建设文案wordpress怎么修改栏目标题
  • 网站可以用PS设计吗2023免费网站推广大全
  • 响应式网站宽度wordpress 标签页
  • spring可以做多大的网站做计划网站
  • 乡镇信息公开网站建设制度电脑系统7怎么打开wordpress