AMLab-Amsterdam / lie_learn

Computations involving Lie groups and harmonic analysis
MIT License
188 stars 47 forks source link

[help] pip install error #20

Closed EricPengShuai closed 3 weeks ago

EricPengShuai commented 3 years ago
  1. The following error occurs when using the command pip install lie_learn

    WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ProxyError('Cannot connect to proxy.', OSError(0, 'Error
    '))': /simple/lie-learn/
    WARNING: Retrying (Retry(total=3, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ProxyError('Cannot connect to proxy.', OSError(0, 'Error
    '))': /simple/lie-learn/
    WARNING: Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ProxyError('Cannot connect to proxy.', OSError(0, 'Error
    '))': /simple/lie-learn/
    WARNING: Retrying (Retry(total=1, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ProxyError('Cannot connect to proxy.', OSError(0, 'Error
    '))': /simple/lie-learn/
    WARNING: Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ProxyError('Cannot connect to proxy.', OSError(0, 'Error
    '))': /simple/lie-learn/
    ERROR: Could not find a version that satisfies the requirement lie-learn
    ERROR: No matching distribution found for lie-learn
  2. The following error occurs when using the command pip install git+https://github.com/AMLab-Amsterdam/lie_learn

    ......
    Cython.Compiler.Errors.CompileError: lie_learn\groups\SO3.pyx
    ----------------------------------------
    WARNING: Discarding git+https://github.com/AMLab-Amsterdam/lie_learn. Command errored out with exit status 1: python setup.py egg_info Check the logs for full command outpu
    t.
    ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.
  3. The following error occurs when using the command pip install git+https://github.com/AMLab-Amsterdam/lie_learn@6d02c2a1705a05340a128cb8d86c19076d0f5f46

    ......
    Running command git clone -q https://github.com/AMLab-Amsterdam/lie_learn 'C:\Users\PENG\AppData\Local\Temp\pip-req-build-4q8krbla'
    fatal: unable to access 'https://github.com/AMLab-Amsterdam/lie_learn/': OpenSSL SSL_read: Connection was reset, errno 10054
    WARNING: Discarding git+https://github.com/AMLab-Amsterdam/lie_learn@6d02c2a1705a05340a128cb8d86c19076d0f5f46. Command errored out with exit status 128: git clone -q https:
    //github.com/AMLab-Amsterdam/lie_learn 'C:\Users\PENG\AppData\Local\Temp\pip-req-build-4q8krbla' Check the logs for full command output.
    ERROR: Command errored out with exit status 128: git clone -q https://github.com/AMLab-Amsterdam/lie_learn 'C:\Users\PENG\AppData\Local\Temp\pip-req-build-4q8krbla' Che
    ck the logs for full command output.
HannesStark commented 3 years ago

Maybe you can try if other older commits work in your environment as a very short term solution 😬

EricPengShuai commented 3 years ago

@HannesStark I tried a few old versions but they aren't work.

But I can install with the douban source successfully, but it still reports the error that the module cannot be found https://github.com/AMLab-Amsterdam/lie_learn/issues/16#issuecomment-759891719

pip install lie_learn -i http://pypi.douban.com/simple --trusted-host pypi.douban.com