• 카테고리

    질문 & 답변
  • 세부 분야

    CAD · 3D 모델링

  • 해결 여부

    미해결

애드온 실행

21.08.12 16:38 작성 조회수 443

0

7강에서 설명해주신 __int__.py 애드온 따라서 작성하고 실행시켜봤는데 Debug Console에 'Debug client attached.' 만 뜨고 등록 해제가 안뜹니다. 블렌더 안 애드온 설정에서도 안뜹니다. 제가 중간에 설정을 잘못해서 생긴 문제일까요??

답변 2

·

답변을 작성해보세요.

0

성용석님의 프로필

성용석

2022.05.19

처음 제가 드린 질문은 screencast_keys 애드온을 블렌더에 설치 후에 해결 했습니다.

현재 7강을 강의 들으며 따라하고 있는데 contoller __init_.py 까지 따라왔습니다.

이후 블렌더를 vscode에서 실행시키면

> Executing task: c:\Program Files\Blender Foundation\Blender 3.1\blender.exe --python c:\Users\user\.vscode\extensions\jacqueslucke.blender-development-0.0.16\pythonFiles\launch.py <

 

Read prefs: C:\Users\user\AppData\Roaming\Blender Foundation\Blender\3.1\config\userpref.blend

[]

Collecting debugpy

  Using cached debugpy-1.6.0-cp310-cp310-win_amd64.whl (4.3 MB)

Installing collected packages: debugpy

Successfully installed debugpy-1.6.0

ERROR: Exception:

Traceback (most recent call last):

  File "c:\Program Files\Blender Foundation\Blender 3.1\3.1\python\lib\shutil.py", line 805, in move

    os.rename(src, real_dst)

PermissionError: [WinError 5] 액세스가 거부되었습니다: 'C:\\Users\\user\\AppData\\Local\\Temp\\pip-target-2vykjwo0\\lib\\python\\debugpy' -> 'c:\\Program Files\\Blender Foundation\\Blender 3.1\\3.1\\python\\lib\\site-packages\\debugpy'     

 

During handling of the above exception, another exception occurred:

 

Traceback (most recent call last):

  File "c:\Program Files\Blender Foundation\Blender 3.1\3.1\python\lib\site-packages\pip\_internal\cli\base_command.py", line 173, in _main

    status = self.run(options, args)

  File "c:\Program Files\Blender Foundation\Blender 3.1\3.1\python\lib\site-packages\pip\_internal\cli\req_command.py", 

line 203, in wrapper

    return func(self, options, args)

  File "c:\Program Files\Blender Foundation\Blender 3.1\3.1\python\lib\site-packages\pip\_internal\commands\install.py", line 446, in run

    self._handle_target_dir(

  File "c:\Program Files\Blender Foundation\Blender 3.1\3.1\python\lib\site-packages\pip\_internal\commands\install.py", line 505, in _handle_target_dir

    shutil.move(

  File "c:\Program Files\Blender Foundation\Blender 3.1\3.1\python\lib\shutil.py", line 821, in move

    copytree(src, real_dst, copy_function=copy_function,

  File "c:\Program Files\Blender Foundation\Blender 3.1\3.1\python\lib\shutil.py", line 556, in copytree

    return _copytree(entries=entries, src=src, dst=dst, symlinks=symlinks,

  File "c:\Program Files\Blender Foundation\Blender 3.1\3.1\python\lib\shutil.py", line 457, in _copytree

    os.makedirs(dst, exist_ok=dirs_exist_ok)

  File "c:\Program Files\Blender Foundation\Blender 3.1\3.1\python\lib\os.py", line 225, in makedirs

    mkdir(name, mode)

PermissionError: [WinError 5] 액세스가 거부되었습니다: 'c:\\Program Files\\Blender Foundation\\Blender 3.1\\3.1\\python\\lib\\site-packages\\debugpy'

WARNING: You are using pip version 21.2.4; however, version 22.1 is available.

You should consider upgrading via the 'c:\Program Files\Blender Foundation\Blender 3.1\3.1\python\bin\python.EXE -m pip 

install --upgrade pip' command.

 

################################################################################

>   could not install debugpy

################################################################################

 

Saved session recovery to 'C:\Users\user\AppData\Local\Temp\quit.blend'

터미널 프로세스 "c:\Program Files\Blender Foundation\Blender 3.1\blender.exe '--python', 'c:\Users\user\.vscode\extensions\jacqueslucke.blender-development-0.0.16\pythonFiles\launch.py'"이(가) 종료되었습니다(종료 코드: 1).

 

이런 메세지가 뜨면서 블렌더가 종료 됩니다. 

0

안녕하세요.

메세지를 보니 addonPathMappings 부분이 공란인 것이 보입니다.

원래는 해당 폴더의 경로와 블렌더 addons경로가 같이 보여야 합니다.

7강 6분32초 부분의 터미널을 보시면 addonPathMappings에 대한 경로가 나오는 것을 보실 수 있습니다.

제 생각에는 6강의 부분을 학습하실때 놓친 부분이 있으신 것 같은 생각이 듭니다.

황태언님의 프로필

황태언

질문자

2021.08.12

6강부터 다시 따라하니깐 정상적으로 작동합니다. 중간에 저도 모르게 실수했나봐요. 사소한 질문에도 매번 정성껏  답변해주셔서 감사합니다!!