← 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: Answered => Open

Andres Escobar is still having a problem:
Thank you for your answer, It was a type, yet I had the same outcome:

(base) utilisateur_01@GRP3854-L01:~$ yade
Welcome to Yade 2020.01a 
Using python version: 3.8.5 (default, Jul 28 2020, 12:59:40) 
[GCC 9.3.0]
TCP python prompt on localhost:9000, auth cookie `ckssay'
XMLRPC info provider on http://localhost:21000
[[ ^L clears screen, ^U kills line. F12 controller, F11 3D view (press "h" in 3D view for help), F10 both, F9 generator, F8 plot. ]]

In [1]: import scipy                                                            
---------------------------------------------------------------------------
ModuleNotFoundError                       Traceback (most recent call last)
/usr/bin/yade in <module>
----> 1 import scipy

ModuleNotFoundError: No module named 'scipy'


While trying to apply your solution, I cannot install scipy "globally" as I get a message telling me that there is another source for this: 

(base) utilisateur_01@GRP3854-L01:~$ sudo apt install python-scipy
[sudo] Mot de passe de utilisateur_01 : 
Lecture des listes de paquets... Fait
Construction de l'arbre des dépendances       
Lecture des informations d'état... Fait
Aucune version du paquet python-scipy n'est disponible, mais il existe dans la base
de données. Cela signifie en général que le paquet est manquant, qu'il est devenu obsolète
ou qu'il n'est disponible que sur une autre source

E: Le paquet « python-scipy » n'a pas de version susceptible d'être installée
 
Sorry that it is in French. Hence I as I can not install scipy globally, I think I should try to uninstall Anaconda and try again.

Thank you very much for your support :)

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