Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

run issues as .ipndb #2

Open
room101-dev opened this issue May 12, 2022 · 2 comments
Open

run issues as .ipndb #2

room101-dev opened this issue May 12, 2022 · 2 comments

Comments

@room101-dev
Copy link

room101-dev commented May 12, 2022

1,) welly is not installed in the pyndb, should have been added to the install, the point of pyndb files is that everything is supposed to be self-contained

2.) dt_ds.smooth(), has no smooth function, there is a despike() for dt

appears that example requires a specific version of the welly library, and the pandas and lasio; not the current version, or this test version

3.) w.df()
AttributeError: 'DataFrame' object has no attribute 'dtype'

The pandas is also broken.

@room101-dev
Copy link
Author

lasio==0.25.1
pandas==0.24.2
las==0.0.3

using pip install -r requirements.txt on the above lines got most stuff working, seems that poster forgot to attach the requirements.txt, or doesn't know how to generate one for his project
there is lots of similar code on github doing same stuff, I found working example at
https://github.com/raquelsilva/pytie/blob/master/requirements.txt

@room101-dev
Copy link
Author

You can also generate a Python requirements.txt file directly from the command line with:

pip freeze > requirements.txt

...

using a working case generate the file as above, and post in your github page so that people can actually run your software, as shown in your example post, this is a major problem with python, we must be using the same exact library version that you are using.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant