Привет У меня есть несколько python скриптов, которые работают на одном компьютере, но когда я запускаю его на другом, возникают проблемы. Например:
line 53, in <module>
plt.plot([1, 10],[2, 2], c=cfg._sections['colors'].get('help_line'), ls=cfg._sections['styles'].get('help_lines'), lw=cfg._sections['styles'].get('lines'))
File "/usr/lib/python3/dist-packages/matplotlib/pyplot.py", line 3261, in plot
ret = ax.plot(*args, **kwargs)
File "/usr/lib/python3/dist-packages/matplotlib/__init__.py", line 1718, in inner
return func(ax, *args, **kwargs)
File "/usr/lib/python3/dist-packages/matplotlib/axes/_axes.py", line 1372, in plot
for line in self._get_lines(*args, **kwargs):
File "/usr/lib/python3/dist-packages/matplotlib/axes/_base.py", line 404, in _grab_next_args
for seg in self._plot_args(this, kwargs):
File "/usr/lib/python3/dist-packages/matplotlib/axes/_base.py", line 394, in _plot_args
seg = func(x[:, j % ncx], y[:, j % ncy], kw, kwargs)
File "/usr/lib/python3/dist-packages/matplotlib/axes/_base.py", line 301, in _makeline
seg = mlines.Line2D(x, y, **kw)
File "/usr/lib/python3/dist-packages/matplotlib/lines.py", line 396, in __init__
self.set_linestyle(linestyle)
File "/usr/lib/python3/dist-packages/matplotlib/lines.py", line 1121, in set_linestyle
self._us_dashOffset, self._us_dashSeq, self._linewidth)
File "/usr/lib/python3/dist-packages/matplotlib/lines.py", line 69, in _scale_dashes
scaled_offset = offset * lw
TypeError: can't multiply sequence by non-int of type 'float'
Что это значит? Спасибо