-
Notifications
You must be signed in to change notification settings - Fork 27
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
trouble running unit tests #4
Comments
Hi, I am using anaconda on windows. Cloned the repository with: Then I did the recommended install: Successfully built nempy Looks good to me. Then the pytest thing failed: (nempyenv) C:\work\nempy\nempy>python -m pytest ======================================================= ERRORS ======================================================== (nempyenv) C:\work\nempy\nempy> Maybe a library is missing in the requirements? |
Thanks @noah80, Also, which version of python are you using? Can you try updating to the newest version of pytest? currently nempy asks for 6.0.1 but maybe that doesn't work with all setups |
Python 3.10.0 Pytest 6.0.1 Any ideas what I could try? As I said it's a fresh anaconda installation with a fresh virtual enviroment. |
OK, yep so this is an issue specific to Python version 3.10, see stackoverflow below: Try updating pytest to 6.2.5 or above. If that works, I'll update the nempy requirements so that pytest version 6.2.5 gets installed when you run pip install e .[dev] |
Thanks! Now it works. So you need to add pytest 6.2.5 to your requirements? Next problem: (nempyenv) C:\work\nempy\nempy\examples>python all_features_example.py Looks like plotly is missing in your requirements? |
Excellent, yes, I'll update the requirements for the dev install. I've created a separate issue with regards to the plotly error. |
Updated dev install requirements in release v1.1.1 |
Hi @noah80, You reported having trouble running the unit tests, could you please provide some details?
The text was updated successfully, but these errors were encountered: