PyCharm interpreter can't find new packages
Hi,
So this has confused me because it's worked perfectly fine in the past. Adding packages to my project interpreter no longer seems to find any packages. Even simple things like pip or numpy don't show up when I search for them.
Just so I know, are there usually more repositories than 'https://pypi.python.org/pypi' under 'Manage Repositories'?
I could've sworn there was a longer list of them but now that's the only repository I have listed.
Thanks!
-Mark
请先登录再写评论。
I have the same problem with EAP.
The available packages is empty
Yeah, simple didn't work for me either.
Seems like error occurs for some but not for others based on the bug track.
At any rate I can still add packages via command line. I'd love to know why this worked last week but now decided to stop functioning, though.
Thanks!
The issue https://youtrack.jetbrains.com/issue/PY-20081 should be fixed in PyCharm 2016.2. Please update your PyCharm version and check it.
I just tried adding http://pypi.python.org/simple/ to the repository list in pycharm 2016.2 but it isn't pulling in any of the entries from that page.
I have PyCharm 2016.2.3 installed on a Windows 7 machine and I keep getting this error message:
"Error loading package list:unknown protocol: d"
This is happening for my virtualenvs for Python 2.7 and Python 3.4. My package repositories has this entry:
https://pypi.python.org/simple
Is this a known issue?
Never mind, I found that I had a bad entry in my repository list preceding the valid entry of https://pypi.python.org/simple. I deleted the bad entry and the problem is fixed.
Hi, I had the same issue, but this helped:
Go to Settings -> Project Interpreter -> click green "+" icon (on right) -> Manage Repositories (on bottom) -> delete https://pypi.python.org/simple -> add:
then click Ok. Repo will be back again as /simple, but don't worry, error should disappear and you should be able to install packages again.
I have the latest version of PyCharm Community Edition but experiencing the same problem. So in order to connect to databases and to read excel files, I use VS Code. How can it be resolved?
Default repository is: https://pypi.python.org/simple
That is, if you're not using conda package manager, in which case the repository should just say "defaults".
Check if you have anything configured under **File | Settings | Appearance & Behavior | System Settings | HTTP Proxy** and that connection to https://pypi.python.org/simple can be established.
latest version here and this is still an issue
pyhton -m pip install [package] works, but pycharm can't see the package
@Nagydaniel1337
Do you use the latest PyCharm version?
What kind of interpreter do you use? (venv, conda env...)
Sergey Karpov
venv, python3.7
PyCharm 2019.2.5 (Community Edition)
Build #PC-192.7142.56, built on November 19, 2019
Runtime version: 11.0.4+10-b304.77 amd64
VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o
Windows 10 10.0
GC: ParNew, ConcurrentMarkSweep
Memory: 1979M
Cores: 12
Registry:
Non-Bundled Plugins: codes.rudolph.idea.cfg, com.alayouni.ansiHighlight, com.intellij.ideolog, com.jetbrains.plugins.ini4idea, com.millennialmedia.intellibot@SeleniumLibrary Patched, net.seesharpsoft.intellij.plugins.csv
no change after update to:
PyCharm 2019.3.2 (Community Edition)
Build #PCA-193.6015.41, built on January 21, 2020
Runtime version: 11.0.5+10-b520.30 amd64
VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o
Windows 10 10.0
GC: ParNew, ConcurrentMarkSweep
Memory: 1979M
Cores: 12
Registry:
Non-Bundled Plugins: codes.rudolph.idea.cfg, com.alayouni.ansiHighlight, com.intellij.ideolog, com.jetbrains.plugins.ini4idea, com.millennialmedia.intellibot@SeleniumLibrary Patched, net.seesharpsoft.intellij.plugins.csv
What are the steps for reproducing?
You open the terminal in PyCharm and install a package, but PyCharm can't find it?
Does File | Invalidate Caches / Restart... help?
now it works with @...'s solution. thanks for it. I can now find the package what I uploaded with twine 1-2 days ago. even if the added pypi repo disappeared from the repo list.
I have this problem too and can't do anything to fix it! Krecik704's solution isn't working for me!
Hello megahomyak,
Could you tell me what exactly seems to be an issue?
Please upload your logs folder zipped from ***Help | Collect logs and Diagnostic Data*** to the FTP
https://uploads.jetbrains.com/ and please let me know the filename.
Antonina Belianskaya
I can't set up common, NOT SIMPLE pypi for package finding. If I add https://pypi.python.org/pypi, row just disappears after exiting the "Manage Repositories" window using "Ok" button. Changing the existing row also have the same results.
Upload id: 2021_01_10_14kBY19rBRAQjWDe (file: idea-logs-20210110-153125.zip)
megahomyak
https://pypi.python.org/pypi doesn't seem to be valid anymore. Navigate to it in the browser and you'll be redirected to https://pypi.org/
While https://pypi.python.org/simple redirects to https://pypi.org/simple/ and shows index list as it should.
Am I missing something?
Andrey Resler, I tried your suggestions but none of them gave needed results. I only saw clickable things on site as packages without a possibility to view them. Also tried https://pypi.python.org/search/, this one isn't working correctly either.
>I only saw clickable things on site as packages without a possibility to view them
Yes, this is what you should see if you navigate to https://pypi.org/simple/ , and this URL should work if you add it to the repository list:
Doesn't it work for you?
It is, but it's not what I wanted, because that list isn't containing new packages. I googled that I can't search packages like I expected when using that thing, so my question is no longer relevant. Thx everyone
I have a similar problem. I freshly installed PyCharm on my new notebook and I do not see any packages. If I open the Manage Repositories window and type in a repository address only a small wheel is turning, but nothing happens:
Any ideas?
@...
Could be a network-related issue. If you can open the repo URL in browser, try disabling any firewall you may have.
Check Logs from **Help | Collect Logs and Diagnostic Data** for any errors.
I checked that, there should be no problem. Browser, curl, both worked and were able to retreive the url.
However conda did not work from the command line as well and gave an 404 with the correct address.
It seemed more related to the conda channel config. After removing some channels, at least the command line call works now. However, still no activity in the PyCharm repositories section :( Not even after restarting PyCharm.
Ok, does it work for venv interpreter? If positive, that it definitely looks like conda-related issue...
Yes, it works with the other interpreter. It really seems to be a problem with the conda environment itself. I'll have to have a closer look into that.
Anyway, thanks for the help ;)
@..., were you able to solve the problem? I have the exact same issue as you describe !
Thanks.