RoboPicker
Hi All,
Putting this feedback in here as suggested. Just did a fresh install on my Macbook Air M2, following the official install guide on Youtube. Can't open OPENPLC and get this error.
Screenshot 2023-07-31 at 7.39.12 am.png
 
Any suggestions are welcome.
thiagoralves
It looks like your lxml installation is broken. Do you use homebrew for something else?
Reply 0 0
RoboPicker
I'm using an Apple Silicon machine, just followed the youtube video instruction. I don't beleive I have Homebrew installed.
 
Is Homebrew something we should install prior to OpenPLC?
Reply 0 0
thiagoralves
 
Apparently that's just a package that was not installed properly
Reply 0 0
RoboPicker
 
Apparently that's just a package that was not installed properly
Thanks for the link, tried it but still no luck unfortuntately.
 
Would be great if one of the devs could have a look at my error message and give some pointers.
Reply 0 0
thiagoralves
Just tried the installer out on an intel mac (latest macos version) and it worked just fine. I'm trying to think what that could be. Do you have Rosetta 2 imnstalled by any chance?
Reply 0 0
RoboPicker
Thanks for getting back to me. No I don't have Rosetta 2 installed. Is there any way I can supply you logfiles?
I noticed the "var/folders/zp.." directory in the first line, but I'm not sure how to access this on my mac (I came from windows).
Reply 0 0
thiagoralves
Try using Python3.9 pip to remove and reinstall lxml. It looks like something corrupted your module installation. I’ve never seen this error before. 
Reply 0 0
RoboPicker
Ok just uninstalled lxml then re-installed. Screenshot below incase you can see something wrong.
Screenshot 2023-08-09 at 7.49.07 am.png
 
Still getting the same error by the looks of things.
Screenshot 2023-08-09 at 7.50.51 am.png
 
Is lxml 4.9.3 the right version?
Reply 0 0
RoboPicker
Has anyone confirmed this software will work on Apple Silicon? Still trying here but I'm not sure what to do to make it work.
Reply 0 0
thiagoralves
Just installed on my wife’s M2 and it worked just fine the first time. I think it might be helpful if you try to uninstall all Python dependencies and then reinstall them again. The dependencies are listed in the installer script, but if you can’t find them I can send tomorrow 
Reply 0 0
RoboPicker
Found this on your Github page. Is this everything I need to remove? (in red)
"
#Install Python dependencies
pip2 install future zeroconf==0.19.1 numpy==1.16.5 matplotlib==2.0.2 lxml==4.6.2 pyro sslpsk pyserial
echo ""
"
From this link
Reply 0 0
thiagoralves
No, these are for the master branch (Windows and Linux only). On macOS the dependencies are:
python3.9 -m pip install wxPython==4.1.1 lxml==4.6.2 future matplotlib zeroconf pyserial pypubsub pyro5
 
Reply 0 0
thiagoralves
You might want to purge your pip cache after removing all dependencies with
pip cache purge
Then you can run that command again to install everything back
Reply 0 0
Write a reply...
Reply