These are chat archives for spyder-ide/public

Feb 2019
Feb 18 02:07
@CAM-Gerlach I tried the terminal commands that you recommended, and I cannot seem to launch spyder.
CAM Gerlach
Feb 18 02:21

@anikacave Okay, you're going to need to be much more specific so we can narrow down the problem. Please provide the versions of your OS, Python, Spyder, PyQt and Qt (use conda list to find the last three), and describe explicitly the exact behavior and any error messages/output you get when you try to launch Spyder via the command line. Also, set the environment variable SPYDER_DEBUG to 3 to get full debug output (set SPYDER_DEBUG=3 on Windows, export SPYDER_DEBUG=3 on bash), and paste everything below the spyder comand here inside triple backticks,

like this

(Quote my post to see the source).

Feb 18 05:11
hi what have i done wrong?
def main():
import random
import time
number = random.randint(1,10)
tries = 1
print ('hi what is your name?')
name = int(input('hi 'name' i am thinking of a number between 1 & 10'))
CAM Gerlach
Feb 18 05:37
If you open a QtConsole instance (e.g. with jupyter qtconsole at an Anaconda prompt/terminal), does your code work there?
CAM Gerlach
Feb 18 06:02
@low-ham I would be rather surprised if it does, to be honest. The above code has all kinds of very basic issues just at a glance—clearly invalid syntax, calling functions that aren't builtins in Python, unescaped quotes, use of input, no indents, unused variables and imports, importing inside a function, non-PEP 8-conforming style, etc. but please note this is not a beginner Python help forum, but rather a chatroom for questions, feedback and help with the Spyder data science IDE. I recommend reading some basic tutorials on learning the rudiments of Python which can be readily found with a quick Google, and if you still aren't able to resolve your problem, one of the many resources for beginner Python users is a much more appropriate place to ask such a question. Thanks, and best of luck!