pydev

Pydev debugger stopped working in PyCharm after Python upgrade

百般思念 提交于 2019-12-11 07:22:23
问题 I use PyCharm. I had previously built the pydev debugger under Python 3.3 using python /Applications/PyCharm.app/Contents/helpers/pydev/setup_cython.py build_ext --inplace . I then had to update my project to use a new virtual environment under Python 3.5, and now the debugger won't run, with the following message: /<venv_path>/bin/python3.5 /Applications/PyCharm.app/Contents/helpers/pydev/pydevd.py --multiproc --save-signatures --qt-support --client 127.0.0.1 --port 58286 --file

Eclipse + PyDev ImportError

Deadly 提交于 2019-12-11 07:18:31
问题 I am having trouble getting PyDev on Eclipse to recognize installed modules ( gensim ), which work fine in IDLE. I am using Windows Vista, 32-bit. Python 2.7. I have found this question asked: here, here, here, and here. The recommended solution is to go to preferences > pydev > interpreter - python , and remove and re-add (w/ Auto Config) the python interpreter. I have done this, and have restarted Eclipse. In PYTHONPATH , C:\Python27\lib\site-packages\gensim-0.8.0-py2.7.egg , appears, but I

PyDev Remote Debugger and Tab Completion in Eclipse

筅森魡賤 提交于 2019-12-11 06:43:22
问题 This might be a limitation of the PyDev debugger but would anyone know how to enable tab completion and history like in a plain Python shell in the Eclipse debug Console window? Pressing tab or the arrow keys just jumps/moves the cursor. PyDev remote debugger is initialized as needed with following code: from pydevsrc import pydevd;pydevd.settrace('<my ip>', stdoutToServer=True, stderrToServer=True, suspend=True) 回答1: Did you check Preferences -> PyDev -> Editor -> Code Completion -> "Use

PyDev not showing up in Eclipse 3.8

☆樱花仙子☆ 提交于 2019-12-11 06:21:38
问题 After I installed eclipse 3.8 on Ubuntu 16.04 (same as 14.04), I tried to install PyDev in Help->Install New Software->Add pydev.org/updates. Everything seems to have gone went well but after restarting eclipse I cannot see PyDev. 回答1: if you already install PyDev 5.xx.. in your eclipse 3.8, uninstall them: help->install new software->click on "already installed" highlight then uninstall PyDev 5.xx... Now you can install the correct version (4.5.5) of PyDev for eclipse 3.8 help->install new

Correct directory for Tweepy API to add to the PythonPath

痴心易碎 提交于 2019-12-11 05:59:38
问题 Setup iMac 10.7.4, Eclipse Indigo, Pydev, Python 2.7 I’m trying to install the Tweepy API but the documentation is a bit sparse for any beginner programmer. I thought I had it installed as I had downloaded the necessary file to my applications folder and typed 'python setup.py install' However I’m only now learning about the Pythonpath and the correct way of using import Can anyone tell me where I should locate the Tweepy folder so that I can add it to the PythonPath My Python "System libs"

Biopython error - The system cannot find the file specified

半世苍凉 提交于 2019-12-11 05:42:09
问题 I have encountered an error which I am not able to resolve. I am trying to perform the easiest set of commands that will perform a tBLASTn algorithm, looking for a sequence (sequence specified as a "pytanie.fasta" file) in a database (also specified as file -> cucumber.fasta). The result will be saved in the "wynik.txt" file. The code looks as following: from Bio.Blast. Applications import NcbitblastnCommandline database = r"\Biopython\cucumber.fasta" qr = r"\Biopython\pytanie.fasta" output =

PyDev displays undefined variable from import for 1 out of 2 vars

戏子无情 提交于 2019-12-11 04:38:32
问题 Issue I have the following structure: home.py logic/brains/databeam.py Inside databeam.py I have: engine = create_engine(databaseSettings(), pool_size = 20, max_overflow = 0) Session = sessionmaker(bind = engine) session = Session() boom = 'boom' And in home.py : from logic.brains.databeam import session, boom print session print session.query() print boom Everything works as intended, but PyDev on eclipse shows me this: This works when... Instead of using from logic.brains.databeam import

pydev project - no module named pyodbc

 ̄綄美尐妖づ 提交于 2019-12-11 04:26:49
问题 Hello guys I am pretty new to all this so please bear with me. I am trying to execute the following python code on eclipse but finding some errors: import pyodbc from bs4 import BeautifulSoup I get the following error for both: import pyodbc ModuleNotFoundError: No module named 'pyodbc' import BeautifulSoup ModuleNotFoundError: No module named 'BeautifulSoup' When going to command prompt and clicking on pip install pyodbc I get the following: Requirement already satisfied: pyodbc in c:\users

Setting default Python grammar version in Eclipse PyDev

♀尐吖头ヾ 提交于 2019-12-11 04:19:33
问题 I have a fresh installation of Eclipse and PyDev, on a Mac that has Python 2.7 and Python 3.6 installed. Whenever I start a new PyDev project, it asks me to choose a grammar version, and 2.7 is the default. How can I change it so 3.6 is the default grammar? In Eclipse preferences -> PyDev -> Interpreters -> Python Interpreter I only have Python 3.6 configured; where else should I look? 回答1: This is currently not implemented (albeit it really should use the current interpreter selected to

adding python interpreters programmatically

我们两清 提交于 2019-12-11 04:19:17
问题 Is there a simple way to add and change interpreters using the Pydev plugin interface? I'm running pydev 1.6.1 and I'd like to be able to add and use a given interpreter based on a list of available interpreters in my environment. Right now I can see the PythonInterpreterManager has a createInterpreterInfo call, but that doesn't seem to do anything. Looking at the source for pydev, it seems like I have to actually work with the preference pages to keep track of all of them. Is there a simpler