Closed dav-og closed 2 years ago
I have not been able to install meshmagick
via conda
for a while. I guess this is because I'm using conda v4.10.1. It seems this is a known issue (https://lheea.github.io/meshmagick/install/install.html#installing-with-conda), as the docs recommend using v4.2?
I've been using pip
, e.g.,:
conda install <all the requirements>
pip install git+https://github.com/LHEEA/meshmagick.git@2.1.1
Are there any plans to fix this? It would be great if meshmagick was in PyPi so that you could do pip install meshmagick
. It not being in PyPi is also an issue when trying to include it in another package (I couldn't figure out how to include meshmagick in the setup.cfg file).
I'm trying to install Meshmagick through
> git clone https://github.com/LHEEA/meshmagick
> cd meshmagick
> pip install -e .
as suggested by @dav-og. Installation is successful, however, when trying to run it, I'm getting this message:
ModuleNotFoundError: No module named 'vtkCommonCorePython'
Is there anything else I can try?
@kasia129 Which Python version are you using? I had a similar problem while trying to use Python 3.10. VTK is still not available for Python 3.10 and I had to downgrade it to Python 3.9. Creating a clean Python 3.9 environment and then installing meshmagick worked for me.
I've also seen this error - I'm using 3.7 👍 Apologies for missing that out in the other post ;)
I had Python 3.7 - I have now setup a new environment with Python 3.9 and it worked the magic! Thanks a lot for the advice.
After following the recommended installation method:
Importing the mesh module results in the following error:
Some colleagues have also reported that
pip install meshmagick
is returning"No matching distribution found"
Hence, it seems like the meshmagick versions available via conda/pip are not up to date.
The current installation approach we are working with is:
Then, if you intend to modify the source code:
if not: