MPBA / pyphysio

GNU General Public License v3.0
47 stars 13 forks source link

ModuleNotFoundError: No module named 'approx' #53

Closed mmi-tonicapo closed 6 years ago

mmi-tonicapo commented 6 years ago

Hello I am trying to use your library to analyse biosignals data. I installed it according to instructions but I keep having this error message : File "main.py", line 10, in import pyphysio as ph File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/pyphysio/init.py", line 23, in from .tests import TestData File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/pyphysio/tests/init.py", line 13, in import approx as approx ModuleNotFoundError: No module named 'approx'

I must say I'm new at using Python. Can you help me with this issue? Thank you!

andbiz commented 6 years ago

Hi!

This is probably due to a wrong version of the pytest library. Please try installing it from command line, e.g. using pip: $ pip install pytest

mmi-tonicapo commented 6 years ago

Thank you for the help. It worked!

andbiz commented 6 years ago

Glad it helped. I am closing the issue.

Please also consider using the develop-andrea branch which is more updated. We plan to merge it in the master branch asap.