true
    • Shop
    • NFT
    • Technology
    • Community
      • Gallery
      • Masterclass
      • In the Studio
      • Forums
      • Press
      • Blog
    • Help
    • Download Studio
  • Shop
  • NFT
  • Technology
  • Community
  • Help
  • Download Studio
  • Our Community
  • Gallery
  • Masterclass
  • In the Studio
  • Forums
  • Press
  • Blog
Loading...
    • Categories
    • Recent Discussions
Daz 3D Forums > 3rd Party Software > Maya Discussion

Maya 2023 Daz Import Menu Error

RFB532RFB532 Posts: 94
August 2022 edited August 2022 in Maya Discussion

In Maya 2023 when I click "Daz Import" on the Maya shelf I get this error. How do I fix it? Thanks

In Script Editor it says:

DazToMaya.run()
# Error: ModuleNotFoundError: file C:\Users\X9Main\Documents\maya\modules\DazToMaya\scripts\d2m.py line 31: No module named 'pymel'

Post edited by RFB532 on August 2022

Comments

  • danielbui78danielbui78 Posts: 329
    August 2022

    RFB532 said:

    In Maya 2023 when I click "Daz Import" on the Maya shelf I get this error. How do I fix it? Thanks

    In Script Editor it says:

    DazToMaya.run()
    # Error: ModuleNotFoundError: file C:\Users\X9Main\Documents\maya\modules\DazToMaya\scripts\d2m.py line 31: No module named 'pymel'

    You are almost there.  Please look at the last step (step 9) in the installation instructions found here: https://www.daz3d.com/forums/discussion/574846/official-daztomaya-bridge-2022-july-update-what-s-new-and-how-to-use-it/p1

    Or watch the video here: https://youtu.be/y1yizEPQvh0?t=136 (around 2:16 time mark)

  • RFB532RFB532 Posts: 94
    August 2022

    Thanks for the video time stamped link.

    I ticked the box to install Pymell on Maya 2023, but I kept getting the error. I'll review the steps you outlined and the install procedure again to see what I missed.

    Thanks for the great work on these Plugins!

  • MalikethMaliketh Posts: 4
    March 11

    @daniel Thanks 

  • jeronimocollaresjeronimocollares Posts: 129
    April 7 edited April 7

    danielbui78 said:

    RFB532 said:

    In Maya 2023 when I click "Daz Import" on the Maya shelf I get this error. How do I fix it? Thanks

    In Script Editor it says:

    DazToMaya.run()
    # Error: ModuleNotFoundError: file C:\Users\X9Main\Documents\maya\modules\DazToMaya\scripts\d2m.py line 31: No module named 'pymel'

    You are almost there.  Please look at the last step (step 9) in the installation instructions found here: https://www.daz3d.com/forums/discussion/574846/official-daztomaya-bridge-2022-july-update-what-s-new-and-how-to-use-it/p1

    Or watch the video here: https://youtu.be/y1yizEPQvh0?t=136 (around 2:16 time mark)

     

    The right topic is here. I get this message now: 

     

    import sys

    sys.dont_write_bytecode = True  # don't write PYCs

     

    import maya.cmds as cmds

    import DazToMaya

    if int(cmds.about(v=True)) > 2020:

    import importlib

    importlib.reload(DazToMaya)

    else:

    reload(DazToMaya)

    DazToMaya.run()

    # pymel.internal.apicache : Rebuilding the API Caches...

    modelingToolkit

    # Error: OSError: file C:\Program Files\Autodesk\Maya2024\Python\lib\site-packages\pymel\internal\parsers.py line 790: Cannot find maya documentation. Expected to find it at C:\Program Files\Autodesk\Maya2024\docs\Maya2024\en_US

     

    ---------------

     

    SOLVED - how? IN C:\Program Files\Autodesk\Maya2024\Python\Lib\site-packages\pymel\cache change all 2023 to 2024 

     

    Done -_-

     

    Post edited by jeronimocollares on April 7
Sign In or Register to comment.
Adding to Cart…

Daz 3D is part of Tafi

Connect

DAZ Productions, Inc.
224 S 200 W, Suite #250
Salt Lake City, UT 84101

HELP

Contact Us

Tutorials

Help Center

Sell Your 3D Content

Affiliate Program

Documentation Center

Open Source

JOIN DAZ

Blog

About Us

Press

Careers

Bridges

Enterprise Licenses

Community

In the Studio

Gallery

Forum

DAZ STORE

Shop

Daz+

Freebies

Published Artists

Licensing Agreement | Terms of Service | Privacy Policy | EULA

© 2023 Daz Productions Inc. All Rights Reserved.