importing numpy works with interpreter but not fully with pyscripter in python

谁说我不能喝 提交于 2019-12-13 06:59:27

问题


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

If I use IDLE it works fine, same with notepad++.


回答1:


Depends on which Python engine you are using in pyscripter. The IDE offers a connect to its own internal installation of python and a remote installation (typically the version you had in place before installing the ide.You need to ensure pyscripter is connected to the remote engine.




回答2:


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




回答3:


The problem is related with pyscipter. Try to import numpy using Python Shell



来源:https://stackoverflow.com/questions/15260971/importing-numpy-works-with-interpreter-but-not-fully-with-pyscripter-in-python

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!