Skip to content
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

Can't run readRSRC.py #22

Open
jhomolos opened this issue Nov 14, 2024 · 2 comments
Open

Can't run readRSRC.py #22

jhomolos opened this issue Nov 14, 2024 · 2 comments

Comments

@jhomolos
Copy link

Hi

I'm a beginner with using Msys2. I followed your video on Youtube, however, I got stucked on the part

./readRSRC.py --version

Then I get the following error:

import pylabview.LVxml as ET
ModuleNotFoundError: No module named 'pylabview'

I've already tried to install pylabview as a package inside MSYS2, but I still couldn't run the scripts. Could you help me?

@mefistotelis
Copy link
Owner

The module doesn't have to be installed, it's enough if it is in CWD.

# cd pylabview

# ls
__init__.py  LVclasses.py   LVdatatype.py     LVinstrument.py  LVparts.py         modRSRC.py
assets       LVcode.py      LVdatatyperef.py  LVlinkinfo.py    LVrsrcontainer.py  readRSRC.py
LVblock.py   LVdatafill.py  LVheap.py         LVmisc.py        LVxml.py

# ./readRSRC.py --version
Traceback (most recent call last):
  File "D:\source\python\pylabview\pylabview\readRSRC.py", line 24, in <module>
    import pylabview.LVxml as ET
ModuleNotFoundError: No module named 'pylabview'

# cd ..

# ./pylabview/readRSRC.py --version
readRSRC.py 0.1.0 by Jessica Creighton, Mefistotelis

#

@jhomolos
Copy link
Author

Thank you for your reply.

I could run it perfectly on Git Bash.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants