Skater icon indicating copy to clipboard operation
Skater copied to clipboard

Skater does not install on Google Colaboratory

Open PositronBeam opened this issue 6 years ago • 4 comments

I run !pip install skater in Google Colaboratory, and there is an error during the installation. You can try with the following notebook: https://colab.research.google.com/drive/1TzTqvQPDDczlXuxMHTX9ZaHjwBB7Ly7s

Here is a copy / paste of the error (I am not sure of what it means):

copying skater/util/model_specific/imagenet_label.json -> build/lib/skater/util/model_specific installing to build/bdist.linux-x86_64/wheel running install Checking .pth file support in build/bdist.linux-x86_64/wheel/ /usr/bin/python3 -E -c pass TEST FAILED: build/bdist.linux-x86_64/wheel/ does NOT support .pth files error: bad install directory or PYTHONPATH

You are attempting to install a package to a directory that is not on PYTHONPATH and which Python does not read ".pth" files from. The installation directory you specified (via --install-dir, --prefix, or the distutils default setting) was:

  build/bdist.linux-x86_64/wheel/

and your PYTHONPATH environment variable currently contains:

  '/env/python'

Here are some of your options for correcting the problem:

  • You can choose a different installation directory, i.e., one that is on PYTHONPATH or supports .pth files

  • You can add the installation directory to the PYTHONPATH environment variable. (It must then also be on PYTHONPATH whenever you run Python and want to use the package(s) you are installing.)

  • You can set up the installation directory to support ".pth" files by using one of the approaches described here:

    https://setuptools.readthedocs.io/en/latest/easy_install.html#custom-installation-locations

Please make the appropriate changes for your system and try again.

PositronBeam avatar Nov 11 '18 09:11 PositronBeam

Any update on this one?

zd-project avatar Jun 12 '19 18:06 zd-project

Same issue is happening. I think from last 1 year no update has been done on this issue.

AjeetSingh02 avatar Jan 09 '20 05:01 AjeetSingh02

Hi, are there any updates on this?

bowtiejicode avatar Jul 14 '20 16:07 bowtiejicode

pip install git+https://github.com/oracle/Skater.git works for me

uniquegino avatar May 12 '22 03:05 uniquegino