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

Error on starting web server #14

Closed
binlijin opened this issue Aug 11, 2015 · 7 comments
Closed

Error on starting web server #14

binlijin opened this issue Aug 11, 2015 · 7 comments

Comments

@binlijin
Copy link

Hi,
I'm trying to install Panoramix.
Server is Mac 10.9.5 and Phyton version is 2.7.5
After installation I've first start web server and meet with error as follows:

$ python run.py
Traceback (most recent call last):
  File "run.py", line 1, in <module>
    from app import app
  File "/Users/tianzhao/dev/apache/panoramix/app/__init__.py", line 2, in <module>
    from flask import Flask
ImportError: No module named flask
@binlijin
Copy link
Author

ok, it my python's problem, Flask is not installed in sys.path, and can not find it.

@mistercrunch
Copy link
Member

I think you may have skipped the installation part that goes
pip install -r requirements.txt

This should install all requirements including flask.

@binlijin
Copy link
Author

hi mistercrunch, i do run the pip command to install all requirements including flask, but all modules install in /usr/local/lib/python2.7/site-packages, and i add the path to python's sys.path and it works now.

export PYTHONPATH=/usr/local/lib/python2.7/site-packages

@mistercrunch
Copy link
Member

Weird, normally site-packages is included in your Python path automatically, unless there are many python installs that don't play well together...

@chejinye
Copy link

chejinye commented Jul 4, 2016

@binlijin 你知道直接下载code 怎么在自己的pycharm里面启动吗

@binlijin
Copy link
Author

binlijin commented Jul 5, 2016

@chejinye 我不熟悉,之前我只是试用这个ui看满不满足我们的需求。

@chejinye
Copy link

chejinye commented Jul 6, 2016

@binlijin 那你们最后用了这个东西吗

whelan9453 added a commit to whelan9453/incubator-superset that referenced this issue Jul 9, 2020
Add an API for querying user permission at specific time
graceguo-supercat pushed a commit to graceguo-supercat/superset that referenced this issue Oct 4, 2021
 update package.json to include publishConfig
zhaoyongjie pushed a commit that referenced this issue Nov 24, 2021
 update package.json to include publishConfig
zhaoyongjie pushed a commit that referenced this issue Nov 24, 2021
zhaoyongjie pushed a commit that referenced this issue Nov 25, 2021
 update package.json to include publishConfig
zhaoyongjie pushed a commit that referenced this issue Nov 25, 2021
zhaoyongjie pushed a commit that referenced this issue Nov 26, 2021
 update package.json to include publishConfig
zhaoyongjie pushed a commit that referenced this issue Nov 26, 2021
rguerraZero added a commit to rguerraZero/superset that referenced this issue Feb 9, 2024
…-ZFE-74647

Add new endpoint to get details for ZF-dashboard
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants