Apache Superset:不良解释器:没有这样的文件或目录

发布于 2025-01-28 12:18:57 字数 1107 浏览 2 评论 0原文

我创建了一个新的环境来运行超级仪表板,super_dash,我会收到一个错误不好的解释器:没有这样的文件或目录

我试图

  1. 重新安装“ PIP安装Apache-Superset”,但结果似乎相同。
  2. 在不同的环境中安装“ 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

中可用的几个问题

  1. 在净错误指向Python版本
  2. 问题

,而我的所有这些都不理解,这些问题与安装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

  1. To reinstall `pip install apache-superset', but the results seems to be same.
  2. 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

  1. Wrong pointing of Python version
  2. 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 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

聊慰 2025-02-04 12:18:57

我终于解决了这个问题。
根本原因:多个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

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文