简体   繁体   English

无法使用Anaconda-Python导入scitools

[英]Cannot import scitools using Anaconda-Python

I am trying to install scitools with the hope of being able to use Easyviz. 我正在尝试安装scitools ,希望能够使用Easyviz。 I installed scitools for windows as suggested in the first link. 我按照第一个链接中的建议安装了Windows的scitools。 However, when I type from scitools.std import * into python I get the following error message: 但是,当我from scitools.std import *输入python时,出现以下错误消息:

ImportError: No module named oldnumeric.mlab
numpy import failed!
see doc of scitools.numpytools module for how to choose Numeric instead

This was discussed here and categorized as fixed, however I don't see how I can make this work or how to fix it. 这里讨论了这个问题并将其归类为“固定”,但是我看不到如何进行这项工作或如何对其进行修复。 Is there something I am supposed to do to make this work? 我应该做些什么使这项工作吗?

I encountered the same issue on Ubuntu 16.04 LTS. 我在Ubuntu 16.04 LTS上遇到了相同的问题。 However, such issue was not found on Trisquel GNU Linux. 但是,在Trisquel GNU Linux上找不到此问题。 The solution which I found by randomly testing was - Do not import scitools. 我通过随机测试发现的解决方案是-不要导入scitools。 Just import numpy. 只需导入numpy。

As an example if you were to write - from scitools.std import * simply do - import numpy as np and use numpy libraries. 例如,如果您要编写- from scitools.std import *只需做- import numpy as np并使用numpy库。 For plotting use matplotlib that will solve this issue. 对于绘图,请使用matplotlib来解决此问题。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 无法导入scitools python - unable to import scitools python Python 2.7 Anaconda Spyder IDE Scitools电影编码器='html'不起作用 - Python 2.7 Anaconda Spyder IDE Scitools Movie encoder='html' Not Working 如何使用Anaconda在Python3上安装scitools模块? - How do I install scitools module on Python3 with Anaconda? Anaconda-Python RequestsDependencyWarning: urllib3 (1.22) 或 chardet (2.3.0) 与支持的版本不匹配 - Anaconda-Python RequestsDependencyWarning: urllib3 (1.22) or chardet (2.3.0) doesn't match a supported version 无法在Windows上使用Anaconda Python Stack导入MySQLdb - Cannot import MySQLdb on Windows with Anaconda Python Stack Ubuntu,Anaconda:无法导入python shapely包 - Ubuntu, Anaconda: Cannot import python shapely package Python(SciTools)-尝试制作电影时编码器出错(无法保存) - Python (SciTools) - error in the encoder when trying to make a movie (cannot save) 无法使用Anaconda在python中导入psycopg2 - Unable to import psycopg2 in python using anaconda 如何使用Python和SciTools Understand API为类计算CBO和LCOM - How to calculate CBO and LCOM for a class using Python and SciTools Understand API 将 Anaconda 与 Python 启动器一起使用时出现导入错误 - Import Error when using Anaconda with Python launcher
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM