问题
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