superset icon indicating copy to clipboard operation
superset copied to clipboard

Getting error while installing the superset .35.1 version using pip install apache-superset==0.35.1

Open umesh11111 opened this issue 6 years ago • 16 comments

ERROR: Could not find a version that satisfies the requirement pyarrow<0.15.0,>=0.14.1 (from apache-superset==0.35.1) (from versions: 0.9.0, 0.10.0, 0.11.0, 0.11.1, 0.12.0, 0.12.1, 0.13.0, 0.14.0, 0.15.0, 0.15.1) ERROR: No matching distribution found for pyarrow<0.15.0,>=0.14.1 (from apache-superset==0.35.1).

Expected results

what you expected to happen. It should install the superset

Actual results

what actually happens. ERROR: Could not find a version that satisfies the requirement pyarrow<0.15.0,>=0.14.1 (from apache-superset==0.35.1) (from versions: 0.9.0, 0.10.0, 0.11.0, 0.11.1, 0.12.0, 0.12.1, 0.13.0, 0.14.0, 0.15.0, 0.15.1) ERROR: No matching distribution found for pyarrow<0.15.0,>=0.14.1 (from apache-superset==0.35.1)

Screenshots

If applicable, add screenshots to help explain your problem.

How to reproduce the bug

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Environment

(please complete the following information):

  • superset version: superset version
  • python version: python --version
  • node.js version: node -v
  • npm version: npm -v

Checklist

Make sure these boxes are checked before submitting your issue - thank you!

  • [ ] I have checked the superset logs for python stacktraces and included it here as text if there are any.
  • [ ] I have reproduced the issue with at least the latest released version of superset.
  • [ ] I have checked the issue tracker for the same issue and I haven't found one similar.

Additional context

Add any other context about the problem here.

umesh11111 avatar Dec 17 '19 13:12 umesh11111

Issue-Label Bot is automatically applying the label #bug to this issue, with a confidence of 0.80. Please mark this comment with :thumbsup: or :thumbsdown: to give our bot feedback!

Links: app homepage, dashboard and code for this bot.

issue-label-bot[bot] avatar Dec 17 '19 13:12 issue-label-bot[bot]

Hi,

Please post your OS name and version

dpgaspar avatar Dec 17 '19 14:12 dpgaspar

I'm facing this issue as well... OS : macOS Mojave 10.14.6 command to install : "pip install apache-superset"

gry77 avatar Dec 17 '19 15:12 gry77

windows 10

umesh11111 avatar Dec 18 '19 03:12 umesh11111

Windows 10, Python 3.7.5 It seems as though pyarrow 0.14.1 has been removed from PyPi.org. if I run 'pip install pyarrow==0.14.1' I get the same error message. I can install everything <= 0.14.0 and >=0.15.0. Perhaps the dependency on 0.14.1 needs to be removed

rplescia avatar Dec 18 '19 13:12 rplescia

so we can not install .35 in windows

umesh11111 avatar Dec 18 '19 13:12 umesh11111

so we can not install .35 in windows

and MacOS, see gry77's post in further up the thread. I don't think this is an issue with superset but rather that the pyarrow 0.14.1 library has been removed from PyPi so the dependency needs to be mitigated

rplescia avatar Dec 18 '19 14:12 rplescia

can you help me out , can we save superset metadata to Oracle db instead of postgresdb?

umesh11111 avatar Dec 18 '19 14:12 umesh11111

The oracle issue is reported on #8821

I'm really surprised pyarrow 0.14.1 does not work on MacOS can you post your logs @gry77 ? Thank you.

@umesh11111 Windows is not supported. But can I ask you to pip install pyarrow==0.15.1 on your env?

dpgaspar avatar Dec 18 '19 15:12 dpgaspar

@dpgaspar , below is the error when i run "pip install apache-superset"

ERROR: Could not find a version that satisfies the requirement pyarrow<0.15.0,>=0.14.1 (from apache-superset) (from versions: 0.9.0, 0.10.0, 0.11.0, 0.11.1, 0.12.0, 0.12.1, 0.13.0, 0.14.0, 0.15.1) ERROR: No matching distribution found for pyarrow<0.15.0,>=0.14.1 (from apache-superset)

Then I tried run "pip install pyarrow==0.14.1"

ERROR: Could not find a version that satisfies the requirement pyarrow==0.14.1 (from versions: 0.9.0, 0.10.0, 0.11.0, 0.11.1, 0.12.0, 0.12.1, 0.13.0, 0.14.0, 0.15.1) ERROR: No matching distribution found for pyarrow==0.14.1

I think what @rplescia mentioned is correct. Somehow pyarrow 0.14.1 can't be downloaded from pypi.org and when I google this error, several other github project also facing same issue

gry77 avatar Dec 18 '19 16:12 gry77

@umesh11111 Windows is not supported. But can I ask you to pip install pyarrow==0.15.1 on your env?

This doesn't fix the issue, this is because of the requirement is hard set using 0.14.1. If you update this to use 0.15.1 it would not be an issue.

ERROR: Could not find a version that satisfies the requirement pyarrow<0.15.0,>=0.14.1 (from apache-superset)

rplescia avatar Dec 18 '19 16:12 rplescia

I cloned the git repository last night and inspected the code. In setup.py I found this on line #100 pyarrow>=0.15.1, <0.16.0. After that I pulled the source files off of PyPi.org and inspected the same line of code and found pyarrow>=0.14.1, <0.15.0. This means that there is a mismatch between the source on Github and the source on PyPi

@dpgaspar Are you able to push the latest setup.py to PyPi?

rplescia avatar Dec 19 '19 07:12 rplescia

@rplescia, there's no mismatch, each release obeys the Apache release process (https://github.com/apache/incubator-superset/tree/master/RELEASING), and master is always ahead.

A new patch release is being prepared (0.35.2) that contains the fix you mention

dpgaspar avatar Jan 03 '20 04:01 dpgaspar

I look forward to the new release

rplescia avatar Jan 07 '20 08:01 rplescia

@dpgaspar I can now confirm this works for me, you can probably close this issue if no one objects

rplescia avatar Jan 16 '20 16:01 rplescia

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. For admin, please label this issue .pinned to prevent stale bot from closing the issue.

stale[bot] avatar Mar 16 '20 23:03 stale[bot]