Giter VIP home page Giter VIP logo

Comments (6)

grantbrown avatar grantbrown commented on July 20, 2024

The older versions of laspy are still available on PyPi, and of course every change is saved on GitHub. You can install a specific version by using Pip.

With that being said, I would expect performance issues and bugs when using 1.2.5 with Python 3.

Unfortunately, I don't have the time to overhaul laspy for Python 3 compatibility, but will consider pull requests which implement it (so long as they don't break 2.7). It looks like GeospatialPython has made some progress on this front, though they've also made other changes I'm not sure we want to merge.

from laspy.

hobu avatar hobu commented on July 20, 2024

Is it because the laspy in the fork I am using is just compatible with python 3.4 and not 3.5?

Yep.

There is effort ongoing for Python 3 compatibility #45 but it is not complete. I don't think it would be so much more effort to push it across the line, but I don't know the details of what exactly is left to do.

from laspy.

umbe1987 avatar umbe1987 commented on July 20, 2024

@hobu Thanks for the response. This explains my errors. Anyway, really looking forward to see any improvement in the python 3 compatibility. I'd like to help, but I saw there are issues in the tests and unfortunately I don't even know how to perform "a test"... Again, thanks. Really appreciate the effort in this valuable package!

from laspy.

umbe1987 avatar umbe1987 commented on July 20, 2024

Just tried to install the GeospatialPython fork against a Python34 install. Still receiving the same error when building:

Traceback (most recent call last):
  File "setup.py", line 4, in <module>
    import laspy
  File "C:\umberto\laspy\geospatial_fork\laspy-master\laspy\__init__.py", line 3
, in <module>
    import base
ImportError: No module named 'base'

I'm on a Windows 7 machine, and I am trying to build via a cmd shell with admin privilege by:

cd [LASPY-PATH]
python setup.py build

from laspy.

umbe1987 avatar umbe1987 commented on July 20, 2024

Also, if I add 'laspy' to pythonpath, I can import laspy, but not all other submodules of it (e.g. import laspy works, but from laspy import file doesn't (No module named 'file'))

from laspy.

umbe1987 avatar umbe1987 commented on July 20, 2024

I ended up using the 'python3' branch from the 'davidcaron' fork (this one) and it actually installed correctly against my python 35 installation. Also, I tested my code and it worked. It might be buggy but I will use (test) this version until an official release compatible with python 3 will come out. Thanks for this very useful tool!

from laspy.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.