pyload icon indicating copy to clipboard operation
pyload copied to clipboard

Failed to install

Open linsui opened this issue 3 years ago • 2 comments

Description

Install from pip failed.

Debug log

~ ❯❯❯ pip install --pre pyload-ng
Looking in indexes: https://pypi.tuna.tsinghua.edu.cn/simple
Collecting pyload-ng
  Downloading https://pypi.tuna.tsinghua.edu.cn/packages/ef/61/91a235b85d0bc81f7dddd432412275115ba896d7103b70067c930d7e3efb/pyload_ng-0.5.0a9.dev643-py3-none-any.whl (1.3 MB)
     |████████████████████████████████| 1.3 MB 1.6 MB/s
Collecting Flask-Babel~=1.0
  Using cached https://pypi.tuna.tsinghua.edu.cn/packages/76/a4/0115c7c520125853037fc1d6b3da132a526949640e27a699a13e05ec7593/Flask_Babel-1.0.0-py3-none-any.whl (9.5 kB)
Collecting semver~=2.10
  Downloading https://pypi.tuna.tsinghua.edu.cn/packages/94/19/275d10576ad1b19b801efa478182d7352d244a40164162334010e3a948d5/semver-2.10.2-py2.py3-none-any.whl (12 kB)
Collecting cryptography~=3.0
  Using cached https://pypi.tuna.tsinghua.edu.cn/packages/a1/79/055a6efcedae9d24bde4cf3ec3b07b9df7f8ef3e7c6fbb0901d425e59362/cryptography-3.1-cp38-cp38-win_amd64.whl (1.5 MB)
Collecting Cheroot~=8.4
  Using cached https://pypi.tuna.tsinghua.edu.cn/packages/bd/39/942862090e73344fc60461449ae2755c71de4a8ce735174474dc283bfda7/cheroot-8.4.5-py2.py3-none-any.whl (92 kB)
Collecting bitmath~=1.3
  Using cached https://pypi.tuna.tsinghua.edu.cn/packages/ec/ec/808245570e00df2e1fe8252903da309f18eb58768f44fecc0215dafbc386/bitmath-1.3.3.1.tar.gz (88 kB)
Collecting Flask-Caching~=1.9
  Downloading https://pypi.tuna.tsinghua.edu.cn/packages/d1/9f/135bcf47fdb585dffcf9f918664ab9d63585aae8e722948b2abca041312f/Flask_Caching-1.9.0-py2.py3-none-any.whl (33 kB)
Collecting Flask-Themes2~=0.1
  Using cached https://pypi.tuna.tsinghua.edu.cn/packages/fa/3f/c9615626ce769bb462b00b1a8c8398d383437cdd2a352c99d3993aaca002/Flask-Themes2-0.1.5.tar.gz (10 kB)
Collecting Flask~=1.1
  Downloading https://pypi.tuna.tsinghua.edu.cn/packages/f2/28/2a03252dfb9ebf377f40fba6a7841b47083260bf8bd8e737b0c6952df83f/Flask-1.1.2-py2.py3-none-any.whl (94 kB)
     |████████████████████████████████| 94 kB 6.4 MB/s
Collecting Js2Py~=0.7
  Downloading https://pypi.tuna.tsinghua.edu.cn/packages/f4/6a/0385641ad1b52aae5c63820277a10e500c19e40fc4df5287f161aa287020/Js2Py-0.70-py3-none-any.whl (605 kB)
     |████████████████████████████████| 605 kB ...
Collecting pycurl~=7.43
  Downloading https://pypi.tuna.tsinghua.edu.cn/packages/50/1a/35b1d8b8e4e23a234f1b17a8a40299fd550940b16866c9a1f2d47a04b969/pycurl-7.43.0.6.tar.gz (222 kB)
     |████████████████████████████████| 222 kB 6.4 MB/s
    ERROR: Command errored out with exit status 10:
     command: 'd:\scoop\apps\python\current\python.exe' -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\Users\\wavel\\AppData\\Local\\Temp\\pip-install-uq4vi0ih\\pycurl\\setup.py'"'"'; __file__='"'"'C:\\Users\\wavel\\AppData\\Local\\Temp\\pip-install-uq4vi0ih\\pycurl\\setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' egg_info --egg-base 'C:\Users\AppData\Local\Temp\pip-pip-egg-info-eqtn9vus'
         cwd: C:\Users\AppData\Local\Temp\pip-install-uq4vi0ih\pycurl\
    Complete output (1 lines):
    Please specify --curl-dir=/path/to/built/libcurl
    ----------------------------------------
ERROR: Command errored out with exit status 10: python setup.py egg_info Check the logs for full command output.

Additional references

Screenshots

linsui avatar Sep 12 '20 11:09 linsui

This is a problem installing pycurl on windows. I suggest to install pycurl directly (like mentioned in the official pycurl documentation http://pycurl.io/docs/latest/install.html#windows). The download page is here: https://dl.bintray.com/pycurl/pycurl/ (You have to pick the right one for your python version e.g. py3.7 -> pyhton3.7, amd64 -> 64Bit installation, win32 -> 32Bit installation).

OzzieIsaacs avatar Sep 13 '20 11:09 OzzieIsaacs

Thanks! Then I would rather use the standalone pyload package.

linsui avatar Sep 13 '20 12:09 linsui