Apache Superset:不良解释器:没有这样的文件或目录
我创建了一个新的环境来运行超级仪表板,super_dash
,我会收到一个错误不好的解释器:没有这样的文件或目录
。
我试图
- 重新安装“ PIP安装Apache-Superset”,但结果似乎相同。
- 在不同的环境中安装“ PIP安装Apache-Superset”,结果仍然相同。
但是,当我在基本环境中运行超集时,没有问题。
请找到环境详细信息
(super_dash) hashi-MacBook-Air:~ hashi$ which python
/Users/hashi/DG/env/super_dash/bin/python
(super_dash) hashi-MacBook-Air:~ hashi$ which python3
/Users/hashi/DG/env/super_dash/bin/python3
(super_dash) hashi-MacBook-Air:~ hashi$ which pip
/Users/hashi/DG/env/super_dash/bin/pip
基本版本
(base) hashi-MacBook-Air:~ hashi$ which python
/Library/Frameworks/Python.framework/Versions/2.7/bin/python
(base) hashi-MacBook-Air:~ hashi$ which python3
/Library/Frameworks/Python.framework/Versions/3.8/bin/python3
(base) hashi-MacBook-Air:~ hashi$ which pip
/Library/Frameworks/Python.framework/Versions/2.7/bin/pip
Mac:MacOS Catalina 10.15.7
中可用的几个问题
- 在净错误指向Python版本
- 问题
,而我的所有这些都不理解,这些问题与安装Python的方式有关。
尝试了许多没有结果的解决方案。
谁能给我更加清楚吗?
I created a new environment to run a superset dashboard, super_dash
, I get an error bad interpreter: No such file or directory
when I run it.Not able to do any activities.
I tried
- To reinstall `pip install apache-superset', but the results seems to be same.
- Install `pip install apache-superset' in a different environment, the result is still the same.
However when I run superset in my base environment there is no issue.
Please find the environment details
(super_dash) hashi-MacBook-Air:~ hashi$ which python
/Users/hashi/DG/env/super_dash/bin/python
(super_dash) hashi-MacBook-Air:~ hashi$ which python3
/Users/hashi/DG/env/super_dash/bin/python3
(super_dash) hashi-MacBook-Air:~ hashi$ which pip
/Users/hashi/DG/env/super_dash/bin/pip
Base version
(base) hashi-MacBook-Air:~ hashi$ which python
/Library/Frameworks/Python.framework/Versions/2.7/bin/python
(base) hashi-MacBook-Air:~ hashi$ which python3
/Library/Frameworks/Python.framework/Versions/3.8/bin/python3
(base) hashi-MacBook-Air:~ hashi$ which pip
/Library/Frameworks/Python.framework/Versions/2.7/bin/pip
Mac : macOS Catalina 10.15.7
Several issues available in the net
- Wrong pointing of Python version
- Issue with improper pip version / linkage
I basically understand from all these is that issue with the way python was installed.
Tried many solutions with no result.
Can anyone give me more clarity on this ?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我终于解决了这个问题。
根本原因:多个Python版本
解决方案:
安装:'Python3 -m Pip install apache -superset',
而不是
SUPERSET RUN -P 8088
运行
Python3超集运行-P 8088
I finally resolved the issue.
Root Cause : Multiple Python Versions
Solution :
install : 'python3 -m pip install apache-superset'
instead of
superset run -p 8088
run
python3 superset run -p 8088