tabnine-intellij icon indicating copy to clipboard operation
tabnine-intellij copied to clipboard

Bug - auto install non existing module packages

Open maya-tabnine opened this issue 3 years ago • 3 comments

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 avatar Feb 07 '22 14:02 maya-tabnine

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

nhamilakis avatar Jun 02 '22 13:06 nhamilakis

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)

vmgustavo avatar Jun 29 '22 13:06 vmgustavo

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

eccodolf avatar Jun 30 '22 07:06 eccodolf