pip-manager icon indicating copy to clipboard operation
pip-manager copied to clipboard

issue: extension window just says "wait init ..."

Open emile-o opened this issue 3 years ago • 19 comments

Extension unfortunately doesn't work for me. Window just says "wait init ..." the whole time. If i click on any of the buttons they just say "command 'pip-manager.addPackage' not found" for instance

emile-o avatar Mar 22 '22 19:03 emile-o

I have the same. On VS Code installed on Chromebook (Debian 64-Bit)

pip3 -V outputs pip 18.1 from /usr/lib/python3/dist-packages/pip (python 3.7)

pip outputs command not found

mark-wehrmann avatar Mar 22 '22 21:03 mark-wehrmann

this extension depend extension ms-python.python, maybe you ms-python.python not actived,

you can try open a python file in vscode , you can see that select a version for your python in status bar like this.

image

then try open pip-manager again

slightc avatar Mar 23 '22 11:03 slightc

Works now without that I have changed anything. May a reboot has done some magic !?!?!

mark-wehrmann avatar Mar 23 '22 17:03 mark-wehrmann

Unfortunately it only worked on Windows installation not on Chrombook (Debain 64)

image

As you can see: Python in Status Bar is visible Also, other extensions such as Python Environment Manager work fine

mark-wehrmann avatar Mar 23 '22 17:03 mark-wehrmann

image

can you check have any information in you output

slightc avatar Mar 23 '22 18:03 slightc

image

See screenshot: Interestingly Pip Manager does not produce any output windows. Really weird. However those error messages are popping up instead. Any further idea?

mark-wehrmann avatar Mar 23 '22 20:03 mark-wehrmann

I also don't get Pip Manager output window My OS is Ubuntu 21.10 with Snap version of VSCode

emile-o avatar Mar 25 '22 13:03 emile-o

I also get this issue. When I click any button it goes "Unexpected string in JSON at position 3" (sometimes position 0)

calcuims avatar Apr 05 '22 15:04 calcuims

I am also experiencing this issue. I tried installing an earlier version (1.1.0), just out of curiosity, and it does seem to work.

thebrianlenz avatar Apr 08 '22 22:04 thebrianlenz

SOLUTION:

I'm using Ubuntu 22.04 LTS, python3.10, and have pip 22.0.4. I got the same 'wait init...' issue and even with ms-python.python active, couldn't get pip manager 1.1.1 to finish initializing. Similar to thebrianlenz, I switched to pip manager 1.1.0 and after reloading VS Code, got it working.

Hope this helps

Phorensyk avatar Apr 28 '22 23:04 Phorensyk

Raspberry Pi Bulldog, same problem, never finishes init. VSCode and ms-python working OK. Backed down to 1.1.0, that version runs OK. Thanks guys for that tip! I have disabled sync for the extension because 1.1.1 runs fine on my Windows VSCode.

BobDenny avatar May 07 '22 14:05 BobDenny

em,this is an annoying bug, I can't replicate the problem,that run fine in my windows macos and ubuntu, I will try fix it in 1.1.2. and welcome every guys PR to help me, thanks!

slightc avatar May 07 '22 16:05 slightc

Hi well it is definitely within the changes between 1.1.0 and 1.1.1... you might do a diff-inspection to see what you changed, and you may find something surprising.

BobDenny avatar May 14 '22 03:05 BobDenny

Hello, just here to say I also had the same issue. After installing 1.1.0 and making sure I had opened a Python file so the Python extension "woke up", it worked.

I'm in Ubuntu under WSL on Windows10.

darkvertex avatar Jun 10 '22 04:06 darkvertex

I have the same issue. When I try to refresh, I have this message : command 'pip-manager.refreshPackage' not found In a shell : pip-manager.refreshPackage : pip-manager.refreshPackage: command not found

pip-manager : lunch pip-manager 1.0.4

I'm in Ubuntu, Python 3.10.4 and 3.7.13

Julien-Quidam avatar Jul 03 '22 13:07 Julien-Quidam

same here command 'pip-manager.refreshPackage' not found, Ubuntu 20, python 3.8.10, pip manager 1.1.1

lz100 avatar Jul 11 '22 22:07 lz100

This is a very useful extension, I hope you can fix 1.1.1. It is definitely in this change set because 1.1.0 is fine.

BobDenny avatar Jul 30 '22 17:07 BobDenny

@Phorensyk hi how are you installing the 1.0.0 version? I tried searching for it in the extensions tab but could not find it.

Elka2000 avatar Aug 03 '22 17:08 Elka2000

Found a solution here: [https://github.com/slightc/pip-manager/issues/12] It involves removing and reinstalling python installations!

Clysmo avatar Aug 16 '22 12:08 Clysmo

new version released, that problem is resolved close this issue https://github.com/slightc/pip-manager/releases/tag/v1.1.2

slightc avatar Nov 28 '22 11:11 slightc

If anyone is still looking - updating PIP using python.exe -m pip install --upgrade pip

Fix it for me

macidymac avatar Aug 14 '23 23:08 macidymac