← Back to team overview

yade-users team mailing list archive

Re: [Question #693995]: Cant import scipy.stats

 

Question #693995 on Yade changed:
https://answers.launchpad.net/yade/+question/693995

    Status: Open => Answered

Jan Stránský proposed the following answer:
your python:
> Python 3.8.3 (default, Jul 2 2020, 16:21:59)
your yade:
> Using python version: 3.8.5 (default, Jul 28 2020, 12:59:40)

you have different python versions, obviously without shared scipy

> I did install it last through anaconda if I remember well. I use
python with Spyder, and sometimes with the terminal.

probably because of this

The solution is to install scipy for the Python, which Yade is using.
The easiest way is
sudo apt install python-scipy
which install scipy "globally" (with all pros and cons)

cheers
Jan

-- 
You received this question notification because your team yade-users is
an answer contact for Yade.