Comments (6)
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.
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.
@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.
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.
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.
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)
- migrate to urllib3 2.0 HOT 2
- Classification in laspy doesn't match with lasinfo HOT 6
- Reclassification of a COPC file HOT 5
- Allow for writing a custom creation date HOT 1
- append_points() function has size limit at approximately 15.1GB? HOT 3
- Ability to read COPC from fsspec sources HOT 2
- LAS/LAZ Header from Remote Source HOT 2
- laszip installation in ubuntu HOT 2
- Append data points to existing LAS file with header that contains extra dimensions. HOT 5
- List of 0 issue HOT 3
- Tests fail: ModuleNotFoundError: No module named 'laspy.cli.core' HOT 11
- laspy installs the 'tests' module globally that would conflict with other packages that accidentally do the same
- The 'rich' dependency is not listed in setup.py HOT 1
- Header update API? HOT 1
- AttributeError: module 'laspy' has no attribute 'read' HOT 7
- Provide pre-built wheels HOT 4
- Conda Forge test failures with Numpy 1.22 + Python 3.9 HOT 6
- Multiple point clouds structure in one LAS file HOT 2
- LAS / LAZ Shuffle in custom attributes in QGIS HOT 7
- Empty string input parse_crs() should result in a None return, but instead a CRSError is thrown in pyproj HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from laspy.