Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

importerror: cannot import name pod #44

Open
littledrew22 opened this issue May 6, 2021 · 3 comments
Open

importerror: cannot import name pod #44

littledrew22 opened this issue May 6, 2021 · 3 comments

Comments

@littledrew22
Copy link

import error

@C0MPU73R
Copy link

C0MPU73R commented Jan 8, 2022

Your panda3d needs the old POD module.

panda3d/panda3d@88dbb31

You can re-add it and add the name to the python util.

@Tzyml
Copy link

Tzyml commented Feb 8, 2023

Find your PythonUtil.py file, mine was in C:/Python27/Lib/site-packages/direct/showbase. Im using the panda3d pip installation on the newest(old) 2.7 Python.
In the end i had to add 4 different names to the top of the file 'POD', 'ParamObj', 'clampScalar', 'pivotScalar',
They need their respective defs which can be found in the old PythonUtil.py, link provided by C0MPU73R in the previous comment. Find in page each of the four names and copy their respective defs to your PythonUtil.py. It was able to import POD and the others for me after that.

@littledrew22
Copy link
Author

Find your PythonUtil.py file, mine was in C:/Python27/Lib/site-packages/direct/showbase. Im using the panda3d pip installation on the newest(old) 2.7 Python. In the end i had to add 4 different names to the top of the file 'POD', 'ParamObj', 'clampScalar', 'pivotScalar', They need their respective defs which can be found in the old PythonUtil.py, link provided by C0MPU73R in the previous comment. Find in page each of the four names and copy their respective defs to your PythonUtil.py. It was able to import POD and the others for me after that.

i was able to get all that working and quite a few more modules but came to crossroad with urllib3
i also tried many different versions of it. idk how to ask but would you or someone
provide me a working python or panda3d for potco. also sorry for late reply
Screenshot 2023-06-08 115639
Screenshot 2023-06-08 115711
Screenshot 2023-06-08 120118

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

3 participants