fenics 无法在 Ubuntu 16.04.5 LTS 上卸载

fenics 无法在 Ubuntu 16.04.5 LTS 上卸载

我想在我的系统上删除并重新安装 fenics 软件。按照,我尝试仅删除 fenics(因为我不确定如果删除依赖包会发生什么)

sudo apt-get remove fenics

但是当我转到我的 ipython3 /python3 控制台并执行from fenics import *进一步输入时DOLFIN_EPS,我仍然得到输出,就好像 fenics 根本没有被卸载一样。

当我再次运行该命令时sudo apt-get remove fenics,我收到以下消息:

Reading package lists... Done
Building dependency tree       
Reading state information... Done
Package 'fenics' is not installed, so not removed
The following packages were automatically installed and are no longer required:
  dolfin-bin dolfin-doc isympy libaec-dev libaec0 libamd2.4.1 libarpack2 libarpack2-dev libblacs-mpi-dev
  libblacs-openmpi1 libblas-dev libboost-chrono-dev libboost-filesystem-dev libboost-iostreams-dev
  libboost-math-dev libboost-mpi-dev libboost-serialization-dev libboost-timer-dev libbtf1.2.1 libcamd2.4.1
  libccolamd2.9.1 libcholmod3.0.6 libcsparse3.1.4 libcxsparse3.1.4 libdolfin-dev libdolfin2017.2
  libdolfin2018.1 libeigen3-dev libfftw3-mpi-dev libfftw3-mpi3 libhdf5-mpi-dev libhdf5-openmpi-10
  libhdf5-openmpi-dev libhypre-2.8.0b libhypre-dev libjpeg-dev libjpeg-turbo8-dev libjpeg8-dev libklu1.3.3
  liblapack-dev libldl2.2.1 libmshr-dev libmshr2017.2 libmumps-4.10.0 libmumps-dev libparpack2 libparpack2-dev
  libpetsc3.7-dev libpetsc3.7.3 libpetsc3.7.3-dev libproj-dev libproj9 libptscotch-5.1 libptscotch-dev
  libscalapack-mpi-dev libscalapack-openmpi1 libscotch-5.1 libscotch-dev libslepc3.7.2 libslepc3.7.2-dev
  libspooles-dev libspooles2.2 libspqr2.0.2 libssl-dev libsuitesparse-dev libsuperlu-dev libsuperlu4 libsz2
  libumfpack5.7.1 libxml2-dev mpi-default-bin mshr-demos proj-data pybind11-dev python-dijitso python-dolfin
  python-ffc python-fiat python-instant python-mpi4py python-mpmath python-mshr python-petsc4py python-ply
  python-slepc4py python-subprocess32 python-sympy python-ufl python3-cycler python3-dateutil python3-dijitso
  python3-dolfin python3-ffc python3-fiat python3-instant python3-mpi4py python3-mpmath python3-mshr
  python3-petsc4py python3-pkgconfig python3-pybind11 python3-slepc4py python3-sympy python3-tz python3-ufl
  swig swig3.0
Use 'sudo apt autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 58 not upgraded.

如前所述,我不知道 autoremove 是否会删除我用于其他工具的库,我不想执行该命令。

有人知道可能出了什么问题吗?

边注:我想进行全新安装,因为我需要将 matplotlib 从版本 1.3.1 更新到版本 3.0.3,之后 fenics 无法正常工作。

任何帮助都值得感激。谢谢

相关内容