Segmentation error when importing pylab in python script

I installed Ubuntu 8.10. I am using python 2.6.4. I installed the following packages

networkx 1.0rc1 matplotlib 0.99.1.2 scipy 0.7.1 numpy 1.3

when I write the following instruction in my code

import pylab

Also this statement gives a segmentation error

import matplotlib.pyplot as plt

I get a segmentation error. What am I doing? The same code works fine on my windows machine.

+3
source share
1 answer

python gdb. stacktrace () . , . ubuntu, , - ubuntu , .

+1

Source: https://habr.com/ru/post/1733907/


All Articles