SOLVED: tdPyEnvManager: Conda Env Install Fails If Install Directory Includes Spaces

TD 2025.31550 / Win 10

When trying to create a Conda Env with tdPyEnvManager, I’ve been receiving the Status message “Error Installing Conda.” and a number of errors in the textport (see attached .zip). After trying to run the Miniconda installer manually, it appears that the errors were occurring because the folder where my project was saved had a space in the name (see image below). The directory name that caused the issue was
“…\TouchDesigner Projects\HQ\tdPyEnvManager\”

After replacing the space with an underscore
(“…\TouchDesigner_Projects\HQ\tdPyEnvManager\”),
the Conda Env installation was able to complete successfully.

Just wanted to point this out in case it helps anyone else, though I’m not sure what you’d do in the case of your user folder having a space in the name
(i.e. “C:\Users\FirstName LastName\…”).

Anyway, let me know if I can provide any further info!

textport errors.zip (1.0 KB)

1 Like

Hi @jackdilaura

thanks for reporting this, we are having a look.

cheers
Markus

1 Like

Hey @jackdilaura

Thanks for the report.

I can reproduce and I’m working on a fix.

Best,
Michel

Hi @jackdilaura

Actually, Anaconda advise against installing to destinations where the path contain a space:

Do not install into paths that contain spaces such as C:\Program Files or that include Unicode characters outside the 7-bit ASCII character set. This helps ensure correct operation and no errors when using any open-source tools in either Python 3 or Python 2 conda environments.

and

If your username includes spaces, as is common on Windows systems, you should not use the default path. See the “In what folder should I install Anaconda on Windows?” FAQ item above.

I’m now giving warning / getting a dialog to popup in that specific case.

Best,
Michel