0

Hi I'm a Python newbie trying to program python using pymesh library but I cant get it to install properly. Accordijng to attached image I have installed it, and the package says its for 3.8.x and I have python 3.8.2 installed. pymesh installation instructions (https://pymesh.readthedocs.io/en/latest/installation.html) say to run a test after installing the package. The test fails.

(work) (base) D:\Downloads\HoleCutter>python -c "import pymesh; pymesh.test()"
Traceback (most recent call last):
  File "<string>", line 1, in <module>
AttributeError: module 'pymesh' has no attribute 'test'

I dont have the resources/capability to 'build packages with cmake' screen snap from command prompt window

2 Answers2

1

The reason is the PyMesh library isn't kept up to date on PIP, instead you have to use Docker or compile it yourself. This problem is covered by the following issue on Github, however no action has been taken for years: https://github.com/PyMesh/PyMesh/issues/94

Coco Cat
  • 29
  • 3
-2

Have you tried "pip install pymesh" or "pipx.x install pymesh"? I think the instructions in the link you provided are for Linux and Mac OS. You can look at this link: ImportError: No module named PyMesh

CoderCat
  • 22
  • 4
  • "Pip install pymesh" installs an entirely different library than the one the user is looking for – MaVCArt May 28 '21 at 13:56