Comments (2)
How can I reproduce this?
Do you use conda?
Which python version?
Which package version?
Do you want have a minimum code snippet to repro?
from copulae.
@DanielBok I get this too if I install copulae from source.
copulae 0.7.7, python 3.8.10, macos + linux
$ git clone https://github.com/DanielBok/copulae.git
$ cd copulae
$ pip install -r build-requirements.txt
$ pip install .
$ python -c "import copulae"
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/Users/cmarsh/Documents/science/code/copulae/copulae/__init__.py", line 1, in <module>
from copulae.archimedean import *
File "/Users/cmarsh/Documents/science/code/copulae/copulae/archimedean/__init__.py", line 1, in <module>
from .clayton import ClaytonCopula
File "/Users/cmarsh/Documents/science/code/copulae/copulae/archimedean/clayton.py", line 4, in <module>
from copulae.copula import Summary, TailDep
File "/Users/cmarsh/Documents/science/code/copulae/copulae/copula/__init__.py", line 1, in <module>
from .base import *
File "/Users/cmarsh/Documents/science/code/copulae/copulae/copula/base.py", line 8, in <module>
from copulae.copula.estimator import EstimationMethod, fit_copula
File "/Users/cmarsh/Documents/science/code/copulae/copulae/copula/estimator/__init__.py", line 1, in <module>
from .estimator import fit_copula, EstimationMethod
File "/Users/cmarsh/Documents/science/code/copulae/copulae/copula/estimator/estimator.py", line 8, in <module>
from copulae.stats import pearson_rho
File "/Users/cmarsh/Documents/science/code/copulae/copulae/stats/__init__.py", line 3, in <module>
from .stable.stable import skew_stable
File "/Users/cmarsh/Documents/science/code/copulae/copulae/stats/stable/stable.py", line 7, in <module>
from copulae.special.trig import tanpi2
File "/Users/cmarsh/Documents/science/code/copulae/copulae/special/__init__.py", line 2, in <module>
from .special_func import *
File "/Users/cmarsh/Documents/science/code/copulae/copulae/special/special_func.py", line 7, in <module>
from copulae.special.dilog import dilog, dilog_complex
File "/Users/cmarsh/Documents/science/code/copulae/copulae/special/dilog.py", line 3, in <module>
from ._specfunc import dilog as _dilog, dilog_complex as _dilog_complex
ModuleNotFoundError: No module named 'copulae.special._specfunc'
If, instead, I do
$ python setup.py bdist_wheel
$ cd dist
$ pip install copulae-0.7.7-cp310-cp310-macosx_12_0_arm64.whl
$ python -c "import copulae"
it then works as expected. It's not clear to me why the bdist_wheel
step is needed, as pip indicates it is building a wheel
from copulae.
Related Issues (20)
- Copula Fit Replication with SAS using Uniform Marginals HOT 2
- Error after update HOT 2
- Designation of p_obs does not affect the fit HOT 2
- the summary( ) got converging error HOT 2
- Python 3.6 not supported? HOT 4
- How to Inverse Normalisation?[Quantile Function] HOT 2
- Fixing Correlation Matrix if copulae.fit() HOT 2
- test_gmc failures HOT 1
- Feature Request - Plot a copula
- Gaussian Mixture Copula Model gives wrong sampling
- Frank and Gaussian Copula give Error
- PEP 517 builds HOT 1
- Ver 0.7.7 - Kendall Tau not supported for Student Copula HOT 1
- Fit Summary HOT 1
- Support for discrete marginals
- Thank you! HOT 2
- An error occurred while importing copulae HOT 2
- GitHub project documentation link is broken HOT 1
- Reference for gaussian mixture copula
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 copulae.