Check the capitalization of the package name In Python, package names are case - sensitive. The user used uppercase "FXCMPY" in the pip install command and also used uppercase "FXCMPY" when importing. One should check whether the actual package name of fxcmpy is "fxcmpy" (all lowercase). The correct commands may be pip install fxcmpy and import fxcmpy .