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

No Module named Torch #20

Open
Nahdra opened this issue Aug 27, 2024 · 10 comments
Open

No Module named Torch #20

Nahdra opened this issue Aug 27, 2024 · 10 comments

Comments

@Nahdra
Copy link

Nahdra commented Aug 27, 2024

Hi i have an issue with the Touch Diffusion. I have succesfully install it, but when i loaded it to Touch Designer an error appear like this
I tried to repeat the reload process but still nothing happen.
Can you help me with it ? Thanks !
image

@Onierous
Copy link

Onierous commented Sep 7, 2024

Having the same issue. You ever find a solution?

@Onierous
Copy link

The solution I found to this was that I had an incorrect version of torch in the integrated python environment in TouchDesigner

@JaimanUp
Copy link

which Torch version is the right one for touchdesigner?

@olegchomp
Copy link
Owner

which Torch version is the right one for touchdesigner?

There is no built-in PyTorch version. If you have this error check that in TouchDesigner settings "site-packages" path is empty.

@olegchomp olegchomp reopened this Sep 18, 2024
@moaninn
Copy link

moaninn commented Oct 27, 2024

inside TouchDiffusion.tox,
edit execute2
on line 12, replace with:
site_packages = 'embedded_python/Lib/site-packages'

@jumbohiggins
Copy link

How do you edit a tox file? Opening it in N++ is gibberish.

@olegchomp
Copy link
Owner

How do you edit a tox file? Opening it in N++ is gibberish.

re-uploading every time

@jumbohiggins
Copy link

I think I figured out what Moaninn was saying. I hit enter on the touchdiffusion node and I guess it went into it and I could see an execute2 code node. But mine was already set with the site_packages like they specified.

Not sure where the touch designer site packages are to set to empty.

@olegchomp
Copy link
Owner

I think I figured out what Moaninn was saying. I hit enter on the touchdiffusion node and I guess it went into it and I could see an execute2 code node. But mine was already set with the site_packages like they specified.

Not sure where the touch designer site packages are to set to empty.

Edit -> Preferences -> Add external Python path to search

@jumbohiggins
Copy link

jumbohiggins commented Nov 4, 2024

Still doesn't seem to be working for me. I'm going to try to build with portable and see if I have better luck with that.

Does the build engine button from the webui create the tox file?

Thanks for the fast responses.

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

No branches or pull requests

6 participants