회원 로그인
정보기억 정보기억에 체크할 경우 다음접속시 아이디와 패스워드를 입력하지 않으셔도 됩니다.
그러나, 개인PC가 아닐 경우 타인이 로그인할 수 있습니다.
PC를 여러사람이 사용하는 공공장소에서는 체크하지 마세요.
소셜네트워크 서비스를 통해서 로그인하시면 별도의 로그인 절차없이 회원서비스를 이용하실 수 있습니다.


최근 게시물

1.노션에서 작성 중

1.노션에서 작성 중

개편하기 전까지 노션에서 작성 중

2024.04.04//read more

2.ChatGPT

2.ChatGPT

OpenAI로 대규모 언어 모델대화형...

2023.03.16//read more

3.노코딩 게임 엔진 - 빌..

3.노코딩 게임 엔진 - 빌..

빌드 지원안드로이드iOS윈도우즈특이사...

2023.03.14//read more

4.(완료) 미접속 회원 정..

4.(완료) 미접속 회원 정..

[완료] 36명의 회원을 정리하였습니...

2023.02.16//read more

5.매뉴얼 플러스 - 전자제..



안정적인 DNS 서비스 DNSEver
DNS Powered by DNSEver.com


numpy for Maya2017

푸딩뱃살 | 2020.04.09 20:15 | 조회 1880
: 마야 2017 설치 완료

  1. Python이나 Anaconda에서 2.7.x 설치
  2. 개발환경으로 들어가 numpy, scipy를 pip로 설치
  3. 1
    2
    pip install -i https://pypi.anaconda.org/carlkl/simple numpy
    pip install -i https://pypi.anaconda.org/carlkl/simple scipy

  4. 설치 된 파일들 복사
  5. 마야 파이썬 경로에 붙여넣기 (첨부파일:numpy-1.9.2, scipy-0.16.0)
  6. 마야에서 import 확인
mayapy 파일 위치
마야 설치 폴더\bin
파이썬 패키치 설치 확인
마야 설치 폴더\Python\Lib\site-packages


참고


설치 히스토리(pip로 설치 안됨)

pip, setuptools 업데이트
1
mayapy -m pip install --upgrade pip setuptools


numpy 설치
1
mayapy -m pip install numpy


1
import numpy


에러
# Error: Error in  maya.utils._guiExceptHook:
#   File "마야 설치 폴더\Maya2017\Python\lib\site-packages\maya\utils.py", line 321, in formatGuiException
#     exceptionMsg = unicode(exceptionObject.args[0])
# UnicodeDecodeError: 'ascii' codec can't decode byte 0xc1 in position 1358: ordinal not in range(128)
# Original exception was:
# Traceback (most recent call last):
#   File "<maya console>", line 2, in <module>
#   File "마야 설치 폴더\Maya2017\Python\lib\site-packages\numpy\__init__.py", line 142, in <module>
#     from . import core
#   File "마야 설치 폴더\Maya2017\Python\lib\site-packages\numpy\core\__init__.py", line 71, in <module>
#     raise ImportError(msg)
# ImportError: 
# IMPORTANT: PLEASE READ THIS FOR ADVICE ON HOW TO SOLVE THIS ISSUE!
# Importing the multiarray numpy extension module failed.  Most
# likely you are trying to import a failed build of numpy.
# Here is how to proceed:
# - If you're working with a numpy git repository, try `git clean -xdf`
#   (removes all files not under version control) and rebuild numpy.
# - If you are simply trying to use the numpy version that you have installed:
#   your installation is broken - please reinstall numpy.
# - If you have already reinstalled and that did not fix the problem, then:
#   1. Check that you are using the Python you expect (you're using 마야 설치 폴더\Maya2017\bin\maya.exe),
#      and that you have no directories in your PATH or PYTHONPATH that can
#      interfere with the Python and numpy versions you're trying to use.
#   2. If (1) looks fine, you can open a new issue at
#      https://github.com/numpy/numpy/issues.  Please include details on:
#      - how you installed Python
#      - how you installed numpy
#      - your operating system
#      - whether or not you have multiple versions of Python installed
#      - if you built from source, your compiler versions and ideally a build log
#      Note: this error has many possible causes, so please don't comment on
#      an existing issue about this - open a new one instead.
# Original error was: DLL load failed: 지정된 모듈을 찾을 수 없습니다. # 

