Error No Module Named Psycopg
Contents |
here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this site About Us Learn more about Stack Overflow the error loading psycopg2 module: no module named psycopg2 company Business Learn more about hiring developers or posting ads with us Stack Overflow Questions django.core.exceptions.improperlyconfigured: error loading psycopg2 module: no module named psycopg2 Jobs Documentation Tags Users Badges Ask Question x Dismiss Join the Stack Overflow Community Stack Overflow is a community of 4.7 million
Importerror: No Module Named Psycopg2
programmers, just like you, helping each other. Join them; it only takes a minute: Sign up ImportError: No module named psycopg2 up vote 17 down vote favorite 3 when installing process of openerp 6, i want to
Importerror No Module Named Psycopg2 Windows
generate a config file with this command, cd /home/openerp/openerp-server/bin/ ./openerp-server.py -s --stop-after-init -c /home/openerp/openerp-server.cfg but it was always showed a message ImportError: No module named psycopg2 when i check for psycopg2 package, it's already installed, Package python-psycopg2-2.4.5-1.rhel5.x86_64 already installed and latest version Nothing to do what's wrong with this? my server is centos, i've installed python 2.6.7. Really need your help guys.. python centos openerp centos5 share|improve this question edited Oct 17 '12 no module named psycopg2 mac at 6:01 Lafada 9,48563575 asked Oct 16 '12 at 1:30 ws_123 42931019 4 You need to accept some answers on some of your other questions. –jozzas Oct 16 '12 at 1:36 1 The package installs for python2.4. If you have manually installed 2.6 then you also have to install all the other packages for 2.6. –Keith Oct 16 '12 at 2:49 Please execute the following command to confirm the python system path. $ python -c 'import sys; print sys.path' –Taizo Ito Oct 16 '12 at 4:15 Will you please try to import psycopg2 on the python console? –Lafada Oct 17 '12 at 6:01 If you got the answer then select the answer. –Lafada Dec 3 '12 at 5:39 add a comment| 4 Answers 4 active oldest votes up vote 31 down vote Step 1: Install the dependencies sudo apt-get install build-dep python-psycopg2 Step 2: Then run this command in your virtualenv pip install psycopg2 ref: Fernando Munoz share|improve this answer edited Jun 6 at 13:24 kinske 310316 answered Apr 16 '14 at 9:04 tarique313 67198 1 Worked well for me. Thanks! –MRocklin Jun 16 '14 at 15:35 This saved me! stackoverflow.com/questions/25169939/… –aliteralmind Aug 6 '14 at 21:07 I had to run easy_install psycopg2, but your qu
all about efficiency Accounting Project Human Resources Recruitment Employees Expenses Appraisal Fleet Leaves Inventory Purchase Manufacturing
Importerror: No Module Named Psycopg2 Mac
MRP PLM Maintenance Quality Productivity Tools Great Tools = Happy importerror: no module named psycopg2 centos People Communication Discuss Mailing Lists Notes Timesheet Email Marketing Events Survey Live Chat Odoo Studio no module named psycopg2 windows | Third party apps Tour Pricing Community Docs Odoo Help Welcome! This community is for beginners and experts willing to share their Odoo knowledge. It's http://stackoverflow.com/questions/12906351/importerror-no-module-named-psycopg2 not a forum to discuss ideas, but a knowledge base of questions and their answers. Hide Intro Register Toggle navigation Help Trending Newest People Tags Badges Ask a Question 0 ImportError: No module named psycopg2 windows debug eclipse By Silviaa on 12/16/13, 10:32 AM • 7,787 views Im trying to debug https://www.odoo.com/forum/help-1/question/importerror-no-module-named-psycopg2-39160 OpenERP v.7 in Eclipse in Windows Environment When execute openerp-server in Debug mode it throws below error: pydev debugger: starting Traceback (most recent call last): File "D:\eclipse\plugins\org.python.pydev_2.8.2.2013090511\pysrc\pydevd.py", line 1446, in
for Python on a Windows machine? Hopefully the methods listed below will help! As a novice Pythonista, it's http://cecilialiao.com/2015/06/08/installing-psycopg2-for-python-2-7-on-windows-x64/ triumphantly satisfying when a python library imports successfully the first time after installation. Sadly, not every installation goes that smoothly, as not all open-source developer has the time to perfect installation for every OS and versions of Python out there. This happened to me recently when trying to install psycopg2 , a PostgreSQL adapter, on 64-bit no module Windows Server 2012 with Anaconda 2.1.0 and Python 2.7.8 installed. Half an hour of Googling, Stackoverflowing and trial-and-error later, here's a summary of various methods to try, the last of which brought me the jackpot. So for anyone else who may struggle with psycopg2 installation, I hope the following will save you some time. Attempt 1: conda no module named install psycopg2 Because I was using the Anaconda build of Python, I always give this command line a try (rightly or wrong!). If Continuum, the folks who bring us Anaconda, has the library on their repository, why look anywhere else? C:\cecilia.liao> conda install psycopg2 Unfortunately, this didn't work. Attempt 2: pip install psycopg2 I've found that using a python package manager is usually the easiest way to install third party libraries. C:\cecilia.liao> pip install psycopg2 Unfortunately, the installation failed and mentioned something about requiring python-dev and libpq-dev. Trying to install these two libraries via pip was not the quick solution I had hoped for, and the impatient me couldn't find much details about these two libraries that didn't mention Linux. Time to change tack. Attempt 3: install via exe The maker of psycopg2 refers to a Windows port kindly provided by another developer. Bingo, exe files. Double click and away I go! Correct version downloaded, installation finished, but why won't psycopg2 import!? Windows -> Control Panel ->