Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No PyPI distribution for OSX environment #1

Closed
avanov opened this issue Mar 16, 2018 · 5 comments
Closed

No PyPI distribution for OSX environment #1

avanov opened this issue Mar 16, 2018 · 5 comments

Comments

@avanov
Copy link

avanov commented Mar 16, 2018

$ pip install py-money
Collecting py-money
  Could not find a version that satisfies the requirement py-money (from versions: )
No matching distribution found for py-money

Please upload a sdist or a wheel for OSX environments.

@nickyr
Copy link
Contributor

nickyr commented Mar 16, 2018

Hey there! It does work on MacOS—that’s where I use it. I’ve seen this message before when trying to install on python < 3.6. Not a great error message from pypi. This library requires 3.6, so please try with that python version.

@nickyr
Copy link
Contributor

nickyr commented Mar 16, 2018

I should update the readme to mention this.

@avanov
Copy link
Author

avanov commented Mar 16, 2018

Hi @nickyr
I actually use 3.6, and the issue is with the only .egg format available for downloading at the moment:

$ python -V
Python 3.6.4
(myenv364)localhost:myenv max$ python -m pip -v install py-money
Collecting py-money
  1 location(s) to search for versions of py-money:
  * https://pypi.python.org/simple/py-money/
  Getting page https://pypi.python.org/simple/py-money/
  Looking up "https://pypi.python.org/simple/py-money/" in the cache
  Current age based on date: 63
  Freshness lifetime from max-age: 600
  Freshness lifetime from request max-age: 600
  The response is "fresh", returning cached response
  600 > 63
  Analyzing links from page https://pypi.python.org/simple/py-money/
    Skipping link https://pypi.python.org/packages/08/a0/0a28272419c9ae2a8eb34897b12afa9c72a316fd530fa374eba97d78f969/py_money-0.2.0-py3.6.egg#md5=b4d02b4e58ee92b592cdd4841da0357c (from https://pypi.python.org/simple/py-money/); unsupported archive format: .egg
    Skipping link https://pypi.python.org/packages/27/28/225ff7a24d7cbc488e3b3a8f76f89ce2348cf7476107a5f366325c835a26/py_money-0.1.1-py3.6.egg#md5=250de378c7bb858cfbd1e8735f976092 (from https://pypi.python.org/simple/py-money/); unsupported archive format: .egg
    Skipping link https://pypi.python.org/packages/d5/2d/267fa03a67546370f64916a830b1d2b1fbd0f2579ec6ce087e9a392b3fc1/py_money-0.1.0-py3.6.egg#md5=d375e061beb8a4d50361e72f2ba741c7 (from https://pypi.python.org/simple/py-money/); unsupported archive format: .egg
  Could not find a version that satisfies the requirement py-money (from versions: )
Cleaning up...
No matching distribution found for py-money
Exception information:
Traceback (most recent call last):
  File "/Users/max/.pyenv/versions/3.6.4/envs/myenv364/lib/python3.6/site-packages/pip/basecommand.py", line 215, in main
    status = self.run(options, args)
  File "/Users/max/.pyenv/versions/3.6.4/envs/myenv364/lib/python3.6/site-packages/pip/commands/install.py", line 324, in run
    requirement_set.prepare_files(finder)
  File "/Users/max/.pyenv/versions/3.6.4/envs/myenv364/lib/python3.6/site-packages/pip/req/req_set.py", line 380, in prepare_files
    ignore_dependencies=self.ignore_dependencies))
  File "/Users/max/.pyenv/versions/3.6.4/envs/myenv364/lib/python3.6/site-packages/pip/req/req_set.py", line 554, in _prepare_file
    require_hashes
  File "/Users/max/.pyenv/versions/3.6.4/envs/myenv364/lib/python3.6/site-packages/pip/req/req_install.py", line 278, in populate_link
    self.link = finder.find_requirement(self, upgrade)
  File "/Users/max/.pyenv/versions/3.6.4/envs/myenv364/lib/python3.6/site-packages/pip/index.py", line 514, in find_requirement
    'No matching distribution found for %s' % req
pip.exceptions.DistributionNotFound: No matching distribution found for py-money```

@nickyr
Copy link
Contributor

nickyr commented Mar 18, 2018

Alright @avanov I've upload both a wheel and an sdist! Please reopen this issue if this doesn't work for you.

And thanks for educating me about this--I'm more of a PHP developer so this PyPi process is very foreign to me :-)

@nickyr nickyr closed this as completed Mar 18, 2018
@avanov
Copy link
Author

avanov commented Mar 18, 2018

I've just checked it - everything looks good. Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants