7.7.16. manual_anaconda_install.txtΒΆ

The problem with these instructions is that it grabs a matplotlib that
is not compatible with our code.  We need to fix our code, but in the
meantime, specifying the version of matplotlib is enough to get us around
this problem for now.


Run the following commands to install what we need:


   conda config --add channels conda-forge
   conda config --set channel_priority strict
   conda config --set auto_activate_base false
   conda config --append create_default_packages ipython \
          --append create_default_packages pip \
          --append create_default_packages "blas=*=openblas"

   conda create -n pycodas python=3.7 basemap netcdf4 future pkgconfig pyqt qtconsole



The incompatibility gives an error like this:

(pycodas) adcp_user@AJui-MacBook-Pro os38bb % dataviewer.py
qt.qpa.window: Window position QRect(0,-495 643x445) outside any known screen, using primary screen
/Users/adcp_user/anaconda3/envs/pycodas/lib/python3.7/site-packages/pycurrents-0.0.0-py3.7-macosx-10.9-x86_64.egg/pycurrents/adcpgui_qt/view/topo_map_window.py:92: MatplotlibDeprecationWarning:
The parent attribute was deprecated in Matplotlib 3.3 and will be removed two minor releases later. Use self.canvas.setParent() instead.
  self.parent.reset_xy_lims()
Traceback (most recent call last):
  File "/Users/adcp_user/anaconda3/envs/pycodas/lib/python3.7/site-packages/pycurrents-0.0.0-py3.7-macosx-10.9-x86_64.egg/pycurrents/adcpgui_qt/presenter/connection_widget_signal_slot.py", line 83, in <lambda>
    thresholds, asciiNpaths_container, CD))
  File "/Users/adcp_user/anaconda3/envs/pycodas/lib/python3.7/site-packages/pycurrents-0.0.0-py3.7-macosx-10.9-x86_64.egg/pycurrents/adcpgui_qt/lib/qtpy_widgets.py", line 661, in func_wrapper
    func(controlWin, *args, **kwargs)
  File "/Users/adcp_user/anaconda3/envs/pycodas/lib/python3.7/site-packages/pycurrents-0.0.0-py3.7-macosx-10.9-x86_64.egg/pycurrents/adcpgui_qt/presenter/slots.py", line 992, in OnRefreshPanel
    colorPlotWindow, topoMapWindow, txyCursors)
  File "/Users/adcp_user/anaconda3/envs/pycodas/lib/python3.7/site-packages/pycurrents-0.0.0-py3.7-macosx-10.9-x86_64.egg/pycurrents/adcpgui_qt/presenter/intercommunication.py", line 1098, in refresh_colorplot_txycursors
    topoMapWindow.toolbar.home()
  File "/Users/adcp_user/anaconda3/envs/pycodas/lib/python3.7/site-packages/pycurrents-0.0.0-py3.7-macosx-10.9-x86_64.egg/pycurrents/adcpgui_qt/view/topo_map_window.py", line 92, in home
    self.parent.reset_xy_lims()
AttributeError: 'QWidget' object has no attribute 'reset_xy_lims'
zsh: abort      dataviewer.py