I was facing this issue and I was able to solve it using anaconda
After activating my profile
source activate MyProfileName conda install basemap from mpl_toolkits.basemap import Basemap import matplotlib.pyplot as plt # setup Lambert Conformal basemap. # set resolution=None to skip processing of boundary datasets. m = Basemap(width=12000000,height=9000000,projection='lcc', resolution=None,lat_1=45.,lat_2=55,lat_0=50,lon_0=-107.) m.bluemarble() plt.show()
Related Posts:
- A tool to convert MATLAB code to Python
- Import Error: No module named numpy
- Purpose of “%matplotlib inline”
- Purpose of “%matplotlib inline”
- python – how to get the data from an plt.imshow()?
- Python random function
- ImportError: No module named matplotlib.pyplot
- RuntimeWarning: invalid value encountered in divide
- _tkinter.TclError: no display name and no $DISPLAY environment variable
- ValueError: operands could not be broadcast together with shapes (5,) (30,)
- _tkinter.TclError: no display name and no $DISPLAY environment variable
- beyond top level package error in relative import
- matplotlib savefig() plots different from show()
- beyond top level package error in relative import
- How do I draw a grid onto a plot in Python?
- Save plot to image file instead of displaying it using Matplotlib
- `from … import` vs `import .` [duplicate]
- No handles with labels found to put in legend
- How to plot a histogram using Matplotlib in Python with a list of data?
- Plot logarithmic axes with matplotlib in python
- How can I plot a confusion matrix? [duplicate]
- beyond top level package error in relative import
- Unable to plot Double Bar, Bar plot using pyplot for ndarray
- ImportError: No module named ‘pygame’
- matplotlib error – no module named tkinter
- pandas DataFrame “no numeric data to plot” error
- Relative imports for the billionth time
- Permission denied error by installing matplotlib
- Updating matplotlib in virtualenv with pip
- Python – from . import
- How do you change the size of figures drawn with Matplotlib?
- Is there a list of line styles in matplotlib?
- Matplotlib automatic legend outside plot
- Add Legend to Seaborn point plot
- How can one display an image using cv2 in Python
- Changing the “tick frequency” on x or y axis in matplotlib?
- matplotlib error – no module named tkinter
- Plotting multiple different plots in one figure using Seaborn
- Plot pie chart and table of pandas dataframe
- ModuleNotFoundError: No module named ‘matplotlib’
- Change figure size and figure format in matplotlib
- TypeError: ‘DataFrame’ object is not callable
- Improve subplot size/spacing with many subplots in matplotlib
- How do I plot only a table in Matplotlib?
- Python equivalent to ‘hold on’ in Matlab
- Read .mat files in Python
- How to add title to subplots in Matplotlib
- Overcome ValueError for empty array
- How can I convert an RGB image into grayscale in Python?
- Using %matplotlib notebook after %matplotlib inline in Jupyter Notebook doesn’t work
- How to change a ‘LinearSegmentedColormap’ to a different distribution of color?
- Python circular importing?
- Display image as grayscale using matplotlib
- Create own colormap using matplotlib and plot color scale
- Why matplotlib does not plot?
- How to plot time series in python
- reducing number of plot ticks
- How to increase plt.title font size?
- Plot a horizontal line using matplotlib
- How can I set the aspect ratio in matplotlib?
- How to add title to seaborn boxplot
- python SyntaxError: invalid syntax %matplotlib inline
- scipy.signal.spectrogram compared to matplotlib.pyplot.specgram
- How to update a plot in matplotlib?
- How to make a histogram from a list of data
- ValueError: x and y must be the same size
- ValueError: Unknown projection ‘3d’ (once again)
- Display an image with Python
- Linear regression with matplotlib / numpy
- How to save a Seaborn plot into a file
- Plot correlation matrix using pandas
- What does “Symbol not found / Expected in: flat namespace” actually mean?
- Scatter plot colorbar – Matplotlib
- matplotlib: how to draw a rectangle on image
- bbox_to_anchor and loc in matplotlib
- matplotlib: RuntimeError: Python is not installed as a framework
- Python, Matplotlib, subplot: How to set the axis range?
- How to put the legend out of the plot
- Matplotlib: TypeError: can’t multiply sequence by non-int of type ‘numpy.float64’
- RuntimeError: Invalid DISPLAY variable
- When I use matplotlib in jupyter notebook,it always raise ” matplotlib is currently using a non-GUI backend” error?
- Seaborn Lineplot Module Object Has No Attribute ‘Lineplot’
- IndexError: index 2 is out of bounds for axis 0 with size 2
- Python name ‘os’ is not defined
- Python 3.6 import requests
- Matplotlib plots: removing axis, legends and white spaces
- Why do many examples use `fig, ax = plt.subplots()` in Matplotlib/pyplot/python
- How to plot a 2d matrix in python with colorbar? (like imagesc in Matlab)
- Label axes on Seaborn Barplot
- matplotlib: plot multiple columns of pandas data frame on the bar chart
- plot a circle with pyplot
- Superscript in Python plots
- IPython, “name ‘plt’ not defined”
- Pandas dataframe groupby plot
- How to plot normal distribution
- How do I tell Matplotlib to create a second (new) plot, then later plot on the old one?
- How to import or include data structures (e.g. a dict) into a Python file from a separate file
- Installing Pylab/Matplotlib
- TypeError: zip argument #2 must support iteration
- numpy/scipy/ipython:Failed to interpret file as a pickle