slightc / pip-manager

Manager Python package in vscode
MIT License
58 stars 10 forks source link

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

Closed emile-o closed 2 years ago

emile-o commented 2 years ago

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

mark-wehrmann commented 2 years ago

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

slightc commented 2 years ago

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

mark-wehrmann commented 2 years ago

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

mark-wehrmann commented 2 years ago

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

slightc commented 2 years ago
image

can you check have any information in you output

mark-wehrmann commented 2 years ago

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?

emile-o commented 2 years ago

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

calcuims commented 2 years ago

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

thebrianlenz commented 2 years ago

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.

Phorensyk commented 2 years ago

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

BobDenny commented 2 years ago

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.

slightc commented 2 years ago

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!

BobDenny commented 2 years ago

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.

darkvertex commented 2 years ago

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.

Julien-Quidam commented 2 years ago

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

lz100 commented 2 years ago

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

BobDenny commented 2 years ago

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.

Elka2000 commented 2 years ago

@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.

Clysmo commented 2 years ago

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

slightc commented 2 years ago

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

macidymac commented 1 year ago

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

Fix it for me