-
Notifications
You must be signed in to change notification settings - Fork 19
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ImportError: cannot import name 'PySpin' #3
Comments
is a different pyspin, they choose name already used by other project more or less for all the tools ... https://www.flir.com/products/spinnaker-sdk/ this is the correct one |
ImportError: cannot import name 'PySpin' |
you have to install https://www.flir.com/products/spinnaker-sdk/ |
Dear! |
try this: |
Thankyou so much, I will check it out.
Regards,
Talha Hsan Aslam
Bsc Mechatronics and Control Engineering
…On Wed, 13 May 2020, 10:08 am Rahul Nimbal, ***@***.***> wrote:
try this:
from pyspin import PySpin
instead of
import PySpin
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#3 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/APMT2ZW2HCBH6QX3BELFBITRRITMDANCNFSM4HL44X5Q>
.
|
Could somebody please tell me how I correctly configure conda or venv on macOS to resolve this naming conflict please ? |
Please explain more, what is the naming conflict? |
Naming conflict exists because the PySpin software required to interface with spinnaker-related hardware shares the same name as 'pyspin', and also with 'pySPIN', neither of these libraries can be used to operate spinnaker-related hardware - for example, the library 'pyspin' accessible with pip, is a library for a spinning text graphic, not the required library to interface with FLIR cameras: "PySpin' I've been unable to actually re-install the spinnaker-related 'PySpin' https://www.flir.com/products/spinnaker-sdk/ note that the download is now at :https://flir.app.boxcn.net/v/SpinnakerSDK - but simply reinstalling this does not fix the problem, the entire python PySpin libraries have to be installed: 'PySpin' can be imported from FLIR, but from a slightly different access to the SDK. E.g. for ubuntu: |
please some body help why the system tell that`s AttribueError |
This instruction did not work for me either
but indeed, as hinted at in the comment from @emull00 here #3 (comment) one needs to download TWO .tar.gz from the box site from flir (at least on Ubuntu): One with the SDK Mind the Python module is distributed as a wheel and only a python 3.8 version is available. But at least 3 different archs are offered. I was able to solve this issues after installing the sdk
and the wheel
|
The captioned error is displaying in running program. However, I have already 'PIP install pyspin'
The text was updated successfully, but these errors were encountered: