导入numpy可以与解释器一起使用,但不能完全与python中的pyscripter一起使用 [英] importing numpy works with interpreter but not fully with pyscripter in python
问题描述
我正在使用python 3.3(x64)和pyscripter 2.5.3(x64),适用于python 3.3(x64)的numpy 1.7. 当我在脚本中导入numpy时,我没有numpy的所有功能,只有其中几个(不是很多,不是array)?好像无法从numpy导入所有文件
I'm working with python 3.3 (x64), and pyscripter 2.5.3 (x64), numpy 1.7 for python 3.3 (x64). When I import numpy in a script, I don't have all the functions of numpy available, only few of them (not a lot, and not array )? As if it doesn't manage to import all the file from numpy
如果我使用IDLE,它可以正常工作,与notepad ++一样.
If I use IDLE it works fine, same with notepad++.
推荐答案
我也遇到了同样的问题 在PyScripter中检查python的路径. 它在工具-> python路径中 检查它是否指向python的正确路径 如果它不能解决问题,并希望它可以工作
I also had the same issue check the path of the python in PyScripter. It is in the Tools -> python path check if it is referring to the correct path of python if it doesn't correct it and hopefully it will work
这篇关于导入numpy可以与解释器一起使用,但不能完全与python中的pyscripter一起使用的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!