Comments (10)
from ndd.
Hi,
this is small script that collects some info on your system:
https://gist.github.com/simomarsili/dcadc9a4e8ceff9043bcc56c540479cf
Can you run it and paste here the output?
Thank you
from ndd.
Sorry, I can't access this site.
Can you send this script to my mailbox?
My mail address is [email protected]
Thank you very much for your help.
from ndd.
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(),
)
)
from ndd.
OK,This is the parameter of my system.
platform:
Windows-10-10.0.17763-SP0
architecture:
('64bit', 'WindowsPE'), True
Python:
3.6.7rc1 (v3.6.7rc1:311101f7b6, Sep 26 2018, 16:33:24) [MSC v.1900 64 bit (AMD64)]
NumPy:
1.13.1
gfortran:
Using built-in specs.
COLLECT_GCC=gfortran
COLLECT_LTO_WRAPPER=d:/gfoetran/gfortran/bin/../libexec/gcc/mingw32/4.10.0/lto-wrapper.exe
Target: mingw32
Configured with: ../gcc-trunk/configure --prefix=/mingw --enable-languages=c,fortran,lto --with-gmp=/home/brad/gfortran/dependencies --disable-werror --enable-threads --enable-nls --build=i586-pc-mingw32 --enable-libgomp --enable-shared --disable-win32-registry --with-dwarf2 --disable-sjlj-exceptions --enable-lto --build=mingw32 --enable-version-specific-runtime-libs : (reconfigured) ../gcc-trunk/configure --prefix=/mingw --enable-languages=c,fortran,lto --with-gmp=/home/brad/gfortran/dependencies --disable-werror --enable-threads --enable-nls --build=i586-pc-mingw32 --enable-libgomp --enable-shared --disable-win32-registry --with-dwarf2 --disable-sjlj-exceptions --enable-lto --build=mingw32 --enable-version-specific-runtime-libs
Thread model: win32
gcc version 4.10.0 20140629 (experimental) [trunk revision 212119] (GCC)
Am I lacking the conditions for running the NDD library?
from ndd.
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.
- In the package installation dir:
C:\SSD\python3.6.7\lib\site-packages\ndd
check if you have a .libs directory. - In the .libs directory, you should find a .dll file.
Copy this file to the ndd directory (the installation dir). - Finally, try to import ndd (python -c "import ndd") and paste here any error message
from ndd.
Because I can't use pip to install ndd.
Ndd directory only you upload to github program, did not find .dlls directory and .dll files.
The reasons for the error are as follows:
ERROR: Command errored out with exit status 1: 'C:\SSD\python3.6.7\python.exe' -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\Users\cyt\AppData\Local\Temp\pycharm-packaging\ndd\setup.py'"'"'; file='"'"'C:\Users\cyt\AppData\Local\Temp\pycharm-packaging\ndd\setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(file);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' install --record 'C:\Users\cyt\AppData\Local\Temp\pip-record-t8bcckrr\install-record.txt' --single-version-externally-managed --compile Check the logs for full command output.
from ndd.
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:
pip install ndd-1.4.1-cp37-cp37m-win_amd64.whl
the wheel contains the ndd package with compiled extensions for Windows.
This should work. Let me know.
Bye
from ndd.
Sorry, I have not been able to respond to your information in time because of some things.
I have installed the new ndd library.But still have previous problems.
The contents of python -c "import ndd" are as follows:
ModuleNotFoundError: No module named 'ndd.fnsb'
from ndd.
try to update your numpy version:
pip install -U numpy
from ndd.
Related Issues (5)
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 ndd.