How can I import Python package from GitHub in PyCharm?

When I try to simply import the package as a normal package (e.g., "import Numpy") I get an error that there is no such module. I have downloaded the package from Github. I am not sure what I am doing wrong - is there some special syntax for importing packages from Github specifically? Does the folder I download from Github need to be in a specific location? Please advice.

The following library is the one I am trying to import: https://github.com/Jefferson-Henrique/GetOldTweets-python

0
1 comment
Avatar
Permanently deleted user

use a package manager like pip to install it first, then the import command will work. 

0

Please sign in to leave a comment.