hesso-valais / scom

Python library to access Studer devices via an XCom-232i interface
MIT License
8 stars 3 forks source link

sino.scom.baseframe #2

Open Kersten007 opened 4 years ago

Kersten007 commented 4 years ago

Hi Hesso, I'm a beginner of python and i like to use your scom library. But after installing the library and starting the sample I get the error: Traceback (most recent call last): File "./xtender_version.py", line 14, in from sino import scom File "/usr/local/lib/python3.7/dist-packages/sino/scom/init.py", line 14, in from . import frame File "/usr/local/lib/python3.7/dist-packages/sino/scom/frame.py", line 6, in from .baseframe import * ModuleNotFoundError: No module named 'sino.scom.baseframe'

Any idea how i can fix it? Thanks Kersten

boozo-unlimited commented 4 years ago

Hi Kersten, It seems that the packages were not correctly installed. Could you please tell me about the environment you are running the library?

Thanks

Kersten007 commented 4 years ago

Hi Hesso, the os is : debian 10, fresh install the python is: python3 V 3.7.3. , no virtual environment (do I need the venv ?)

Thanks

boozo-unlimited commented 4 years ago

All right. venv should not be necessary whereas I only work with it.

You may have the same problem mentioned in issue #1. I suggest to try the work arround mentioned here.

Kersten007 commented 4 years ago

the work arround doesn't work ... but "pip3 install -I --no-cache-dir scom" fixed the problem

boozo-unlimited commented 4 years ago

Are you now able to communicate with the Xtender?

EmanueleZanardo commented 3 years ago

Hi, I have the same problem but I could not solve it with both methods (I am using a satinberry pi 4 model B)

petrkr commented 7 months ago

Did you compiled C so libraries ?

mentioned in setup.py :) Littlebit tricky about place where to put important stuff to make it work

https://github.com/hesso-valais/scom/blob/d819292aa8627e0a66e106898684792d42b4a0c9/src/sino/scom/setup.py#L10