Hi everyone, I am trying to set a proper dev environment by creating a functional virtual environment from the mayapy Maya included python interpreter, without any success. I work with Maya2023 on a macOS ARM laptop.
Creating a venv using *mayapy -m venv <venv_folder>* result in a non functional venv (missing amongst many other things the activate script) and yells the following error: - Command '['<venv_folder>/bin/mayapy', '-Im', 'ensurepip', '--upgrade', '--default-pip']' returned non-zero exit status 1. Creating a venv without pip using *mayapy -m venv <venv_folder> --without-pip*does not yell any error. But when activating the newly created venv, here is the output I get: - Fatal Python error: init_fs_encoding: failed to get the Python codec of the filesystem encoding Python runtime state: core initialized ModuleNotFoundError: No module named 'encodings' Current thread 0x000000020461b2c0 (most recent call first): <no Python frame> Does anyone have experience with successfully doing this? -- You received this message because you are subscribed to the Google Groups "Python Programming for Autodesk Maya" group. To unsubscribe from this group and stop receiving emails from it, send an email to python_inside_maya+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/python_inside_maya/4ec8665b-97a1-450e-aec4-459a2009947cn%40googlegroups.com.