{"id":4178,"date":"2023-07-19T01:04:06","date_gmt":"2023-07-19T07:04:06","guid":{"rendered":"https:\/\/cocoalopez.com\/blog\/?p=4178"},"modified":"2023-07-19T01:06:29","modified_gmt":"2023-07-19T07:06:29","slug":"maya-and-pyserial-install","status":"publish","type":"post","link":"https:\/\/cocoalopez.com\/blog\/?p=4178","title":{"rendered":"Maya and Pyserial fix on Windows"},"content":{"rendered":"\n<p>Well, I was having issues getting pyserial and Maya to run for serial communications using python. I was getting the error &#8220;Error: No module named serial&#8221;<\/p>\n\n\n\n<p>The solution:<\/p>\n\n\n\n<p>Make sure that pyserial is installed, if not type the following on any command (CMD) window<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code class=\"\">python -m pip install pyserial<\/code><\/pre>\n\n\n\n<p>After it was installed, go to the python console and type:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>import sys (hit enter)<\/li>\n\n\n\n<li>sys.path (hit enter and it will return a list of paths of your python)<\/li>\n\n\n\n<li>Modify the following mel script with your python paths and run it<\/li>\n<\/ul>\n\n\n\n<pre class=\"wp-block-code\"><code lang=\"python\" class=\"language-python\">global proc appendSystemPath(){\npython( \"import sys\" );\npython( \"sys.path.append('C:\/Python310\/Lib\/site-packages')\" );\npython( \"sys.path.append('C:\/Python310\/Lib\/site-packages\/win32')\" );\npython( \"sys.path.append('C:\/Python310\/Lib\/site-packages\/win32\/lib')\" );\npython( \"sys.path.append('C:\/Python310\/Lib')\" );\n}\nappendSystemPath();<\/code><\/pre>\n\n\n\n<p>Then just run your python script as normal using the &#8220;import serial&#8221; line<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code lang=\"python\" class=\"language-python\">import serial<\/code><\/pre>\n","protected":false},"excerpt":{"rendered":"<p>Well, I was having issues getting pyserial and Maya to run for serial communications using python. I was getting the error &#8220;Error: No module named serial&#8221; The solution: Make sure that pyserial is installed, if not type the following on any command (CMD) window After it was installed, go to the python console and type: [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":2407,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"jetpack_post_was_ever_published":false,"tdm_status":"","tdm_grid_status":"","_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":true,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2}},"categories":[1002],"tags":[],"class_list":["post-4178","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-featured"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"https:\/\/i0.wp.com\/cocoalopez.com\/blog\/wp-content\/uploads\/2017\/02\/Honeyview_2017-02-26_20-10-11.png?fit=1349%2C664&ssl=1","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p9XJix-15o","jetpack-related-posts":[{"id":4240,"url":"https:\/\/cocoalopez.com\/blog\/?p=4240","url_meta":{"origin":4178,"position":0},"title":"3D GAUSSIAN SPLATTING TUTORIAL (ONE CLICK INSTALL)","author":"cgmodeler","date":"December 21, 2023","format":false,"excerpt":"For those looking for a one click (almost solution) there's this nifty little tool called pinokio that auto installs dependencies and environments (yeah including conda) for running web apps and python based scripts with one click install and run. Summary: Install Pinokio: https:\/\/docs.pinokio.computer\/download\/windows.html Install NVIDIA CUDA 11.8: https:\/\/developer.download.nvidia.com\/compute\/cuda\/11.8.0\/local_installers\/cuda_11.8.0_522.06_windows.exe (Or newer)\u2026","rel":"","context":"In &quot;AI&quot;","block_context":{"text":"AI","link":"https:\/\/cocoalopez.com\/blog\/?cat=1139"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/cocoalopez.com\/blog\/wp-content\/uploads\/2023\/12\/teaser.png?fit=1200%2C275&ssl=1&resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/cocoalopez.com\/blog\/wp-content\/uploads\/2023\/12\/teaser.png?fit=1200%2C275&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/cocoalopez.com\/blog\/wp-content\/uploads\/2023\/12\/teaser.png?fit=1200%2C275&ssl=1&resize=525%2C300 1.5x, https:\/\/i0.wp.com\/cocoalopez.com\/blog\/wp-content\/uploads\/2023\/12\/teaser.png?fit=1200%2C275&ssl=1&resize=700%2C400 2x, https:\/\/i0.wp.com\/cocoalopez.com\/blog\/wp-content\/uploads\/2023\/12\/teaser.png?fit=1200%2C275&ssl=1&resize=1050%2C600 3x"},"classes":[]},{"id":3311,"url":"https:\/\/cocoalopez.com\/blog\/?p=3311","url_meta":{"origin":4178,"position":1},"title":"Maya Playblast Tool (MayaCapture) With GUI","author":"cgmodeler","date":"October 11, 2021","format":false,"excerpt":"Found this nice tool for playblast control in maya, its a GUI for another playblast python script. Playblast Script (MayaCapture): https:\/\/github.com\/abstractfactory\/maya-capture Playblast GUI: https:\/\/github.com\/BigRoy\/maya-capture-gui Make sure to review all the available commands and place both scripts on the same folder.","rel":"","context":"In &quot;Featured&quot;","block_context":{"text":"Featured","link":"https:\/\/cocoalopez.com\/blog\/?cat=1002"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/cocoalopez.com\/blog\/wp-content\/uploads\/2021\/10\/imagen-7.png?fit=379%2C583&ssl=1&resize=350%2C200","width":350,"height":200},"classes":[]},{"id":3764,"url":"https:\/\/cocoalopez.com\/blog\/?p=3764","url_meta":{"origin":4178,"position":2},"title":"Headless Maya Playblast","author":"cgmodeler","date":"October 13, 2022","format":false,"excerpt":"Contrary to popular beliefs, it\u2019s totally possible to do your playblasts in batch mode. It can be very helpful in a lot of workflow: - create a missing playblast without the hassle of opening Maya UI - move all playblasts calculation to a remote computer to be able to continue\u2026","rel":"","context":"In &quot;Featured&quot;","block_context":{"text":"Featured","link":"https:\/\/cocoalopez.com\/blog\/?cat=1002"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/cocoalopez.com\/blog\/wp-content\/uploads\/2022\/10\/headless-maya-playblast.jpg?fit=1200%2C675&ssl=1&resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/cocoalopez.com\/blog\/wp-content\/uploads\/2022\/10\/headless-maya-playblast.jpg?fit=1200%2C675&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/cocoalopez.com\/blog\/wp-content\/uploads\/2022\/10\/headless-maya-playblast.jpg?fit=1200%2C675&ssl=1&resize=525%2C300 1.5x, https:\/\/i0.wp.com\/cocoalopez.com\/blog\/wp-content\/uploads\/2022\/10\/headless-maya-playblast.jpg?fit=1200%2C675&ssl=1&resize=700%2C400 2x, https:\/\/i0.wp.com\/cocoalopez.com\/blog\/wp-content\/uploads\/2022\/10\/headless-maya-playblast.jpg?fit=1200%2C675&ssl=1&resize=1050%2C600 3x"},"classes":[]},{"id":2043,"url":"https:\/\/cocoalopez.com\/blog\/?p=2043","url_meta":{"origin":4178,"position":3},"title":"LSM y Scaling tails","author":"cgmodeler","date":"January 5, 2017","format":false,"excerpt":"Seleccionar el \"(LSM)_ROOT\" Subir un nivel (Flecha Arriba) hacia \"(LSM)_Rig\" Correr \u00e9ste python: import (LSM)ScaleExtras.scaleExtras (LSM)ScaleExtras.scaleExtras.setUpScaleNode() Unlock Scale X,Y,Z Seleccionar TailFkControl Abrir Outliner y Reveal Selected Buscar \u00a0y seleccionar el grupo de cada tail \"_ParentToWorld\" SHIFT-P (Unparent) Ya se puede escalar... Reemplazar LSM= Nuestro script","rel":"","context":"In &quot;La vida en Tokyo&quot;","block_context":{"text":"La vida en Tokyo","link":"https:\/\/cocoalopez.com\/blog\/?cat=18"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/cocoalopez.com\/blog\/wp-content\/uploads\/2017\/01\/WKvYH1.jpg?fit=748%2C267&ssl=1&resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/cocoalopez.com\/blog\/wp-content\/uploads\/2017\/01\/WKvYH1.jpg?fit=748%2C267&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/cocoalopez.com\/blog\/wp-content\/uploads\/2017\/01\/WKvYH1.jpg?fit=748%2C267&ssl=1&resize=525%2C300 1.5x, https:\/\/i0.wp.com\/cocoalopez.com\/blog\/wp-content\/uploads\/2017\/01\/WKvYH1.jpg?fit=748%2C267&ssl=1&resize=700%2C400 2x"},"classes":[]},{"id":4574,"url":"https:\/\/cocoalopez.com\/blog\/?p=4574","url_meta":{"origin":4178,"position":4},"title":"The maya license you&#8217;re using is not valid fix","author":"cgmodeler","date":"May 29, 2025","format":false,"excerpt":"Found this on a forum and thought i'd share. Your License warning Will Popup using acwebbrowser.exe Uninstall maya Reinstall Maya Clear Hosts file from autodesk's urls Make sure Firewall does not block the browser, maya or acwebbrowser.exe Open Maya Select Enter Serial After going through the Enter Serial the Serial\u2026","rel":"","context":"In &quot;Featured&quot;","block_context":{"text":"Featured","link":"https:\/\/cocoalopez.com\/blog\/?cat=1002"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/cocoalopez.com\/blog\/wp-content\/uploads\/2025\/05\/image-1.png?fit=1041%2C579&ssl=1&resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/cocoalopez.com\/blog\/wp-content\/uploads\/2025\/05\/image-1.png?fit=1041%2C579&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/cocoalopez.com\/blog\/wp-content\/uploads\/2025\/05\/image-1.png?fit=1041%2C579&ssl=1&resize=525%2C300 1.5x, https:\/\/i0.wp.com\/cocoalopez.com\/blog\/wp-content\/uploads\/2025\/05\/image-1.png?fit=1041%2C579&ssl=1&resize=700%2C400 2x"},"classes":[]},{"id":2033,"url":"https:\/\/cocoalopez.com\/blog\/?p=2033","url_meta":{"origin":4178,"position":5},"title":"Maya License was not obtained error FIX!!!!","author":"cgmodeler","date":"December 27, 2016","format":false,"excerpt":"\u00a0 License was not obtained License method: environment variable MAYA_LICENSE_METHOD='standalone' Product choice: environment variable MAYA_LICENSE='657e1' License file override: environment variable MAYA_ALT_EN is not set Just re-install your license. Assuming your on WinVista\/7\/8...: 1) Hit the start button. Type \"services.msc\" and run it. 2) In Services, right-click \"FLEXnet Licensing\" and click\u2026","rel":"","context":"In &quot;La vida en Tokyo&quot;","block_context":{"text":"La vida en Tokyo","link":"https:\/\/cocoalopez.com\/blog\/?cat=18"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/cocoalopez.com\/blog\/wp-content\/uploads\/2016\/12\/image_thumb1.png?fit=409%2C270&ssl=1&resize=350%2C200","width":350,"height":200},"classes":[]}],"_links":{"self":[{"href":"https:\/\/cocoalopez.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/4178","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/cocoalopez.com\/blog\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/cocoalopez.com\/blog\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/cocoalopez.com\/blog\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/cocoalopez.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=4178"}],"version-history":[{"count":3,"href":"https:\/\/cocoalopez.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/4178\/revisions"}],"predecessor-version":[{"id":4182,"href":"https:\/\/cocoalopez.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/4178\/revisions\/4182"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/cocoalopez.com\/blog\/index.php?rest_route=\/wp\/v2\/media\/2407"}],"wp:attachment":[{"href":"https:\/\/cocoalopez.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=4178"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/cocoalopez.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=4178"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/cocoalopez.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=4178"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}