gddxz gddxz - 1 year ago 120
Python Question

Installing basemap: encounters an error

I followed the rules here to install basemap step by step. But error occured at last.

When I typed the command: python, an erorr appears as follows:

gddxz@ubuntu:~/Downloads/basemap-1.0.7$ python
Traceback (most recent call last):
File "", line 92, in <module>
if sys.argv[1] not in ['sdist','clean']:
IndexError: list index out of range

If there is anyone encountering the similar problem? Any help will be much appreciated!

Answer Source

The problem is that this command requires at least one parameter. According to the instructions you should execute python install.

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download