Remove all previous versions of python

前端 未结 1 540
终归单人心
终归单人心 2021-01-02 21:39

I have some experience with C++ and Fortran, and I want to start using python for my post-processing as I am starting to realise how i

相关标签:
1条回答
  • 2021-01-02 22:01

    Do not uninstall your system's Python interpreter (Python 2.7 most probably). You might consider uninstalling the other version (Python 3.5 most probably), but I do not think you really need to do that (it may not be a bad idea to keep a system-wide Python 3 interpreter... who knows!).

    If you want a clean state I would recommend you to use virtual environments for now on. You have two options:

    • Use virtualenv and pip to setup your virtual environments and packages. However, using pip means you will have to compile the packages that need compilation (numpy, matplotlib and many other scientific Python packages that you may use for your "post-processing").
    • Use Conda (or Miniconda). This way you will be able to handle virtual environments but without having to compile Python packages yourself. Conda also allows you to handle different Python interpreters without the need of having them installed in your system (it will download them for you).

    Also, you say you are feeling MATLAB is inefficient for plotting millions of points. I do not know your actual needs/constraints, but I find Matplotlib to be very inefficient for plotting large data and/or real-time data.

    Just as a suggestion, consider using PyQtGraph. If you still feel that is not fast enough, consider using VisPy (probably less functional/convenient at the moment, but more efficient).

    0 讨论(0)
提交回复
热议问题