scipy 설치
1
c:\Program Files\Autodesk\Maya2017\bin>mayapy -m pip install scipy


1
import numpy


에러
# Error: cannot import name _distributor_init
# Traceback (most recent call last):
#   File "<maya console>", line 1, in <module>
#   File "마야 설치 폴더\Maya2017\Python\lib\site-packages\numpy\__init__.py", line 140, in <module>
#     from . import _distributor_init
# ImportError: cannot import name _distributor_init # 

numpy 삭제
1
mayapy -m pip uninstall numpy


numpy 1.13.3 버전으로 설치
1
mayapy -m pip install numpy==1.13.3


1
import numpy


에러
(처음 numpy 에러와 비슷한...)
다시 원점

scipy 삭제
1
mayapy -m pip uninstall scipy


scipy 0.19.1 버전으로 설치
1
mayapy -m pip install scipy==0.19.1


참고

Building Python 2.7.10 with Visual Studio 2010 or 2015


260개(3/13페이지)
마야
번호 제목 글쓴이 조회 날짜
공지 마야 뷰포트 네비게이션 팁 푸딩뱃살 45252 2020.04.06 17:22
공지 Maya 버전 별 Python 버전 푸딩뱃살 65979 2014.01.08 17:59
218 [FX] nCloth에서 Map Properties를 수정하면 충돌 리지드가 안먹는 사진 첨부파일 푸딩뱃살 1577 2020.06.15 19:24
217 [Script] 설정 저장 푸딩뱃살 1592 2020.06.01 10:58
216 [Script] Heads Up Display 푸딩뱃살 1628 2020.05.27 01:39
215 [Base] 마야 Help 크롬에서 열기 사진 첨부파일 푸딩뱃살 1939 2020.05.26 23:45
214 [Script] opencv for Maya2017, 2018 첨부파일 푸딩뱃살 2159 2020.04.12 00:07
>> [Script] numpy for Maya2017 첨부파일 푸딩뱃살 1881 2020.04.09 20:15
212 [Plugin] Skinning Tools 사진 첨부파일 푸딩뱃살 1853 2020.03.19 17:34
211 [Base] .mel 파일 오픈 후 안되는 것 사진 첨부파일 푸딩뱃살 2092 2020.03.06 10:29
210 [Modeling] 엣지가 점선으로 나올 때 - soft edge 첨부파일 푸딩뱃살 1899 2019.12.31 11:11
209 [Plugin] USD Plugin for Maya 푸딩뱃살 2116 2019.12.18 11:45
208 [Rigging] decomposeMatrix를 이용한 trasform 연결 사진 첨부파일 푸딩뱃살 2038 2019.10.29 11:30
207 [Plugin] Shave and a Haircut for Maya 사진 첨부파일 푸딩뱃살 2716 2019.10.28 10:25
206 [Base] 뷰포트에서 트랜스폼 노드 선택 시 쉐입 노드가 선택될 때 푸딩뱃살 3157 2019.10.25 10:38
205 [오류] 오류 hikCharacterControlsUI.mel line 329 푸딩뱃살 2656 2019.10.15 10:23
204 [참고] PyCharm의 MayaCharm 플러그인 푸딩뱃살 2566 2019.10.04 10:33
203 [Script] 플러그인 로딩 끄기 푸딩뱃살 2704 2019.10.04 10:17
202 [Animation] 리깅이 뷰포트에서 느리게 움직일 때 푸딩뱃살 2734 2019.09.28 02:11
201 [Modeling] Transfer를 이용한 모델링 wrap 사진 첨부파일 푸딩뱃살 1984 2019.09.26 11:57
200 [오류] 마야 오픈 오류 첨부파일 푸딩뱃살 2216 2019.09.04 10:43
199 [오류] Error: 'NoneType' object is not iterable 푸딩뱃살 1111 2019.08.12 15:04