Skip to content
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

i have tried to run my project in spyder but it doesnot display anything it says run only runfile('C:/Users/luela/untitled1.py', wdir='C:/Users/luela') please help me what can be the problem #22469

Open
10 tasks
luelagebre opened this issue Sep 8, 2024 · 1 comment

Comments

@luelagebre
Copy link

Issue Report Checklist

  • Searched the issues page for similar reports
  • Read the relevant sections of the Spyder Troubleshooting Guide and followed its advice
  • Reproduced the issue after updating with conda update spyder (or pip, if not using Anaconda)
  • Could not reproduce inside jupyter qtconsole (if console-related)
  • Tried basic troubleshooting (if a bug/error)
    • Restarted Spyder
    • Reset preferences with spyder --reset
    • Reinstalled the latest version of Anaconda
    • Tried the other applicable steps from the Troubleshooting Guide
  • Completed the Problem Description, Steps to Reproduce and Version sections below

Problem Description

What steps reproduce the problem?

What is the expected output? What do you see instead?

Paste Traceback/Error Below (if applicable)

PASTE TRACEBACK HERE

Versions

  • Spyder version:
  • Python version:
  • Qt version:
  • PyQt version:
  • Operating System name/version:

Dependencies

PASTE DEPENDENCIES HERE
@luelagebre luelagebre changed the title i have tried t run but it doesnot display anything it says run only runfile('C:/Users/luela/untitled1.py', wdir='C:/Users/luela') please help me what can be the problem i have tried to run my project in spyder but it doesnot display anything it says run only runfile('C:/Users/luela/untitled1.py', wdir='C:/Users/luela') please help me what can be the problem Sep 8, 2024
@ccordoba12
Copy link
Member

Hey @luelagebre, thanks for reporting. You need to print something in your code to see a result in the console.

For instance, if you run this code

1+1

you will only see the runfile command. However, if you run

print(1+1)

then you'll see 2 in the console.

Let us know if that helps you to solve your problem.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants