pydev

Python print hello not showing output on eclipse console

Python print hello not showing output on eclipse console Question: new windows user using eclipse as you can see on output console not showing hello output please advise. enter image description here Asked By: Alvin Ch || Source Answers: ”’ Created on Sep 17, 2022 @author: Alvin Chong ”’ print(‘hello’) Close the multi-line command with …

Total answers: 3

AttributeError: module 'odbc' has no attribute 'connect' – python with pydev

AttributeError: module 'odbc' has no attribute 'connect' – python with pydev Question: I am very new to python and I just can’t seem to find an answer to this error. When I run the code below I get the error AttributeError: module ‘odbc’ has no attribute ‘connect’ However, the error only shows in eclipse. There’s …

Total answers: 5

Strange error while using Pycharm to debug PyQt gui

Strange error while using Pycharm to debug PyQt gui Question: I’ve been using PyCharm to debug my gui in PyQt. This has been really successful thus far, until I’ve run into a strange error in trying to debug my gui just now. I’ve set a breakpoint at the beginning of the script as well as …

Total answers: 2

Where does Anaconda Python install on Windows?

Where does Anaconda Python install on Windows? Question: I installed Anaconda for Python 2.7 on my Windows machine and wanted to add the Anaconda interpreter to PyDev, but quick googling couldn’t find the default place where Anaconda installed, and searching SO didn’t turn up anything useful, so. Where does Anaconda 4.0 install on Windows 7? …

Total answers: 12

Older pydev version for eclipse

Older pydev version for eclipse Question: I am getting started with eclipse pydev and python generally.! I want to try a code which is compatible with python 2. That means I should download an older version of pydev? I have both installed python 2.7 and python 3 in my computer. Asked By: elli || Source …

Total answers: 2

How to solve import error for pandas?

How to solve import error for pandas? Question: I installed Anaconda with python 2.7.7. However, whenever I run “import pandas” I get the error: “ImportError: C extension: y not built. If you want to import pandas from the source directory, you may need to run ‘python setup.py build_ext –inplace’ to build the C extensions first.” …

Total answers: 14

Eclipse/PyDev: Sync System PYTHONPATH runs continuously

Eclipse/PyDev: Sync System PYTHONPATH runs continuously Question: When Eclipse/PyDev is open I see an operation running in the background, over and over (as if stuck in an infinite loop), in the lower right status area telling me “Sync System PYTHONPATH (100%)”. I have a single Python interpreter configured, everything runs fine, but I wonder if …

Total answers: 1

Disabling a pylint warning E501. Nothing is working

Disabling a pylint warning E501. Nothing is working Question: I know this question has already been asked but none of the solutions I have found are working for me. I want to disable the pylint warning E501, line too long while coding in pydev. I have tried in line comments # pylint: disable=E501 and even …

Total answers: 2

Kivy: Invalid instance in App.root

Kivy: Invalid instance in App.root Question: I am new to Python as well as Kivy, this is my first small project, and don’t know what I did wrong, following is the log from pydev(eclipse): [INFO ] Kivy v1.8.0 [INFO ] [Logger ] Record log in C:UsersSudheer.kivylogskivy_14-06-21_10.txt [INFO ] [Factory ] 157 symbols loaded [DEBUG ] …

Total answers: 2

Aptana Error-pydev: Port not bound (found port -1)?

Aptana Error-pydev: Port not bound (found port -1)? Question: I just updated my Aptana Studio3. When I open my python file it says that it can not find map, range and filter and some other methods. but when I run my code, it’ll run without any problem. my code completion doesn’t work any more. The …

Total answers: 10