pmendiuk wrote: > I would like to write some python scripts in PcP and I am running into > some issues with creating and using an extension that contains the > required python packages. > > I installed python3.8-pip and installed all the required packages and my > script runs fine. Pip installed all the packages into > /usr/local/lib/python3.8/site-packages. When I ran pip list shows all > the installed packages. I then ran mksquashfs on the /usr directory and > copied the .tcz file to /etc/sysconfig/tcedir/optional. I then added > the .tcz filename to /etc/sysconfig/tcedir/onboot.lst and ran pcp bu and > pcp rb. I then tried to run the script and it failed at the import of > the first package that was previously installed. I then ran pip list > and pip and setuptools were the only listed packages. I ran tce-load -i > newextension.tcz and it said it was loaded. > > Is there something else I need to do with python packages in extensions?
I'll send you over the script I use to build the evosabre extension when I dig it out. ------------------------------------------------------------------------ psketch's Profile: http://forums.slimdevices.com/member.php?userid=56555 View this thread: http://forums.slimdevices.com/showthread.php?t=114828 _______________________________________________ unix mailing list unix@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/unix