Installation Von Python-Pakete - IronPython

Ich möchte noch hinzufügen, dass die PRAW-Paket zu einem IronPython-Lösung in VS aber es erweist sich als ein Schmerz in den Hintern. Hier sind die Schritte, die ich nehme

  • mit der rechten Maustaste auf IronPython Umgebung, wählen Sie install python-Paket.
  • Typ in "Praw" mit pip
  • Ich aufgefordert mir zu sagen, dass pip muss installiert bekommen.

Sehe ich dann Folgendes:

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

Den Grund für die fehlgeschlagene Installation sein: AttributeError: 'module' Objekt hat kein Attribut '_getframe'Traceback (most recent call last):

Wie bekomme ich dieses? Gibt es eine Möglichkeit, zu installieren und pip für ironpython in einer anderen Art und Weise? Gibt es eine Möglichkeit zum installieren von Paketen/Bibliotheken nicht verwenden Sie pip? Ich kann installieren Sie das Paket einfach gut über Pip für python 2.7.

Versuche easy_install. Ich weiß nicht, ob die helfen werden, Ihr problem, aber eine google-Suche gab mir die folgende: blog.jdhardy.ca/2008/08/easyinstall-on-ironpython.html
Das ist auch ein problem für mich, keine Lösung gefunden!

InformationsquelleAutor MickJuice | 2013-08-25

Schreibe einen Kommentar