seemethere / nba_py

Python client for NBA statistics located at stats.nba.com
BSD 3-Clause "New" or "Revised" License
1.05k stars 256 forks source link

Can't install via pip #7

Closed riririaan closed 8 years ago

riririaan commented 8 years ago

Hey, I'm having trouble installing on pip with python 3.3 on mac. Any ideas? Not sure what the requirements should be. Pasted my terminal output and the full log below.

Cheers.

pip install nba_py Downloading/unpacking nba-py Could not find a version that satisfies the requirement nba-py (from versions: 0.1a1, 0.1a1.win-amd64, 0.1a1) Cleaning up... No distributions matching the version for nba-py Storing debug log for failure in /Users/riaan/Library/Logs/pip.log


/usr/local/bin/pip3 run on Tue Jan 5 22:06:03 2016 Downloading/unpacking nba-py

Getting page https://pypi.python.org/simple/nba-py/ URLs to search for versions for nba-py:

Cleaning up...

Removing temporary dir /private/var/folders/_v/hs6gcbb12n3187qjjmylqzgh0000gp/T/pip_build_riaan... No distributions matching the version for nba-py

Exception information: Traceback (most recent call last): File "/usr/local/Cellar/python3/3.3.3/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/pip-1.4.1-py3.3.egg/pip/basecommand.py", line 134, in main status = self.run(options, args) File "/usr/local/Cellar/python3/3.3.3/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/pip-1.4.1-py3.3.egg/pip/commands/install.py", line 236, in run requirement_set.prepare_files(finder, force_root_egg_info=self.bundle, bundle=self.bundle) File "/usr/local/Cellar/python3/3.3.3/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/pip-1.4.1-py3.3.egg/pip/req.py", line 1085, in prepare_files url = finder.find_requirement(req_to_install, upgrade=self.upgrade) File "/usr/local/Cellar/python3/3.3.3/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/pip-1.4.1-py3.3.egg/pip/index.py", line 309, in find_requirement raise DistributionNotFound('No distributions matching the version for %s' % req) pip.exceptions.DistributionNotFound: No distributions matching the version for nba-py

seemethere commented 8 years ago

Looks like you might need to run the command with --pre:

pip install --pre nba_py

Let me know if that helps.

riririaan commented 8 years ago

I'll try that. I do know that it definitely installs successfully when installing directly from github via

pip install git+https://github.com/seemethere/nba_py.git

On Wed, Jan 6, 2016 at 5:01 PM, Elias Uriegas notifications@github.com wrote:

Looks like you might need to run the command with --pre:

pip install --pre nba_py

Let me know if that helps.

— Reply to this email directly or view it on GitHub https://github.com/seemethere/nba_py/issues/7#issuecomment-169476396.