Re: _ctypes module not found in server
Alan Gauld via Tutor <[email protected]> Fri, 31 Jan 2025 10:36:28 +0000
| Newsgroups | gmane.comp.python.tutor |
|---|---|
| Message-ID | <[email protected]> |
On 30/01/2025 13:23, HARI PRIYAN P V via Tutor wrote: > i properly install python libraries version 3.12.0 > after execute my code local environment it works fine > but i tring to execute in server it show this error Please post the entire error message. It contains a lot of useful detail. > my server is cpannel and os almalinux 8 > it does not have inbult "Python App SetUp " > i do all in terminal > i try all possibilities Have you tried the minimal program: import ctypes What error does that give? If it still says it cannot find it check that you have ctypes installed. Also it could be a path or environment issue. Compare the values of sys.path variables between your environment and the server. Similarly the PYTHONPATH values > GIVE A SOLUTION We need more information for that. -- Alan G Author of the Learn to Program web site http://www.alan-g.me.uk/ http://www.amazon.com/author/alan_gauld Follow my photo-blog on Flickr at: http://www.flickr.com/photos/alangauldphotos _______________________________________________ Tutor maillist - [email protected] To unsubscribe or change subscription options: https://mail.python.org/mailman/listinfo/tutor