You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
after cd in max install dir[3dsmax 2022], and "D:/project/3dsMax-Python-HowTos/install.sh",every thing seems right until I start 3dsmax :
mxvscode startup enabling vscode debugging
(if you don't use VSCode for debugging Python you can uninstall
mxvscode)
skipped package startup for mxvscode-autodesk 0.0.1, startup not working
Expecially, the pip cant update, very confused because I have used a newer version of python, where can i start pip ,python. ## can you please just set it into 3dsmax--- the cmd and the console.
i am a artist, not a programmer ,umm , this is really not easy to me.
then I just open the script run it in 3dsmax:
import sys
import os
import debugpy
sysexec = sys.executable
(base, file) = os.path.split(sys.executable)
if file.lower() == "3dsmax.exe":
sys.executable = os.path.join(base, "python", "python.exe")
host = "localhost"
port = 5678
debugpy.listen((host, port))
print(f"-- now ready to receive debugging connections from vscode on (${host}, ${port})")
sys.executable = sysexec
### output:
Traceback (most recent call last):
File "<input>", line 12
File "C:\Users\xxx\AppData\Roaming\Python\Python37\site-packages\debugpy\public_api.py", line 31, in 'wrapper' function
File "C:\Users\xxx\AppData\Roaming\Python\Python37\site-packages\debugpy\server\api.py", line 143, in 'debug' function
File "C:\Users\xxx\AppData\Roaming\Python\Python37\site-packages\debugpy\server\api.py", line 141, in 'debug' function
File "C:\Users\xxx\AppData\Roaming\Python\Python37\site-packages\debugpy\server\api.py", line 234, in 'listen' function
RuntimeError: error spawning debug adapter: [WinError 2] The system cannot find the file specified
The text was updated successfully, but these errors were encountered:
Other, just in case. On my fresh 2022 install, when I do:
cd /c/Program Files/Autodesk/3ds Max 2022/python37
and then
./python -m pip show debugpy
I see:
Name: debugpy
Version: 1.7.0
Summary: An implementation of the Debug Adapter Protocol for Python
Home-page: https://aka.ms/debugpy
Author: Microsoft Corporation
Author-email: [email protected]
License: MIT
Location: c:\users\windishadmin\appdata\roaming\python\python37\site-packages
Requires:
Required-by: mxvscode-autodesk
So my version of this is 1.7.0
maybe if it's not the case on your side you could try reinstalling debugpy
after cd in max install dir[3dsmax 2022], and "D:/project/3dsMax-Python-HowTos/install.sh",every thing seems right until I start 3dsmax :
Expecially, the pip cant update, very confused because I have used a newer version of python, where can i start pip ,python. ## can you please just set it into 3dsmax--- the cmd and the console.
i am a artist, not a programmer ,umm , this is really not easy to me.
then I just open the script run it in 3dsmax:
The text was updated successfully, but these errors were encountered: