Git Product home page Git Product logo

Comments (11)

 avatar commented on May 26, 2024 1

when use Python 2.7 , where need to change?

from pysot.

linkinpark213 avatar linkinpark213 commented on May 26, 2024

The Tsinghua Anaconda mirror is closed. You can swap for SJTU mirror by running:

conda config --add channels https://mirrors.sjtug.sjtu.edu.cn/anaconda/pkgs/free/

from pysot.

 avatar commented on May 26, 2024

Collecting package metadata: failed

UnavailableInvalidChannel: The channel is not accessible or is invalid.
channel name: anaconda/cloud/conda-forge
channel url: https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/conda-forge
error code: 404

You will need to adjust your conda configuration to proceed.
Use conda config --show channels to view your configuration's current state,
and use conda config --show-sources to view config file locations.

from pysot.

linkinpark213 avatar linkinpark213 commented on May 26, 2024

Oh, I forgot that you also need to delete the Tsinghua channel in your configurations. But I suppose you should be able to access anaconda packages already.

conda config --remove channels 'https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free/' 

By the way, can you post the returned message of conda config --show channels?

from pysot.

 avatar commented on May 26, 2024

yes
public@root1-MS-7A94:~$ conda config --show channels
channels:

UnavailableInvalidChannel: The channel is not accessible or is invalid.
channel name: anaconda/cloud/conda-forge
channel url: https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/conda-forge
error code: 404

You will need to adjust your conda configuration to proceed.
Use conda config --show channels to view your configuration's current state,
and use conda config --show-sources to view config file locations.

from pysot.

linkinpark213 avatar linkinpark213 commented on May 26, 2024

There are 6 more channels from Tsinghua's mirror. You can remove them all by:

conda config --remove channels https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/pytorch/
conda config --remove channels https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/menpo/
conda config --remove channels https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/bioconda/
conda config --remove channels https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/conda-forge/
conda config --remove channels https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/msys2/
conda config --remove channels https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main/

or you can delete the file ~/.condarc and try conda create --name pysot python=3.6 again.

from pysot.

 avatar commented on May 26, 2024

thanks , it is ok

from pysot.

 avatar commented on May 26, 2024

is it ok for cuda9.1or 9.2 python2.7 torch4.0 ?

from pysot.

linkinpark213 avatar linkinpark213 commented on May 26, 2024

I don't think Python 2.7 is OK. And the PyTorch version should be 0.4.1 or higher.

from pysot.

lb1100 avatar lb1100 commented on May 26, 2024

Python 2 hasn't been tested. And it will not be supported by community in recent few months. We won't provide support for Python2.7 either. So better to try Python 3.

from pysot.

 avatar commented on May 26, 2024

(base) cbl@N606-TITAN32:~$ conda create --name pysot python=3.7
WARNING: The conda.compat module is deprecated and will be removed in a future release.
Collecting package metadata: - ERROR urllib3.connection:_match_hostname(378): Certificate did not match expected hostname: mirrors.sjtug.sjtu.edu.cn. Certificate: {'subject': ((('commonName', 'drcom.szu.edu.cn'),),), 'subjectAltName': [('DNS', 'drcom.szu.edu.cn')]} \ ERROR urllib3.connection:_match_hostname(378): Certificate did not match expected hostname: mirrors.sjtug.sjtu.edu.cn. Certificate: {'subject': ((('commonName', 'drcom.szu.edu.cn'),),), 'subjectAltName': [('DNS', 'drcom.szu.edu.cn')]} | ERROR urllib3.connection:_match_hostname(378): Certificate did not match expected hostname: mirrors.sjtug.sjtu.edu.cn. Certificate: {'subject': ((('commonName', 'drcom.szu.edu.cn'),),), 'subjectAltName': [('DNS', 'drcom.szu.edu.cn')]} / ERROR urllib3.connection:_match_hostname(378): Certificate did not match expected hostname: mirrors.sjtug.sjtu.edu.cn. Certificate: {'subject': ((('commonName', 'drcom.szu.edu.cn'),),), 'subjectAltName': [('DNS', 'drcom.szu.edu.cn')]} failed

CondaHTTPError: HTTP 000 CONNECTION FAILED for url https://mirrors.sjtug.sjtu.edu.cn/anaconda/pkgs/free/noarch/repodata.json
Elapsed: -

An HTTP error occurred when trying to retrieve this URL.
HTTP errors are often intermittent, and a simple retry will get you on your way.
SSLError(MaxRetryError('HTTPSConnectionPool(host='mirrors.sjtug.sjtu.edu.cn', port=443): Max retries exceeded with url: /anaconda/pkgs/free/noarch/repodata.json (Caused by SSLError(SSLCertVerificationError("hostname 'mirrors.sjtug.sjtu.edu.cn' doesn't match 'drcom.szu.edu.cn'")))'))

what is the matter?

from pysot.

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.