푸른

2016-06-03 7 views
0

에 파이썬 모듈을 추가 웹 응용 프로그램에 생성 된 디렉토리. 어떻게/어디서 모듈을 설치할 수 있습니까?푸른

답변

1

시도해 보셨습니까? (현장에서)

http://nicholasjackson.github.io/azure/python/python-packages-and-azure-webjobs/ :

Step 1.

If you are using OSX and the default Python 2.7 install your packages installed with pip will be in /usr/local/lib/python2.7/site-packages, create a folder called site-packages in the root of your python job and copy any packages you need for your job into it.

Step 2

Next you need to modify your run.py or any other file which requires access to the package files. At the top of the file add….

import sys 
sys.path.append("site-packages") 
+0

딱! 고맙습니다. 나는 그 사이트를 보지 못했습니다. –