I followed the rules here to install basemap step by step. But error occured at last.
When I typed the command: python setup.py, an erorr appears as follows:
gddxz@ubuntu:~/Downloads/basemap-1.0.7$ python setup.py
Traceback (most recent call last):
File "setup.py", line 92, in <module>
if sys.argv[1] not in ['sdist','clean']:
IndexError: list index out of range
gddxz@ubuntu:~/Downloads/basemap-1.0.7$
If there is anyone encountering the similar problem? Any help will be much appreciated!
似乎有效:“ python setup.py install”
The problem is that this command requires at least one parameter. According to the instructions you should execute python setup.py install
.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.