Category Archives: Python

Solved: scipy-0.15.1-cp34-none-win_amd64.whl is not a supported wheel on this platform

Error message

scipy-0.15.1-cp34-none-win_amd64.whl is not a supported wheel on this platform

What happened

Pip incorrectly determined the operating system to be 32-bit rather than 64-bit as specified in the file name.

The solution

Rename the file to:

scipy-0.15.1-cp34-none-win32.whl

and try again.  This will work and install the 64-bit version of scipy.

Solved: scipy-0.15.1-cp34-none-win_amd64.whl is not a supported wheel on this platform
pip install scipy-0.15.1-cp34-none-win_amd64.whl

Call the Algorithmia API from Python 3.x

Python 3.x
Call the Algorithmia API as an HTTP POST request.

 

 

For reference, here is the Python 2.x sample code they provide on https://algorithmia.com/docs/api

Getting Started on Algorithmia 2015

This is archived content from 2015.  For the current version see: Getting Started on Algorithmia

https://algorithmia.com/

For languages it currently supports:

  • Java
  • Scala
  • Python 2.x
  • More coming soon…

For source code the options are

  • Open Source
  • Closed Source

The open source licence options are

  • Algorithmia Platform License
  • Apache License 2.0
  • GNU GPL v3.0
  • MIT License

The closed source licence options are

  • Algorithmia Platform License
  • Apache License 2.0
  • GNU GPL v3.0

I wasn’t able to find the details of their “Algorithmia Platform License” and plan to reach out to them for more details.

For calling your algorithms they provide sample code in the API documentation: https://algorithmia.com/docs/api

Provided samples are:

  • cURL
  • JavaScript
  • Java
  • Scala
  • Python

Note: In the source code examples, while logged in, it pre-fills your API key into the example code.  All except for the Scala example (it always uses “c6ca861e50054f63a0fc74b5f845bc1a”)

The Python code they provide is for the 2.x version.  For 3.x version see my sample code.

From the page source it looks like future improvements include (HTML commented out navigation items):

  • Clone Algorithm
  • Run Locally
  • Submit Algorithm

Note: This is archived content from 2015.  For the current version see: Getting Started on Algorithmia