nschloe / meshio

:spider_web: input/output for many mesh formats

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[BUG] meshio not found after install

JamesCreasyBT opened this issue · comments

The bug is meshio is not accessible as described after install.

$ pip install meshio
Defaulting to user installation because normal site-packages is not writeable
Requirement already satisfied: meshio in /usr/lib/python3/dist-packages (1.11.7)

I try:

$ meshio --version
meshio: command not found

To Reproduce
Ubuntu 18.04. Python 3.9 is installed but not aliased to python3 as that breaks my terminal.
Install meshio using

$ pip install meshio

now try running a command:

$ meshio --version

Note that the response is:

meshio: command not found

Where I instead expected meshio to return its version, or at least return an error about bad arguments. Instead, the system seems not to be able to find meshio:

$ which meshio
$

$ locate meshio
$

Diagnose
I may ask you to cut and paste the output of the following command.

pip freeze | grep meshio

$ pip freeze | grep meshio
meshio==1.11.7

Did I help?

Not yet.

If I was able to resolve your problem, consider sponsoring my work on meshio, or buy me a coffee to say thanks.

I will!

There are many possible issues, which are coupled:

  • Your meshio version is (now) more than six years old
  • You did not use pip3 or python3.9 -m pip to install the package,
  • Old pip(3) version
  • Depending on your Ubuntu setup, it could be that the location of the python3 binaries is not in your system PATH