hyper-api-samples icon indicating copy to clipboard operation
hyper-api-samples copied to clipboard

Unable to install tableauhyperapi on my macbook pro

Open arpitran opened this issue 2 years ago • 6 comments

Getting the following error when running the pip install tableauhyperapi command ERROR: Could not find a version that satisfies the requirement tableauhyperapi (from versions: none) ERROR: No matching distribution found for tableauhyperapi

Any insight would be greatly appreciated, please let me know if you need any additional information

arpitran avatar May 19 '23 07:05 arpitran

Are you trying to use Hyper API on an M1 (arm) computer? Right now, Hyper API only supports x86-64 architectures. The workaround is to explicitly use x86-64 python by installing the x86-64 non-universal binary.

jkammerer avatar May 22 '23 08:05 jkammerer

This is what I am currently doing -

  1. Switch to x86-64 mode in Mac. Terminal -> env /usr/bin/arch -x86_64 /bin/zsh --login
  2. Create virtual environment
  3. pip install tableauhyperapi

Only problem is you will need to switch to x86-64 model every time you need to use tableauhyperapi and you can only use terminal

Akshayextreme avatar May 22 '23 10:05 Akshayextreme

I am a bit surprised that we are on macs with M3s now and this still isnt addressed. Is there any timetable for this to be addressed?

andymiller-og avatar Dec 13 '23 17:12 andymiller-og

Any plans to make this work for ARM architectures?

akumarraje-equinix avatar Mar 06 '24 11:03 akumarraje-equinix

I work on a Python Package called https://github.com/hoverinc/tableau-utilities that enables a user to build a unified semantic model across tableau extracts and automate putting data definitions in column comments. This issue is making it hard for us to manage some additional hyper data source features.

I understand there are workarounds mentioned for M1 laptops but they are laborious. For myself as a self trained engineer like many data people those workarounds can be very challenging to configure.

What would it take to make this package pip install cleanly on apple M1 computers? Is that refactor something the community could do or something that Tableau would have to ship.

jaybythebay avatar Apr 29 '24 17:04 jaybythebay