Hi Peter, I ended up figuring out the error. I was missing numpy in my dependencies. You can either install it through "pip3 install numpy" or "sudo apt-get install python3-numpy"
Regards, marc -----Original Message----- From: Peter C. Wallace <[email protected]> Sent: September 25, 2021 5:07 PM To: EMC developers <[email protected]> Subject: Re: [Emc-developers] building/running linuxcnc from source question On Sat, 18 Sep 2021, Marc Wang wrote: > Date: Sat, 18 Sep 2021 20:43:11 +0000 > From: Marc Wang <[email protected]> > Reply-To: EMC developers <[email protected]> > To: "[email protected]" > <[email protected]> > Subject: [Emc-developers] building/running linuxcnc from source question > > Hi, > > I managed to compile linuxcnc from source and all the tests run successfully. > I was wondering if anybody else got the following error. When I run the file > ./scripts/linuxcnc. I get the following error : > > File "/home/marc/Documents/linuxcnc/linuxcnc/lib/python/glnav.py", line 118, > in glRotateScene > mat = [i for i in itertools.chain(*mat.tolist())] > AttributeError: 'c_double_Array_4_Array_4' object has no attribute 'tolist' > > the error is fairly straight forward. I am just wondering if this is a bug or > just that I have the wrong version of pyopengl. > > I am running Ubuntu 20.04.3 LTS with an 5.10.59-rt52 kernel. I have pyopengl > 3.1.0 installed with python 3.8.10. > > Regards, > Marc > > _______________________________________________ > Emc-developers mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/emc-developers > Same error Mint 20.2, Python 3.8.10, pyopengl 3.1.0, 4.19.206-rt87 Peter Wallace Mesa Electronics _______________________________________________ Emc-developers mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/emc-developers _______________________________________________ Emc-developers mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/emc-developers
