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

Install error on macOS #16

Open
Stanzilla opened this issue Feb 9, 2021 · 4 comments
Open

Install error on macOS #16

Stanzilla opened this issue Feb 9, 2021 · 4 comments

Comments

@Stanzilla
Copy link

I know macOS is not officially supported but I tried and this error was a bit confusing for me

❯ pip install ilua                   
Collecting ilua
  Downloading ilua-0.2.1-py2.py3-none-any.whl (70 kB)
     |████████████████████████████████| 70 kB 3.7 MB/s 
Collecting jupyter-core
  Downloading jupyter_core-4.7.1-py3-none-any.whl (82 kB)
     |████████████████████████████████| 82 kB 3.1 MB/s 
Collecting txzmq
  Downloading txZMQ-0.8.2.tar.gz (19 kB)
Collecting jupyter-console
  Downloading jupyter_console-6.2.0-py3-none-any.whl (22 kB)
Requirement already satisfied: pygments in ./.pyenv/versions/3.8.5/lib/python3.8/site-packages (from ilua) (2.7.1)
Collecting ilua
  Downloading ilua-0.2.0-py2.py3-none-any.whl (70 kB)
     |████████████████████████████████| 70 kB 5.2 MB/s 
  Downloading ilua-0.1.0-py2.py3-none-any.whl (48 kB)
     |████████████████████████████████| 48 kB 7.1 MB/s 
ERROR: Cannot install ilua==0.1.0, ilua==0.2.0 and ilua==0.2.1 because these package versions have conflicting dependencies.

The conflict is caused by:
    ilua 0.2.1 depends on twisted
    ilua 0.2.0 depends on twisted
    ilua 0.1.0 depends on twisted

To fix this you could try to:
1. loosen the range of package versions you've specified
2. remove package versions to allow pip attempt to solve the dependency conflict

ERROR: ResolutionImpossible: for help visit https://pip.pypa.io/en/latest/user_guide/#fixing-conflicting-dependencies

Any ideas what could cause this?

@guysv guysv pinned this issue Feb 12, 2021
@guysv guysv unpinned this issue Feb 12, 2021
@guysv
Copy link
Owner

guysv commented Feb 12, 2021

That is indeed confusing :O why the hell did it start downloading every version ever published.

I'd try:

  1. force specific version (ilua==0.2.1)
  2. update pip, something is seriously wrong lol.

@Stanzilla
Copy link
Author

So I guess the problem is Twisted?

❯ pip install ilua==0.2.1
Collecting ilua==0.2.1
  Using cached ilua-0.2.1-py2.py3-none-any.whl (70 kB)
Requirement already satisfied: pygments in ./.pyenv/versions/3.8.5/lib/python3.8/site-packages (from ilua==0.2.1) (2.7.4)
Collecting jupyter-console
  Using cached jupyter_console-6.2.0-py3-none-any.whl (22 kB)
Collecting txzmq
  Using cached txZMQ-0.8.2.tar.gz (19 kB)
ERROR: Could not find a version that satisfies the requirement twisted (from ilua)
ERROR: No matching distribution found for twisted

~ 32s
❯ pip --version
pip 21.0.1 from /Users/stan/.pyenv/versions/3.8.5/lib/python3.8/site-packages/pip (python 3.8)

@guysv
Copy link
Owner

guysv commented Feb 13, 2021

maybe try installing twisted first? any version will do.

@Stanzilla
Copy link
Author

I did, might just be the end of the road already?

❯ pip install twisted
ERROR: Could not find a version that satisfies the requirement twisted
ERROR: No matching distribution found for twisted

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