Skip to content

Instantly share code, notes, and snippets.

@rpivo
Last active February 14, 2021 22:42
Show Gist options
  • Save rpivo/223450279c10cd9eec94e1e33e9b46bb to your computer and use it in GitHub Desktop.
Save rpivo/223450279c10cd9eec94e1e33e9b46bb to your computer and use it in GitHub Desktop.
Installing a Python Package in the Current Directory With pip

Installing a Python Package in the Current Directory With pip

Example below uses pip3 to install the pytrends package and its dependencies inside a subfolder called package within the current directory.

pip3 install pytrends --target ./package
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment