Pip Install Psycopg2

Pip is the package management system for Python, used to install and manage software packages written in Python. See installing Python modules. tar\dist\pip-9. Everytime I attempt to install psycopg2 into. 9? If not, how can I specify which version to install?Via pip you can specify the package version to install using the following. I was hitting the "pg_config executable not found. Install psycopg2 Module in Python 2. Another challenge with Azure-Django-Postgres deployment is to install psycopg2. Also, you will not break one project by upgrading another. Dependencies. Postgres 9. cursor and use the DictCursor in the psycopg. Rather than running conda, pip and then conda again, a more reliable method is to create a new environment with the combined conda requirements and then run pip. Something went terribly wrong with xml loading in pypy causing segfaults. pip install --build-locally foo bar - similar, but this hints at the possibility of caching and reusing wheels with some metadata indicating that they are built on this machine, not downloaded from PyPI. Connecting to Superset from database is easy, you simply install the database package you need using pip command then configure it. Mar 05, 2016 · The only thing I need to know now is how I get psycopg2 installed via pip in a specific version of python. If you are using Debian or Ubuntu, you can try the following (from a terminal): sudo apt install libpq-dev python-dev sage -pip install psycopg2. Pylons is a Web application framework written in Python. If you get a notification about the 'psycopg2' package will be renamed on the next release, just install the binary version of the package. Run the following command. psycopg2 server closed the connection unexpectedl postgresql通过skytools实现主从复制 ubuntu上跑python连接pg,报错 ImportError: No module named psycopg2. Another challenge with Azure-Django-Postgres deployment is to install psycopg2. - psycopg2 fails. 9 latest stable version is available to download and install. Integrating psycopg2 into your python application. 7 says "The psycopg2 wheel package will be renamed from release 2. The Box API provides a great way to securely connect your application to the Box platform. For an example connecting django application to PostgreSQL database server. 1 That installs 2. 04, check it out for current information. Stack Exchange Network. "pg_config" bulunamadı. How to install psycopg2 with "pip" on Python? 0 votes. Get unlimited access to the best stories on Medium — and support writers while you’re at it. And thus, I'd like to have them be able to install psycopg2 via pip in their windows-based virtualenv. Published on October 8, 2012January 30, 2015 by. 04 you just need to follow the below steps. 2012-08-21 18:22 pramsey * /trunk/liblwgeom/cunit/cu_tree. $ pip install -U psycopg2 Installing Source Control Components ¶ Depending on which source control systems you plan to use, you will need some additional components. Psycopg is a PostgreSQL database adapter for the Python programming language. 5 juste à droite. pip install psycopg2. Install yarn On Debian or Ubuntu Linux, you can install Yarn via our Debian package repository. plus, are using Python 3. Install pip install postgis If you want a compiled version, first install cython:. pip install --upgrade psycopg2. 1 Using cached psycopg2-2. Enter your email address to follow this blog and receive notifications of new posts by email. CMD命令进入C:\Python34\Scripts里面后再执行PIP命令安装pip install wheel 3. We will first need to import it to our python file. pip install django psycopg2 We can now start a Django project within our myproject directory. Install cython for c compiler. exe is stored under C : \ Python34 \ Scripts , so you need to go there to install packages. It requires a dependency. x code to provide new-style classes for connection and cursor objects and other sweet candies. 5 is recommended for this course as it is the latest version that is verified to work with the psycopg2 driver (installed later in this lesson). 8 it has become the only way to install the binary package. Clone via HTTPS Clone with Git or checkout with SVN using the repository’s web address. 27b179373 100755. Install and Run Jupyter (IPython) Notebook on Windows October 27, 2015 November 24, 2015 Lei Feng Programming Language , Python , Tips and Tricks IPython , Jupyter Notebook , Python To install Jupyter Notebook, you will need Python installed on your system. Due to AWS Lambda missing the required PostgreSQL libraries in the AMI image, we needed to compile psycopg2 with the PostgreSQL libpq. x, which is a complete rewrite of the original 1. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. I’ve found that using a python package manager is usually the easiest way to install third party libraries. psycopg2 is a most popular PostgreSQL database adapter to work with Python. Installing PySide ¶ To install PySide on Windows you can choose from the following options:. GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together. When you use virtualenv, you create an isolated environment with its own installation directories which your user has full permissions to. 2012-08-21 18:22 pramsey * /trunk/liblwgeom/cunit/cu_tree. Install the psycopg2 package, which enables you to connect and query the database. Downloading/unpacking psycopg2 Downloading psycopg2-2. The psycopg fully implements the Python DB-API 2. To Install Odoo 13 on Ubuntu 18. Can I pip install opencv2 for python? I know that I can pip install opencv-python which installs opencv3, but is there a separate command or name for opencv2. Cannot use pip because pip is configured with locations that require TLS/SSL. When I tried to install psycopg2 (pip install psycopg2), I got the following error: ERROR: you need to install postgresql-server-dev-X. Odoo is the most popular all-in-one business software in the world. Home » Django » Can't install psycopg2 with pip in virtualenv on Mac OS X 10. x code to provide new-style classes for connection and cursor objects and other sweet candies. Latest version. Psycopg is a PostgreSQL database adapter for the Python programming language. txt即可。 pip 安装psycopg的错误的更多相关文章. py develop. connect("host=aurora-postgres-r…. Ask Question Asked 4 years, 6 months ago. Windows 환경. Now even after I pip uninstall psycopg2 and attempt to reinstall with the correct version, it appears that pip is re-using the cache it downloaded the first time. It seems to be the most common way to interact with Postgres. py if you have downloaded the source package locally: $ python setup. PostgreSQL 의 path 에 "(쌍따옴표) 가 없는 것에 주의하자. Apparently Apple saw fit to remove ppc libs pointing to pg_config is easy, and that is done But how do I build psycopg2 without arch ppc. Step 5: Edit Your Project's Settings File. 1Disabling wheel packages for Psycopg 2. On Windows, I have version 3. Install the psycopg2 package, which enables you to connect and query the database. exe is stored under C : \ Python34 \ Scripts , so you need to go there to install packages. The test platform for this article is Psycopg2, Python 2. pip install django: 2. pip install psycopg2. This allows people to install psycopg using: pip install psycopg2. pip install psycopg2 == 2. WAL-E) should be installed independently of Patroni. At the core it fully implements the Python DB API 2. An app is plugable. py with your web browser and save it to any directory cd py get-pip. Originally Answered: How do I upgrade pip in anaconda python ? conda update pip I believe it’s a better idea to use the conda package manager for anything installed by the conda package manager. Note that the --user flag has no effect when inside a virtual environment - all installation commands will affect the virtual environment. On Centos 6, you can avoid installing the header files for Python and PostgreSQL by using the package for psycopg2: yum install python-pip python-psycopg2 pip install powa-collector Manual install ¶. Part of psycopg2 is the compiled C code to use the postgres libraries from python - this is what _psycopg. I am trying to compile a python script and I have to install a module called "main". But I guess with easy_install you can fake it by running with -m and then deleting the errant egg files in lib and bin files. 04, it failed. 5 (pip install it) The latter would be my preferred option, but then I've never understood the argument for distro packages instead of pip. Latest version. In this blog we will show you how to use the official Docker Python image to make sure you have a working Lambda. You can use the virtual environment to create more. The following article discusses how to connect to PostgreSQL with Psycopg2 and also illustrates some of the nice features that come with the driver. Using pip, you can install/update/uninstall a Python package, as well as list all installed (or outdated) packages from the command line. Install psycopg2 using pip. 1 Install Psycopg2 by apt $ sudo apt-get install python3-Psycopg2. exe which is part of PostgreSQL. c, /trunk/liblwgeom/lwgeodetic_tree. x, which is a complete rewrite of the original 1. pip install psycopg2 Sources. Change directories into the new “myproject” directory and then into it’s subdirectory which is also called “myproject” like this:. I am not sure that this will be the answer you are looking for, but my suggestion would be to move back to Python 3. exe using 7-zip, then copy the psycopg2 folder and 'psycopg2-2. 7 and also PyPy. easy_install -U setuptools. Install the alpha with pip: pip install --pre django Option 3: Get the latest development version. 注意whl文件名不能改 必须一模一样和原名. Install using the Toolbox App. $ pip install psycopg2 # 가상 환경 virtualenv에서 설치 $ source venv/bin/activate (venv) $ pip install psycopg2. In that article, there is a problem where the normal installation of psycopg2 is not working. I tested this with list, show pip, help install, and install --upgrade pip. Python pip install psycopg2 install fehler. Install, uninstall, and upgrade packages. pip install psycopg2 [seperate installation in. txt -- installing psycopg2 - looks like theres some warning at the end. RedHat系: yum install libpqxx-devel python-devel. Se instala bien, pero cuando trato de usar psycopg2 me sale el error: Reason: Incompatible library. python -m pip install --upgrade pip pip install "package-name" I had this problem using virtualenvs (with pipenv) on my new development setup. py install You can also obtain a stand-alone package, not requiring a compiler or external. How to Install and Configure Graphite on Ubuntu 16. x code to provide new-style classes for connection and cursor objects and other sweet candies. check which version of python is currently being invoked. Psycopg is the most popular PostgreSQL adapter for the Python programming language. py build $ sudo python setup. egg-info’ file (so ‘psycopg2’ will apear on ‘pip freeze’) into your Python lib\site-packages directory. *1Psycopgの公式ドキュメントIntroduction — Psycopg 2. First, ensure that you have the latest pip; older versions may have trouble with some dependencies:. I'm cool with that, but isn't the message not very explanatory, especially considering the specificity of the fix. Installing psycopg2 in virtual env on RHEL fails pip,virtualenv ,psycopg2,rhel. I've used both brew and port. Odoo is a suite of open source business apps that cover all your company needs: CRM, eCommerce, accounting, inventory, point of sale, project management, etc. Why pip? pip uninstall psycopg2. exe" under Python3 !!! So any package installation under Python3 is done with "pip3 install " Installing PSYCOPG2 under Windows PSYCOPG is the most popular Python DB API 2. On PyPI Since version 2. Demanding, but definitely doable. The easiest is to use the standalone pip installer. It is written in C and provides to efficiently perform the full range of SQL operations against Postgres databases. exe -nologo -manifest psycop g\_psycopg. WAL-E) should be installed independently of Patroni. pip install scikit-learn Scikit-learn supports different operations that are performed in machine learning like classification, regression, clustering, model selection, etc. How to install any Python binary dependency in AWS lambda When you develop an AWS Lambda function in Python, you may require packages which include binary libraries. At the core it fully implements the Python DB API 2. J'ai installé psycopg2 sur plusieurs virtualenvs mais c'est la première fois que je vois une telle erreur. Посмотрите другие вопросы с метками python pip psycopg2 install или задайте свой вопрос. psycopg2_mq is a message queue implemented on top of PostgreSQL, SQLAlchemy, and psycopg2. Here’s what I did, just so I remember in the future. This tutorial will walk through the install of Psycopg2 and some Python code to demonstrate its use. 2 version and you should be ready to test connecting from both Python versions to PostgreSQL. Hice una simple pip install psycopg2 en el sistema mac. pip install psycopg2; To install the PyGreSQL package, type the following command: pip install pygresql; Code sample using Python's portable SQL database API. GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together. I’ve found that using a python package manager is usually the easiest way to install third party libraries. Clone via HTTPS Clone with Git or checkout with SVN using the repository’s web address. The goal of the Editor is to open-up data to more users by making self service querying easy and productive. I am going to use Debian 9 Stretch as my operating system and Python 3 programming language. (That's easy - pip install -U pip - but gets tiresome. It is currently at version 2. Now let’s dive in into the code. Psycopg2 got easily installed on the Linux (Ubuntu) machine but I faced some issues when I tried to install it on my Mac OS X 10. Make sure your virtualenv is active and run the following command in order to do this: pip install psycopg2. I'm cool with that, but isn't the message not very explanatory, especially considering the specificity of the fix. MS C++, of the 2010 cuvée. Not ANY C++ compiler. 21) - Python-PostgreSQL Database Adapter pip list only make sense for my in virtual environment,because all the mess i have installed in OS Python make no sense Using pipenv with pipenv graph,give a better picture than pip list. Then try again. This means pip works on the latest patch version of each of these minor versions. pip install django gunicorn psycopg2 but I got this error, Anyone can help me?. As an existing Python user, you may wish to install Jupyter using Python's package manager, pip, instead of Anaconda. $ pip3 install psycopg2. Rather than running conda, pip and then conda again, a more reliable method is to create a new environment with the combined conda requirements and then run pip. The Python packages for each database supported in Django in its 'out-of-the-box' state are enumerated in table 1-4. x, which is a complete rewrite of the original 1. txt -- installing psycopg2 - looks like theres some warning at the end. 2, once again run the distribute_setup. PostgreSQL 의 path 에 "(쌍따옴표) 가 없는 것에 주의하자. If it’s outdated, you’ll know because installation won’t work. apt-get install virtualenv python-pip libpq-dev python-dev. To install pip on Ubuntu, Debian or Linux Mint:. After setting that variable you can re-run the pip install and it should succeed. – Knud Larsen May 30 '18 at 7:07 libssl-dev is already the newest version and distribute requirement is already satisfied – Dazai San May 30 '18 at 7:24. The easiest is to use the standalone pip installer. If you don't have the pip executable on your system, see the previous section in this chapter 'Install Django' in the 'Install pip' sub-section. First, we'll install virtualenv and pip: $ su -c 'yum install python-virtualenv' (needs the EPEL repository enabled). Binary install from PyPI¶ psycopg2 is also available on PyPI in the form of wheel packages for the most common platform (Linux, OSX, Windows): this should make you able to install a binary version of the module, not requiring the above build or runtime prerequisites. See installing Python modules. pip install psycogreen pip install psycopg2 pip install pyPdf pip install pydot pip install pyparsing pip install pyserial pip install python-dateutil pip install python-ldap pip install python-openid pip install pytz pip install pyusb pip install qrcode pip install reportlab pip install requests pip install simplejson pip install six pip. 04 python 2. 7, together with the classic source distribution, we have released psycopg as a wheel binary package on PyPI [1]. Psycopg is the most popular PostgreSQL adapter for the Python programming language. We will install pip, the Python package manager, in order to install and manage our Python components. Let's figure out where our python3 executable is located, create a virtualenv with python3, activate the virtualenv and then install the psycopg2 package with pip. Rinse and repeat for the Python 3. tl;dr: pip install psycopg2 just doesn't work. 使用 pip install psycopg2,特么报错,Error: pg_config executable not found。 网上搜索下,说需要安装 pg 和 py 的驱动: Debian系: apt-get install libpq-dev python-dev. To install this package with conda run: conda install -c anaconda pil Description. 4 or higher on all Hue hosts as follows. so library statically linked libpq library instead of the default dynamic link. h:31:22: error: libpq-fe. 2-cp35-none-win32. 04 python 2. $ sudo apt-get install libpq-dev. After about two years from the previous major release, psycopg 2. It contains the. Make sure your virtualenv is active and run the following command in order to do this: pip install psycopg2. At its core it fully implements the Python DB API 2. Now that PostgreSQL is installed and we have a non-superuser account, we can install the psycopg2 package. If you are installing or upgrading to CDH 6 and using PostgreSQL for the Hue database, you must install psycopg2 2. In this article, I will show you how to access PostgreSQL database with Python on Linux. If you have postgres already installed on the same box, you should be able to resolve this problem by adding the postgres folder to your PATH environment variable before running 'pip install psycopg2'. What does this mean? How do I proceed? Many thanks in advance for your help. It needs libpq-dev library installed and we have installed it at the beginning. $ pip3 install psycopg2. Its main features are the complete. I got this error when building my docker images using Linux alpine. pip install psycopg2-contextmanager Copy PIP instructions. Psycopg2 aws - en. Define the SELECT statement query to fetch data from the PostgreSQL table. Psycopg2 is a DB API 2. 4 flake8==3. After you install a PostgreSQL package in the virtual environment, you are ready to work with actual databases. To connect to it you will need to install psycopg2 library: pip install psycopg2. Then because lm3o uses nginx and Gunicorn to support wsgi apps, I did. pip install superset--upgrade superset db upgrade superset init We recommend to follow standard best practices when upgrading Superset, such as taking a database backup prior to the upgrade, upgrading a staging environment prior to upgrading production, and upgrading production while less users are active on the platform. If you have postgres already installed on the same box, you should be able to resolve this problem by adding the postgres folder to your PATH environment variable before running 'pip install psycopg2'. py egg_info: running egg_info creating pip-egg-info/psycopg2. Using pip command, you can install Psycopg2 on any operating system including Windows, MacOs, Linux, and Unix and Ubuntu. pip works with CPython versions 2. After a shell restart, import pip imported the new version. exe Linux and OS X. Install the Components from the Ubuntu Repositories. sudo pacman -S python-psycopg2 pip2 install psycopg2 # Use pip or pip3 to python3 これまでの答えは、魔法のレシピに似ています。 あなたが受け取ったエラーは、pipがPostgreSQL Queryライブラリの必要な部分を見つけることができないことを示しています。. The warning you get installing 2. Binary install from PyPI¶ psycopg2 is also available on PyPI in the form of wheel packages for the most common platform (Linux, OSX, Windows): this should make you able to install a binary version of the module, not requiring the above build or runtime prerequisites. No install necessary—run the TensorFlow tutorials directly in the browser with Colaboratory, a Google research project created to help disseminate machine learning education and research. pip install psycopg2. PyCharm Professional Edition has the paths tab in python Interpreters settings, but if a packaging tool is missing, PyCharm suggests to install it. Due to AWS Lambda missing the required PostgreSQL libraries in the AMI image, we needed to compile psycopg2 with the PostgreSQL libpq. Install PostgreSQL 9. 7 In version 2. For an example connecting django application to PostgreSQL database server. If your distribution already has pip installed, you might need to update it if it's outdated. Step 3: Install psycopg2. 解决方案:运行 sudo apt-get install libpq-dev python-dev 如果你在Ubuntu / Debian上。 更多的解决方案,下面是他们的列表: 于Debian / Ubuntu Python 2 sudo apt install l. error: Unable to find vcvarsall. Then because lm3o uses nginx and Gunicorn to support wsgi apps, I did. 4, it is included by default with the Python binary installers. Let's assume pip is already installed and you want to install for example the python module requests you should be able to type py -m pip install requests. Downloading/unpacking psycopg2 Installing collected packages: psycopg2 Successfully installed psycopg2 Cleaning up. 3 завершается неудачно с состоянием выхода 1120 Когда я запускаю 'pip install psycopg2 == 2. For Conda environments you can use the conda package manager. Install the Components from the Ubuntu Repositories. 7 and also PyPy. The psycopg fully implements the Python DB-API 2. set PATH=%PATH%;C:\Program Files\PostgreSQL\9. Therefore, we can continue with executing the following command to install psycopg2 in our venv: django_cms$ pip install psycopg2. by the way, using macports or fink to install psycopg2 is more recommended way, so you don't have to worry about pg_config, libpq-dev and python-dev. If you have postgres already installed on the same box, you should be able to resolve this problem by adding the postgres folder to your PATH environment variable before running 'pip install psycopg2'. pip install psycopg2. c, /trunk/liblwgeom/lwgeodetic_tree. If you don’t have pip, follow the installation instructions to install it. pip freeze montre psycopg2==2. For an example connecting django application to PostgreSQL database server. OK, I Understand. On Centos 6, you can avoid installing the header files for Python and PostgreSQL by using the package for psycopg2: yum install python-pip python-psycopg2 pip install powa-web Manual install ¶. Once easy_install is setup, run the following command to install pip:. Django ORM uses it by default, and it’s also supported by SQLAlchemy. ** there is no custom install option in the XCode installer ** but I am looking at the package with Pacifist now. Pylons is a Web application framework written in Python. how can I replace the old version of Python with the new installed?. While not as nice as getting, say, a list of strings from a list_command function, I consider this better than repeatedly calling Popen and getting encoded bytes (in whatever encoding) from pipes. Let's figure out where our python3 executable is located, create a virtualenv with python3, activate the virtualenv and then install the psycopg2 package with pip. I already installed packages in virtual environments without any problem (activating the environment and using pip the way I said in the question), but that doesn't worked with psycopg2 and I. Install latest pip distribution: download get-pip. The following article discusses how to connect to PostgreSQL with Psycopg2 and also illustrates some of the nice features that come with the driver. First of all you need. 1 Collecting psycopg2==2. 이 문제에 대한 Linux 솔루션을 찾는이 게시물을 발견했습니다. Psycopg is going to be our path to Postgres freedom with Python. Once the compiler is installed and you have updated to setuptools 6. Use it to install and maintain different products or several versions of the same product, including Early Access Program (EAP) releases, update and roll back when necessary, and easily remove any tool. since psycopg version 2. python -m pip install --upgrade pip pip install "package-name" I had this problem using virtualenvs (with pipenv) on my new development setup. How to install Django onto Windows Server 2012. Create a PostgreSQL database connection. On PyPI Since version 2. c: ST_Intersects(geography) returns incorrect result for pure-crossing. Installing Python + GIS¶ How to start doing GIS with Python on your own computer? Well, first you need to install Python and necessary Python modules that are used to perform various GIS-tasks. - Just document that Django 1. Then there are two ways to install Psycopg2 for Python3 on Ubuntu: by apt or by pip. In the first code example, we get the version of the PostgreSQL database. Something went terribly wrong with xml loading in pypy causing segfaults. but when I type the command “$ Python -V” it is still the previous version of 2. The only think to know about it is its executable is not named "pip. easy_install -U setuptools. python ImportError: No module named psycopg2 sudo apt-get install python-psycopg2 sudo pip install psycopg2 Python Tutorials : https://www. Installing an official release with pip ¶ This is the recommended way to install Django. Anaconda Navigator or conda? After you install Anaconda or Miniconda, if you prefer a desktop graphical user interface (GUI) then use Navigator. sudo env ARCHFLAGS="-arch i386 -arch x86_64" pip install psycopg2. TensorFlow provides multiple APIs. 3 $ pip install psycopg2 Please note that `Psycopg2`_ prefers static linking against ``libpq`` so if you distributing your application and all its dependencies with wheels or something like `Platter`_ then you don't need need to ship ``libpq-dev`` as long as you have `Psycopg2`_ wheel built. py develop. Rinse and repeat for the Python 3. This will create a child directory of the same name to hold the code itself, and will create a management script within the current directory. Clone via HTTPS Clone with Git or checkout with SVN using the repository's web address. prefix} numpy Check Jake’s blog post for more details and how to install a package with pip from Jupyter Notebook. If it is, then. python-psycopg2 python-psutil python-pybabel python-pychart python-pydot python-pyparsing \. py startproject {project name} [django-admin. To get a Trac installation up and running in less than 5 minutes: Assuming you want to have your entire pip installation in /opt/user/trac. 2 for RHEL 6):. A short introduction on how to install packages from the Python Package Index (PyPI), and how to make, distribute and upload your own. By default, PyCharm uses pip to manage project packages. How to Install XGboost for Python on. 7,448 Views 0 Kudos Tags (5) Tags: connection. pip install unroll If it's still not working, maybe pip didn't install/upgrade setup_tools properly so you might want to try. How to Install XGboost for Python on. 0 specifications. pip install scikit-learn Scikit-learn supports different operations that are performed in machine learning like classification, regression, clustering, model selection, etc. Separate command: pip install-from-source foo bar. # yum install -y epel-release # yum install -y python2-pip python-ldap python-psycopg2 python-wheel PyYAML # pip2 install --no-deps --upgrade ldap2pg # ldap2pg --version On CentOS 6 ¶ On CentOS 6, you have to run ldap2pg with Python2. Rinse and repeat for the Python 3. This will only last until the command prompt is closed. If you are using Debian or Ubuntu, you can try the following (from a terminal): sudo apt install libpq-dev python-dev sage -pip install psycopg2. Install PostgreSQL In my case I have Mac OS X, (Mountain Lion and/or Yosemite), and I used the Graphical Installer , recommended on the download page of PostgreSQL. Install the alpha with pip: pip install --pre django Option 3: Get the latest development version. Just $5/month. Installing from a Binary Distribution ¶. How To Install Psycopg2 In a Virtualenv When you try to install psycopg2 in your virtualenv via pip you will most likely end up with the following error: Error: pg_config executable not found. python-psycopg2 python-psutil python-pybabel python-pychart python-pydot python-pyparsing \. psycopg2 プレースホルダ (7) 私は、Macシステムでpip install psycopg2をpip install psycopg2する単純なpip install psycopg2をやった。 それはうまくインストールされましたが、psycopg2を使用しようとするとエラーが表示されます:. 9 steps to install python on bluehost, hostmonster, and other shared hosting The key is to install python newest version to your home directory because that is the only place where you have the write permission.