Giter Club home page Giter Club logo

Comments (7)

chenpnn avatar chenpnn commented on July 20, 2024 1

Hi @chenpnn, could you please try to install by another pip source like pip install . -i https://pypi.tuna.tsinghua.edu.cn/simple? Because the SSLError seems a network problem.

Thanks, this method works for me!

from abess.

Mamba413 avatar Mamba413 commented on July 20, 2024

@chenpnn ,can you paste the Error information here rather than using screenshot? Also, can you provide some information for your python environment?

from abess.

chenpnn avatar chenpnn commented on July 20, 2024

@Mamba413 Thanks for your reply, the installation error is shown as follows:

Processing d:\github\abess\python
  Installing build dependencies ... error
  ERROR: Command errored out with exit status 1:
   command: 'C:\Users\cp\Anaconda3\python.exe' 'C:\Users\cp\Anaconda3\lib\site-packages\pip' install --ignore-installed --no-user --prefix 'C:\Users\cp\AppData\Local\Temp\pip-build-env-dk8isntj\overlay' --no-warn-script-location --no-binary :none: --only-binary :none: -i https://pypi.org/simple -- 'setuptools>=42' wheel 'pybind11>=2.8.0' oldest-supported-numpy
       cwd: None
  Complete output (8 lines):
  WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError(SSLError(1, '[SSL: KRB5_S_TKT_NYV] unexpected eof while reading (_ssl.c:1091)'))': /simple/setuptools/
  WARNING: Retrying (Retry(total=3, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError(SSLError(1, '[SSL: KRB5_S_TKT_NYV] unexpected eof while reading (_ssl.c:1091)'))': /simple/setuptools/
  WARNING: Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError(SSLError(1, '[SSL: KRB5_S_TKT_NYV] unexpected eof while reading (_ssl.c:1091)'))': /simple/setuptools/
  WARNING: Retrying (Retry(total=1, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError(SSLError(1, '[SSL: KRB5_S_TKT_NYV] unexpected eof while reading (_ssl.c:1091)'))': /simple/setuptools/
  WARNING: Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError(SSLError(1, '[SSL: KRB5_S_TKT_NYV] unexpected eof while reading (_ssl.c:1091)'))': /simple/setuptools/
  Could not fetch URL https://pypi.org/simple/setuptools/: There was a problem confirming the ssl certificate: HTTPSConnectionPool(host='pypi.org', port=443): Max retries exceeded with url: /simple/setuptools/ (Caused by SSLError(SSLError(1, '[SSL: KRB5_S_TKT_NYV] unexpected eof while reading (_ssl.c:1091)'))) - skipping
  ERROR: Could not find a version that satisfies the requirement setuptools>=42
  ERROR: No matching distribution found for setuptools>=42
  ----------------------------------------
ERROR: Command errored out with exit status 1: 'C:\Users\cp\Anaconda3\python.exe' 'C:\Users\cp\Anaconda3\lib\site-packages\pip' install --ignore-installed --no-user --prefix 'C:\Users\cp\AppData\Local\Temp\pip-build-env-dk8isntj\overlay' --no-warn-script-location --no-binary :none: --only-binary :none: -i https://pypi.org/simple -- 'setuptools>=42' wheel 'pybind11>=2.8.0' oldest-supported-numpy Check the logs for full command output.

This error was reported when I tried to directly install abess using the source code cloned from GitHub in a new virtual environment (with no other packages installed), which was created by conda. Also, the version of Python is 3.9.1.

from abess.

Mamba413 avatar Mamba413 commented on July 20, 2024

@chenpnn ,it seems that setuptools>=42 is not support by Python 3.9.1? Can you make another python environment and try it again?

from abess.

Mamba413 avatar Mamba413 commented on July 20, 2024

@oooo26 , can you recommend you python version to @chenpnn

from abess.

oooo26 avatar oooo26 commented on July 20, 2024

Hi @chenpnn, could you please try to install by another pip source like pip install . -i https://pypi.tuna.tsinghua.edu.cn/simple? Because the SSLError seems a network problem.

from abess.

oooo26 avatar oooo26 commented on July 20, 2024

Besides, when I create a new environment with conda create -n py391 python=3.9.1, it has already included setuptools-65.6.3 and shows no problem on installation.

And by the way, a completely new environment maybe fail on compiling the latest abess. Please make sure these tools have been installed.

from abess.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.