Also ich bin wirklich zu doof dazu, ich hab das mal mit diesem französischen Youtube-Video (
http://www.youtube.com/watch?v=qXzurFUg7fY) probiert aber bei mir kommt dann immer diese Fehlermeldung:
Code: Alles auswählen
C:\Python27\Scripts>easy_install networkx
Searching for networkx
Reading http://pypi.python.org/simple/networkx/
Download error: [Errno 10060] Ein Verbindungsversuch ist fehlgeschlagen, da die
Gegenstelle nach einer bestimmten Zeitspanne nicht richtig reagiert hat, oder di
e hergestellte Verbindung war fehlerhaft, da der verbundene Host nicht reagiert
hat -- Some packages may not be found!
Couldn't find index page for 'networkx' (maybe misspelled?)
Scanning index of all packages (this may take a while)
Reading http://pypi.python.org/simple/
Download error: [Errno 10060] Ein Verbindungsversuch ist fehlgeschlagen, da die
Gegenstelle nach einer bestimmten Zeitspanne nicht richtig reagiert hat, oder di
e hergestellte Verbindung war fehlerhaft, da der verbundene Host nicht reagiert
hat -- Some packages may not be found!
No local packages or download links found for networkx
Best match: None
Traceback (most recent call last):
File "C:\Python27\Scripts\easy_install-script.py", line 8, in <module>
load_entry_point('setuptools==0.6c11', 'console_scripts', 'easy_install')()
File "C:\Python27\lib\site-packages\setuptools\command\easy_install.py", line
1712, in main
with_ei_usage(lambda:
File "C:\Python27\lib\site-packages\setuptools\command\easy_install.py", line
1700, in with_ei_usage
return f()
File "C:\Python27\lib\site-packages\setuptools\command\easy_install.py", line
1716, in <lambda>
distclass=DistributionWithoutHelpCommands, **kw
File "C:\Python27\lib\distutils\core.py", line 152, in setup
dist.run_commands()
File "C:\Python27\lib\distutils\dist.py", line 953, in run_commands
self.run_command(cmd)
File "C:\Python27\lib\distutils\dist.py", line 972, in run_command
cmd_obj.run()
File "C:\Python27\lib\site-packages\setuptools\command\easy_install.py", line
211, in run
self.easy_install(spec, not self.no_deps)
File "C:\Python27\lib\site-packages\setuptools\command\easy_install.py", line
434, in easy_install
self.local_index
File "C:\Python27\lib\site-packages\setuptools\package_index.py", line 475, in
fetch_distribution
return dist.clone(location=self.download(dist.location, tmpdir))
AttributeError: 'NoneType' object has no attribute 'clone'
Jetzt hab ich noch diesen Link
http://networkx.lanl.gov/install.html hier durchgeschaut, aber da verstehe ich schon gar nichts:
1. Ich hab mir das zip-file runter geladen und entpackt
Download the source (tar.gz or zip file).
2. Was muss ich bei "Unpack and change directory to networkx-“version” genau machen?
3. Run “python setup.py install” to build and install. Wo muss ich das ausführen? In der DOS-Konsole (wie im Video) oder in der Python 'Command Line' ?