

- Trending Categories
Data Structure
Networking
RDBMS
Operating System
Java
iOS
HTML
CSS
Android
Python
C Programming
C++
C#
MongoDB
MySQL
Javascript
PHP
- Selected Reading
- UPSC IAS Exams Notes
- Developer's Best Practices
- Questions and Answers
- Effective Resume Writing
- HR Interview Questions
- Computer Glossary
- Who is Who
How to install a Python package into a different directory using pip?
You can specify the install-option CLI argument to set the prefix path of the installation directory while installing a new module. For example, if you want to install your package to /tmp, then run the following command −
pip install --install-option="--prefix=/tmp" package_name
- Related Questions & Answers
- How to install Python MySQLdb module using pip?
- How to install pandas using the python package manager?
- How to BIND a DBRM into a PACKAGE and PACKAGE into a PLAN?
- How to use pip to install python modules in easy way?
- How to install the Nuget Package using PowerShell?
- How to install the MSI package using PowerShell DSC?
- How to create a directory using Python?
- How to remove a directory using Python?
- How to install Selenium package in Anaconda?
- How to create a directory recursively using Python?
- How to remove a directory recursively using Python?
- How to calculate a directory size using Python?
- How to install MSI file to the custom directory using PowerShell?
- How to create a unique directory name using Python?
- How to copy files into a directory in C#?
Advertisements