davidcaron / pye57

Read and write e57 point clouds from Python
MIT License
71 stars 41 forks source link

can not install in python 3.11 #48

Closed mcmingchang closed 9 months ago

mcmingchang commented 10 months ago

can not install in python 3.11

dancergraham commented 10 months ago

Hello, Cloning the repo and following the steps described in this issue might help https://github.com/davidcaron/pye57/issues/38

mcmingchang commented 10 months ago

adding license file 'LICENSE' writing manifest file 'src\pye57.egg-info\SOURCES.txt' error: Error: setup script specifies an absolute path:

      C:\Users\klarity\Downloads\pye57\libE57Format\src\BlobNodeImpl.cpp

  setup() arguments must *always* be /-separated paths relative to the
  setup.py directory, *never* absolute paths.
mcmingchang commented 10 months ago

I was facing the same error and fixed it by commenting out include_package_data=True in module setup.py

itsb commented 10 months ago

I ended up keeping include_package_data=True but changed setup.py to use relative paths as the errors suggested. I also updated setup.py to use the xerces dll from the conda environment, so I did not need to build that from source. I built a wheel for python 3.11 from my conda env that I use in my conventional pip venv. I published the wheel at: https://github.com/itsb/pye57/releases/tag/pye57-py311