python error: no module named pylab

后端 未结 7 1457
北海茫月
北海茫月 2020-12-12 16:12

I am new to Python and want to use its plot functionality to create graphs. I am using ubuntu 12.04. I followed the Python installation steps from http://eli.th

7条回答
  •  感情败类
    2020-12-12 16:37

    What you've done by following those directions is created an entirely new Python installation, separate from the system Python that is managed by Ubuntu packages.

    Modules you had installed in the system Python (e.g. installed via packages, or by manual installation using the system Python to run the setup process) will not be available, since your /usr/local-based python is configured to look in its own module directories, not the system Python's.

    You can re-add missing modules now by building them and installing them using your new /usr/local-based Python.

提交回复
热议问题