Невозможно импортировать pyplot matplotlibPython

Программы на Python
Ответить
Anonymous
 Невозможно импортировать pyplot matplotlib

Сообщение Anonymous »

Я не могу импортировать pyplot. Как устранить ошибку?
>>> from matplotlib import pyplot
Jul 16 12:49:46 Python[35767] : Set a breakpoint at CGSLogError to catch errors as they are logged.
Jul 16 12:49:46 Python[35767] : On-demand launch of the Window Server is allowed for root user only.
Jul 16 12:49:46 Python[35767] : CGSLookupServerRootPort: Failed to look up the port for "com.apple.windowserver.active" (268435459)
Jul 16 12:49:46 Python[35767] : On-demand launch of the Window Server is allowed for root user only.
Jul 16 12:49:46 Python[35767] : CGSLookupServerRootPort: Failed to look up the port for "com.apple.windowserver.active" (268435459)
Jul 16 12:49:46 Python[35767] : This user is not allowed access to the window system right now.
_RegisterApplication(), unable to get application ASN from launchservicesd, and this application requires an ASN, so aborting. error=#-1.
Abort trap: 6


Подробнее здесь: https://stackoverflow.com/questions/451 ... lib-pyplot
Ответить

Быстрый ответ

Изменение регистра текста: 
Смайлики
:) :( :oops: :roll: :wink: :muza: :clever: :sorry: :angel: :read: *x)
Ещё смайлики…
   
К этому ответу прикреплено по крайней мере одно вложение.

Если вы не хотите добавлять вложения, оставьте поля пустыми.

Максимально разрешённый размер вложения: 15 МБ.

Вернуться в «Python»