ilua icon indicating copy to clipboard operation
ilua copied to clipboard

Install error on macOS

Open Stanzilla opened this issue 4 years ago • 4 comments

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?

Stanzilla avatar Feb 09 '21 02:02 Stanzilla

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.

guysv avatar Feb 12 '21 13:02 guysv

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)

Stanzilla avatar Feb 12 '21 18:02 Stanzilla

maybe try installing twisted first? any version will do.

guysv avatar Feb 13 '21 10:02 guysv

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

Stanzilla avatar Feb 13 '21 22:02 Stanzilla