VS에서 IronPython 솔루션에 PRAW 패키지를 추가하고 싶지만 엉덩이에 통증이 있음을 증명합니다. 다음 단계를 수행합니다.Python 패키지 설치 - IronPython
- IronPython 환경을 마우스 오른쪽 단추로 클릭하고 Python 패키지를 선택하십시오.
- pip를 사용하여 "Praw"에 입력하십시오.
- 나는 pip를 설치해야한다는 메시지를받습니다.
내가 다음 참조 : AttributeError : '모듈'개체가 어떤 속성 '_getframe'Traceback이 없습니다 (마지막으로 가장 최근에 호출) 다음 존재를 설치 실패에 대한 이유와
Installing 'pip' package manager.
Downloading distribute from https://go.microsoft.com/fwlink/?LinkID=306663
Installing from distribute-0.6.45
Before install bootstrap.
Scanning installed packages
Setuptools installation detected at c:\program files (x86)\ironpython 2.7\lib\site-packages\setuptools-0.6c11-py2.7.egg
Egg installation
Already patched.
running install
Traceback (most recent call last):
File "setup.py", line 147, in <module>
File "C:\Program Files (x86)\IronPython 2.7\Lib\distutils\core.py", line 151, in setup
File "C:\Program Files (x86)\IronPython 2.7\Lib\distutils\dist.py", line 952, in run_commands
File "C:\Program Files (x86)\IronPython 2.7\Lib\distutils\dist.py", line 971, in run_command
File "c:\users\mj\appdata\local\temp\ptvs-9jvsvw-pip_downloader\distribute-0.6.45\setuptools\command\install.py", line 63, in run
AttributeError: 'module' object has no attribute '_getframe'Traceback (most recent call last):
File "C:\Program Files (x86)\Microsoft Visual Studio 11.0\Common7\IDE\Extensions\Microsoft\Python Tools for Visual Studio\2.0\pip_downloader.py", line 47, in <module>
File "C:\Program Files (x86)\IronPython 2.7\Lib\subprocess.py", line 512, in check_call
subprocess.CalledProcessError: Command '['C:\\Program Files (x86)\\IronPython 2.7\\ipy64.exe', 'setup.py', 'install']' returned non-zero exit status 1
'pip' failed to install. Exit code: 1
어떻게이 문제를 해결할 수 있습니까? pip와 ironpython을 다른 방법으로 설치하는 방법이 있습니까? pip를 사용하지 않아도 패키지/라이브러리를 설치할 수 있습니까? Python 2.7 용 Pip을 통해 패키지를 설치할 수 있습니다.
시도의 easy_install을합니다. 귀하의 문제가 도움이 될지 모르겠지만, Google 검색 나를 준 다음 : http://blog.jdhardy.ca/2008/08/easyinstall-on-ironpython.html – Rohit
이것은 나에게도 문제가됩니다. 아직 해결책을 찾지 못했습니다! –