gboehl/pydsge

`from pydsge import *` generates an error

spring-haru opened this issue · 2 comments

from pydsge import * generates the following error:

---------------------------------------------------------------------------
ImportError                               Traceback (most recent call last)
Input In [15], in <cell line: 1>()
----> 1 from pydsge import *

File ~/opt/anaconda3/envs/test/lib/python3.10/site-packages/pydsge/__init__.py:4, in <module>
      1 #!/bin/python
      2 # -*- coding: utf-8 -*-
----> 4 import logging
      5 import os
      6 import numpy as np

ImportError: cannot import name 'sort_nhd' from 'pydsge.stats' (/Users/.../opt/anaconda3/envs/test/lib/python3.10/site-packages/pydsge/stats.py)

I installed pydsge by running

pip install git+https://github.com/gboehl/grgrlib
pip install git+https://github.com/gboehl/econsieve
pip install git+https://github.com/gboehl/emcwrap
pip install git+https://github.com/gboehl/pydsge

Somehow the error is gone. Thanks.

Sorry, I saw this too late. Happy that it dissappeared. The development versions may sometimes contain errors that are fixed on the fly. Anyways, thanks for reporting!