Reputation: 1
I'm brand new to Python. I've been using Python through Anaconda. I'm running Python 3.6.5. Right now, I'm trying to install a package called USZIPCODE from https://pypi.org/project/zipcodes/. I downloaded the zip file from this site in to my downloads folder. I then tried to use $ pip install uszipcode from the CMD prompt. This doesn't work. "Invalid Syntax" is returned. I've looked at videos on how to use pip to install other packages but they have not been able to solve my problem. The picture below should give some insight in to the issue. Any pointers on how I can install this package into python? Thank you! enter image description here
Upvotes: 0
Views: 4730
Reputation: 370
2 years too late to help bbranham, but for other Anaconda Python beginners having trouble using pip install
, use the "Anaconda Powershell Prompt". For instance, on Windows 7:
conda activate yourenvname
pip install uszipcode
should work out then (to download and install the uszipcode package to your active anaconda environment).Upvotes: 1