Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug - auto install non existing module packages #281

Open
maya-tabnine opened this issue Feb 7, 2022 · 3 comments
Open

Bug - auto install non existing module packages #281

maya-tabnine opened this issue Feb 7, 2022 · 3 comments
Labels
bug Something isn't working

Comments

@maya-tabnine
Copy link

maya-tabnine commented Feb 7, 2022

When choosing a TabNine suggestion, it automatically tries to install a package with the name of the suggestion.

Happened on: PyCharm 2021.2.3
OS: Windows
Engine version: 4.0.60
Plugin version: 0.5.16 or 0.5.15

gz#11700

@maya-tabnine maya-tabnine added the bug Something isn't working label Feb 7, 2022
@nhamilakis
Copy link

I also have the same issue, whenever i create a new variable it tries to find a package of the same name, if a package exists it installs it in the current env. An option to deactivate auto installation of packages would resolve the issue for me.

Happened on: PyCharm 2021.3.2 (Professional Edition)
OS: Ubuntu 18.04
Build: #PY-213.6777.50, built on January 27, 2022
Runtime version: 11.0.13+7-b1751.25 amd64
VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o.
Linux 5.4.0-110-generic
GC: G1 Young Generation, G1 Old Generation
Memory: 2048M
Cores: 16

@vmgustavo
Copy link

Same issue here. Please make this a higher priority issue if possible, we are seing recently a numerous PyPi Malicious Python Packages and this auto installation could be a significant problem.

When I was adding the decorator @staticmethod

It also added this line automatically

PyCharm 2021.3.3 (Community Edition)
Build #PC-213.7172.26, built on March 16, 2022
Runtime version: 11.0.14.1+1-b1751.46 amd64
VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o.
Linux 5.4.0-109-generic
GC: G1 Young Generation, G1 Old Generation
Memory: 1982M
Cores: 12
Non-Bundled Plugins:
com.tabnine.TabNine (0.6.0)
com.andrey4623.rainbowcsv (2.0.1)
com.ppolivka.plugin.gitcleaner (1.1.4)

@eccodolf
Copy link

Disable automatic install of prebuilt shared indexes in Settings -> Tools -> Shared indexes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants