Environment Information
{
"version": "1.0.6a5",
"c_extensions present": [
"cprobability",
"cmoment_tensor_conversion"
],
"platform": "darwin",
"num_threads": 4,
"python version": "3.7.4 (default, Aug 13 2019, 15:17:50) \n[Clang 4.0.1 (tags/RELEASE_401/final)]",
"python version info": [
3,
7,
4,
"final",
0
],
"dependency info": {
"numpy": "1.17.2",
"scipy": "1.3.1",
"matplotlib": "3.1.1",
"cython": "0.29.13",
"sphinx": "2.2.0",
"h5py": "2.9.0"
}
}
What error you are getting
1
python setup.py build-docs
invalid command name 'build-docs'
2.
python setup.py testFAILED (errors=1)Test failed: <unittest.runner.TextTestResult run=1 errors=1 failures=0>error: Test failed: <unittest.runner.TextTestResult run=1 errors=1 failures=0> 3.
import MTfit
MTfit.run_tests()
Traceback (most recent call last): File "", line 1, in AttributeError: module 'MTfit' has no attribute 'run_tests'
What behavior you would expect
I did not have any error for installing. I created the c files with cython on the src directory and I can import MTfit correctly in terminal and python scipt. But in python it is not recognized aby atribute (eg. MTfit.run() , inversion=MTfit.Inversion(*args,**kwargs) , etc. )
Reproduction steps
What do we need to do to reproduce the issue?
just in a python enviroment write import MTfit and then try to call any attribute MTfit.run_tests()
Environment Information
{
"version": "1.0.6a5",
"c_extensions present": [
"cprobability",
"cmoment_tensor_conversion"
],
"platform": "darwin",
"num_threads": 4,
"python version": "3.7.4 (default, Aug 13 2019, 15:17:50) \n[Clang 4.0.1 (tags/RELEASE_401/final)]",
"python version info": [
3,
7,
4,
"final",
0
],
"dependency info": {
"numpy": "1.17.2",
"scipy": "1.3.1",
"matplotlib": "3.1.1",
"cython": "0.29.13",
"sphinx": "2.2.0",
"h5py": "2.9.0"
}
}
What error you are getting
1
python setup.py build-docs
invalid command name 'build-docs'
2.
python setup.py testFAILED (errors=1)Test failed: <unittest.runner.TextTestResult run=1 errors=1 failures=0>error: Test failed: <unittest.runner.TextTestResult run=1 errors=1 failures=0> 3.
What behavior you would expect
I did not have any error for installing. I created the c files with cython on the src directory and I can import MTfit correctly in terminal and python scipt. But in python it is not recognized aby atribute (eg. MTfit.run() , inversion=MTfit.Inversion(*args,**kwargs) , etc. )
Reproduction steps
What do we need to do to reproduce the issue?
just in a python enviroment write import MTfit and then try to call any attribute MTfit.run_tests()