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

Could not find a version that satisfies the requirement windows-curses #1

Closed
singularitti opened this issue Jul 20, 2019 · 7 comments
Closed

Comments

@singularitti
Copy link
Contributor

When I am trying to install PipTUI with

pipx install PipTUI

It throws out errors:

  ERROR: Could not find a version that satisfies the requirement windows-curses (from PipTUI) (from versions: none)
ERROR: No matching distribution found for windows-curses (from PipTUI)
'/Users/qz/.local/pipx/venvs/PipTUI/bin/python -m pip install PipTUI -q' failed

It seems to be a dependency-resolution problem.
I am using pipx==0.13.0.1 with Python 3.7.4 on macOS 10.14.5.

@nitanmarcel
Copy link
Owner

Strange. Does it work with normal pip? The module it's in the pypi repository but if pipx uses a custom repository there's nothing I can do about it.

https://pypi.org/project/windows-curses/

@nitanmarcel
Copy link
Owner

Oh, wait, I didn't read the MacOS line. It shouldn't add it to the requirements list. Let me check

@nitanmarcel
Copy link
Owner

nitanmarcel commented Jul 21, 2019

@singularitti It's fixed but before uploading it on pypi I want to know one thing.

I never used MacOS and since the script launches pip commands when a specific action is done (Installing, Uninstalling, etc) might not work with pipx.

Pipx is the only way to install python packages or there's also a pip on MacOS?

@singularitti
Copy link
Contributor Author

singularitti commented Jul 21, 2019

Hi @nitanmarcel. There should be a pip on every system that Python supports. I should have explained, pipx is definitely not the only way to install a Python package on macOS. In fact, it is only used to install Python packages which provide executables, e.g., pylint, autopep8, glances, etc. See the doc here if you are interested. Because the PipTUI seems to be an executable, so I first install it with pipx. pipx creates virtualenv and install the executables to a certain place so that they could not be installed in my system directory. Here is how it works (I recommend it, really).

@nitanmarcel
Copy link
Owner

Fixed in 0e8b64e

Because you're using pipx the app could not work if pip is not installed. A workaround for this would be setting up pip as an alias for pipx.

Thanks!

@nitanmarcel
Copy link
Owner

Hi @nitanmarcel. There should be a pip on every system that Python supports. I should have explained, pipx is definitely not the only way to install a Python package on macOS. In fact, it is only used to install Python packages which provide executables, e.g., pylint, autopep8, glances, etc. See the doc here if you are interested. Because the PipTUI seems to be an executable, so I first install it with pipx. pipx creates virtualenv and install the executables to a certain place so that they could not be installed in my system directory. Here is how it works (I recommend it, really).

Oh, so you're good to go :) I'll reopen the issue for a few hours if you have another problems :)

@nitanmarcel nitanmarcel reopened this Jul 21, 2019
@singularitti
Copy link
Contributor Author

I will try to install and report any problem that I meet.

nitanmarcel added a commit that referenced this issue Jul 21, 2019
Added platform-dependent dependency, fixes #1
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