question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Getting an error while installing superset using pip

See original GitHub issue

A clear and concise description of what the bug is.

How to reproduce the bug

git clone git@github.com:your-username/superset.git
cd superset
python3 -m venv venv # setup a python3 virtualenv
source venv/bin/activate
# Install external dependencies
pip install -e .

Expected results

Normal installation

Actual results

Installation failing

ERROR: Could not find a version that satisfies the requirement sqloxide==0.1.15 (from apache-superset) (from versions: 0.1.0, 0.1.1)
ERROR: No matching distribution found for sqloxide==0.1.15

Environment

No LSB modules are available. Distributor ID: Debian Description: Debian GNU/Linux 10 (buster) Release: 10 Codename: buster

Additional context

Probable issue: in setup.py

 install_requires=[ ....
                     "sqloxide==0.1.15",
           ]

The said version of sqloxide is not available on pypi

Issue Analytics

  • State:open
  • Created a year ago
  • Reactions:3
  • Comments:13 (2 by maintainers)

github_iconTop GitHub Comments

3reactions
harrychristianxcommented, Jul 28, 2022

I am on MacOS Monterey 12.5 running on a Macbook Pro M1 and encountered this issue on superset 2.0.0

Whenever I build the repository, I always gets stuck on 6/6 stating that: ERROR: No matching distribution found for sqloxide==0.1.17

What solved my issue is forcing docker to run linux/amd64 with the command “DOCKER_DEFAULT_PLATFORM=linux/amd64 docker-compose build

1reaction
patrickchoicommented, Jun 15, 2022

Also have this problem on Ubuntu 18.04.6 LTS, not running docker or on an M1 mac

Had to downgrade to 1.4.2

Read more comments on GitHub >

github_iconTop Results From Across the Web

Error while installing pip install apache-superset
got an unexpected keyword argument 'env' [end of output] note: This error originates from a subprocess, and is likely not a problem with...
Read more >
Installation & Configuration - apache-superset - Read the Docs
Once you have Docker for Mac installed, open up the preferences pane for Docker, go to the “Resources” section and increase the allocated...
Read more >
Installing From Scratch - Apache Superset
You can exit the environment by running deactivate on the command line. Installing and Initializing Superset​. First, start by installing apache-superset : pip...
Read more >
apache-superset - PyPI
A modern, enterprise-ready business intelligence web application. Why Superset? | Supported Databases | Installation and Configuration | Release Notes | Get ...
Read more >
this is an issue with the package mentioned above, not pip. hint
I got the same error when using Python 3.10. Apache-Superset currently only supports Python 3.8 and 3.9: https://pypi.org/project/apache-superset/.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found