Jump to content

Seeq-Spy Python/Anaconda Install


Orion

Recommended Posts

Hi,

Is anyone familiar with Seeq-Spy? I can install it with the latest Anaconda version, but cannot load 'seeq import spy'. I have hundreds of libraries installed, but this one won't load.. Any help would be appreciated.

!pip install seeq-spy
from seeq import spy


File ~\AppData\Local\anaconda3\lib\site-packages\seeq\spy\__init__.py:5
      1 from __future__ import annotations
      3 from typing import Optional
----> 5 import seeq.spy._errors as errors
      6 from seeq.sdk import ApiClient
      7 from seeq.sdk.configuration import Configuration

File ~\AppData\Local\anaconda3\lib\site-packages\seeq\spy\_errors.py:12
      9 from IPython.core.getipython import get_ipython
     10 from IPython.display import display
---> 12 from seeq.sdk.rest import ApiException
     13 from seeq.spy import _datalab
     15 __all__ = ['SPyDependencyNotFound', 'SPyException', 'SPyKeyboardInterrupt', 'SPyRuntimeError', 'SPyValueError',
     16            'SPyTypeError', 'SchedulePostingError', 'ApiException', 'get_api_exception_message']

ModuleNotFoundError: No module named 'seeq.sdk'

am unable to load this library with the latest version of Anaconda. 

Link to comment
Share on other sites

  • Seeq Team

The Seeq python module has recently been split into two packages: seeq and seeq-spy. The result of this is that when using SPy outside of datalab, you have to install both. The seeq module needs to be installed with the version that matches your Seeq server (e.g. pip install -U seeq~=60.1). The pypi page has additional information on this: https://pypi.org/project/seeq/.

Let me know if you're still having issues after you install the seeq package.

Link to comment
Share on other sites

  • 7 months later...
  • Seeq Team

Since you're working locally, I'd make sure that both seeq and seeq-spy are loaded in the same virtual environment and with the same python version. Here's an example of generating a new virtual environment and installing the needed packages (for Seeq version 62.0):

python -m venv .
source bin/activate
pip install -U seeq~=62.0
pip install -U seeq-spy
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...