The package repositories don't seem to show up

The package repositories don't seem to show up, I am a Chinese user and have added Chinese domestic mirror sites, but the list of repositories in pycharm doesn't seem to show a list of third party repositories and their names, how am I supposed to do this, please check the attached image for details of the problem, thank you for checking.

1
11 comments

Hello,

Unfortunately, I can't reproduce the issue; the mentioned repository was added without any issues. 

Please click Apply and ok after adding the repo and try clicking the refresh button after.

0

I have the same issue. PyCharm 2023.1.3 (Community Edition) Build #PC-231.9161.41, built on June 20, 2023. Added via "Manage repository" button --> click "Reload all repositories" --> New repo doesn't apear (but I can install packages via terminal (pip install)). My colleague has another version of PyCharm and he doesn't have this problem. 

Should I use another version or you have some fix?

0

Hell0! 

My OS:

    Выпуск    Windows 10 Pro
    Версия    22H2
    Дата установки    ‎03.‎07.‎2023
    Сборка ОС    19045.3086
    Взаимодействие    Windows Feature Experience Pack 1000.19041.1000.0.

Upload id: 2023_07_17_2DWJTTcQC3apeHTL4rV2v2 (file: v_borulko_python_packages_logs.zip) --- logs.

Screenshots:

0

Hello @V Borulko

Thank you for the logs and the screenshot. 

In the logs: 

2023-07-17 10:12:16,887 [2774371] SEVERE - #c.i.o.a.i.CoroutineExceptionHandlerImpl - Unhandled exception in [CoroutineName(ApplicationImpl@1977154511), StandaloneCoroutine{Cancelling}@75c18fd4, Dispatchers.IO]
java.net.UnknownHostException: repos.test.kz
    at java.base/sun.nio.ch.NioSocketImpl.connect(NioSocketImpl.java:567)

 

Do you have any FW or proxy server? All points to the network access problem. 

 

 

 

0

Test repo doesnt exist. Others is 0k --- but they doesn't apear in "Python Packages" panel. By the way, I can install package from terminal window, but I want to switch packages version through PyCharm GUI.

0

I see, 

Another error in the logs refers to connection timeout: 

 

2023-07-12 14:30:07,138 [2218273]   INFO - #c.j.p.p.PyPIPackageUtil - Fetching index of all packages available on https://pypi.python.org/simple
2023-07-12 14:30:07,251 [2218386]   INFO - STDERR - Exception in thread "DefaultDispatcher-worker-3" java.net.SocketTimeoutException: Connect timed out 

 

I am wondering is it a big repo? How many packages are there? 

0

Yeah --- default repo is closed and we use local repo (there are a lot of packages). As I mention above, I can install packages from our local repo, but I don't see them in GUI.

0

I see, thank you! 

I have an assumption that timeout is exceeded when PyCharm requests a list of packages from the repo. 

 

Could you please execute from the command line:

curl <repo_url> > out.txt 

 

How much time approximately it will take? 

 

0

I got answer immediately.

0

Problem solved. Migrated to older version 2021.2.3 (PyCharm EDU)

0

Please sign in to leave a comment.