-
Notifications
You must be signed in to change notification settings - Fork 4
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
Ndd library can't run . No 'ndd.fnsb' file #2
Comments
Hi, Can you run it and paste here the output? |
Sorry, I can't access this site. |
No problem. This is the script: # -*- coding: utf-8 -*-
"""System info"""
import platform
import sys
import numpy
import subprocess
print(
"""
platform:
%s
architecture:
%s, %s
Python:
%s
NumPy:
%s
gfortran:
%s
""" % (
platform.platform(),
platform.architecture(), sys.maxsize > 2**32,
sys.version,
numpy.__version__,
subprocess.run(['gfortran', '-v'], stderr=subprocess.PIPE).stderr.decode(),
)
) |
OK,This is the parameter of my system.
COLLECT_GCC=gfortran Am I lacking the conditions for running the NDD library? |
This looks like a windows-related issue (the package is not tested under windows). I think it can be solved.
|
Please download the python wheel ndd-1.4.1-cp37-cp37m-win_amd64.whl from this repo: https://github.com/simomarsili/ndd-wheels Install it using pip:
the wheel contains the ndd package with compiled extensions for Windows. |
try to update your numpy version: |
Hello, the test_basic.py file in the test folder runs error.
![error code](https://user-images.githubusercontent.com/50904996/61793893-9a40cc80-ae52-11e9-9d2e-a2ff0a41cec9.png)
ModuleNotFoundError: No module named 'ndd.fnsb'
Calculating the entropy using ndd alone will also report an error.
ModuleNotFoundError: No module named 'ndd.fnsb'
I don't know how to solve this problem, I hope I can get your help. Thank you for answering my question.
The text was updated successfully, but these errors were encountered: