-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
runfile is not defined ? #3428
Comments
there is no issue if I choose to "run in a dedicated python console" or in an "terminal external windows" |
What is your ipython version ? |
I'll take a look at this one. It's very strange that |
@stonebig, this means (most probably) that there's an error in
and check if there are any errors printed in our Python or IPython consoles |
this does nothing but showing 1 second the spyder "splash" screen. and no DOS error. |
But there have to be errors printed in our Python consoles, at least, or something saying that sitecustomize failed to load. Can't you see anything like that? |
well, for my case I should type:
yet nothing visible... trying to see further, it seems I have hidden "Console Windows Host" processes in background |
Not sure whether this is helpful: I see the same issue of 'NameError: name 'runfile' is not defined' and also the other issue (py3x) set SPYDER_DEBUG=3 Changing the debug level: (py3x) set SPYDER_DEBUG=0' I get many lines of: And whenever spyder was maximized in the previous run I also get one line of: spyder --reset doesn't change the subsequent behaviour. I have windows 10, anaconda, display 3840x2160 (with 250% size scaling) Version and main components
Dependencies
|
Thanks, but the error in sitecustomize should be printed in our Python consoles, not directly in the terminal where Spyder was started. Please try to take a look there :-) |
I don't know then :-/ I don't understand how |
another look, at the sys.path:
|
there is no possible effect of Matplotlib2.0.0b4 ? (I see in an old changelog "sitecustomize error when using Matplotlib 1.5 with Python 2") error also there with PyQt4 |
Maybe, I haven't tested with Matplotlib 2.0.0b4. Could you test with 1.5.3? |
will do. also maybe the kernel initial death is generating new kernel with "runfile" lost ? |
same error with Matplotlib 1.5.3... |
a side-remark, First time I start a just created WinPython, Spyder tries to go to internet. never figured why, as I did put the parameter "check for Update on startup" to "False" |
other check: it fails with Spyder-3.0.0b7 official wheel, on Qt5.7.0 Python3.5.2 |
Hello, I upgraded to 3.0.0b7 and this issue started immediately I'm on Ubuntu 14.04.3 |
Idem on OSX 10.11.6 |
I also have: |
I had the same problem after upgrading from 3.0.0b4 to 3.0.0b7. The error seemed to disappear when I ran |
I have the same problem with Spyder version 3.0.0b7 installed with conda. I think the problem is that When running Spyder from a git clone using |
I confirm @jitseniesen suggestion works. I copied spyder/utils/introspection/init.py to spyder/utils/site/init.py and rebuild the wheel, and "runfile" is found again |
+1 for this problem when installed with |
Yes, the problem is the I'll solve this problem right away and release beta8! |
It was the comment by @hoogenm that put me on the right track. |
If possibe, it would be nice to have the black DOS window solved in beta8 also (if it's an easy fix) |
@stonebig, It'll be there too :-) |
I'm getting this issue in Spyder 3.1.4 with Python 3.6. I checked both spyder/utils/site and spyder/utils/introspection/. Both of these contain the init.py file. I thought this problem was already fixed? How can I fix it now? |
I'm having the same issue with Spyder 3.2.3 with python 3.6 File "", line 1, in NameError: name 'runfile' is not defined |
IPython >=4.0 : 7.2.0 (OK) |
Description of your problem
What steps will reproduce the problem?
What is the expected output? What do you see instead?
runfile is found and there is no issue
Please provide any additional information below
![spyder-20160917runfile](https://cloud.githubusercontent.com/assets/4312421/18606347/d917864e-7cad-11e6-85ca-9c8d639a82e9.PNG)
Versions and main components
Dependencies
Please go to the menu entry
Help > Optional Dependencies
(orHelp > Dependencies
), press the buttonCopy to clipboard
and paste the contents below:
jedi >=0.8.1 : 0.9.0 (OK)
matplotlib >=1.0 : 2.0.0b4 (OK)
nbconvert >=4.0 : 4.2.0 (OK)
numpy >=1.7 : 1.11.1 (OK)
pandas >=0.13.1 : 0.19.0rc1 (OK)
pep8 >=0.6 : 1.7.0 (OK)
pyflakes >=0.6.0 : 1.3.0 (OK)
pygments >=2.0 : 2.1.3 (OK)
pylint >=0.25 : 1.6.4 (OK)
qtconsole >=4.2.0: 4.2.1 (OK)
rope >=0.9.4 : 0.9.4-1 (OK)
sphinx >=0.6.6 : 1.4.6 (OK)
sympy >=0.7.3 : 1.0 (OK)
The text was updated successfully, but these errors were encountered: