Does Python update affect install of plugins?

83 views
Skip to first unread message

Claire Frances

unread,
Feb 11, 2021, 1:04:55 AM2/11/21
to Plover
Hello,

 I have begun using Plover (thank you), both 3.1 stable build and the 4.00.dev8xx weekly build, the latter has the modules for plugins. I wanted to install plover_dictionary_builder-master (I also attempted and failed even with following troubleshooting advice, the StenoTray which may also be relevant, though it is a separate application with Python, located at https://github.com/brentn/StenoTray). However, nothing installs. The blog "cheap and sleazy" demonstrates how the module should go through an update process which is grayed out even upon clicking Plugin Manager for Plover under "tools".

The error I receive when I refresh and click "Install Update" without clicking on any module (above the dialogue box) is the following: 

You must give at least one requirement to install (see "pip help install")

You are using pip version 9.0.1, however version 21.0.1 is available.

You should consider upgrading via the 'python -m pip install --upgrade pip' command.


I do not have Python installed and I am using Windows (environment 10), and for the StenoTray I created a desktop shortcut, and created a .bat file but it was not even recognizing a wrong path (I also created the suggested troubleshoot of a cfg file for StenoTray).

Okay, any help would be appreciated. The teacher for this steno class said not to use her theory dictionary, basically to build as we go along (which I did read can be done batch-like on didoesdigital blog if I can get the module plugin installed, which is the plover_dictionary_builder-master https://github.com/morinted/plover_dictionary_builder

PS: I should say I failed and my system possibly suffered trying to install Python (all 3 available on the Microsoft store and directly from the web), and had to reinstall Windows 10 on my PC. 


Thank you for any help.

Glen Warner

unread,
Feb 11, 2021, 4:56:33 PM2/11/21
to Plover
Hi.

Have you seen this one?


Good luck! 

... and thanks for reading Cheap and Sleazy!

 --gdw

Claire Frances

unread,
Feb 12, 2021, 12:24:26 AM2/12/21
to Plover
Hello gdw,
Thanks for the suggestion. Last evening I attempted from the site you referenced, and again now since I have reinstalled Plover since, just to see if there was a possible install error having had to use the debug feature previously. It still does not show any 'success' but can say the instructions and the 'readme' files are not stating if these modulesPypi addons (Sorry not Pip, python savvy) can be used for install - if the targz files need to be downloaded before using the command line and titles of the addons (i.e. Plovary or plover-plugins-manager 0.5.16.

Command results: 

PS C:\Program Files (x86)\Open Steno Project\Plover 4.0.0.dev8+66.g685bd33> .\plover_console.exe -s plover_plugins install plovary
module 'os' has no attribute 'exit'
PS C:\Program Files (x86)\Open Steno Project\Plover 4.0.0.dev8+66.g685bd33> Collecting plovary
Installing collected packages: plovary
Successfully installed plovary-0.2.4
You are using pip version 9.0.1, however version 21.0.1 is available.
You should consider upgrading via the 'python -m pip install --upgrade pip' command.

I must not be understanding the fundamentals, like, some programs will execute an install from the web, pinging a site to install (maybe Drupal did ths?), but that I think is not what is intended with the manual install. Is the package of Pipy supposed to be unzipped in the same folder as the command line reads? 

It would be great if I could get the plugin manager to work!
It would be great if I could get StenoTray to work (I tried the troubleshooting, again, some aspects were unclear but I was able to create a .bat file).

I also ,before I realized it's an exe install for windows, not Python - the datatofish.com/upgrade-pip.

I maybe should give up, just use the stable 3.1.1 version and be grateful I can practice steno at all.

Thank you!

Claire Frances

unread,
Feb 12, 2021, 9:07:19 AM2/12/21
to Plover
Hello just a quick add before I get to practicing steno this morning. I did venture to reinstall Python, viewing there is a version 3.9, and again a '5 minute install' guide, and it appears successful (may not help my crashing Zoom since the last reinstall of Windows having failed a Python install from Microsoft store). However, though the command line instructions followed with success to update PIP (using the instructions here at https://datatofish.com/upgrade-pip/ and it seems successful (see attached command line image), I restarted my PC after it didn't appear to update for Plover (the weekly 4.8xxx developer install), which still reads

You must give at least one requirement to install (see "pip help install")

You are using pip version 9.0.1, however version 21.0.1 is available.

You should consider upgrading via the 'python -m pip install --upgrade pip' command.


Again, it's visible from the image of Command Prompt that it updated. I had opted for PATH to be determined in the Python install, so I am not sure what  the issue is - 
https://datatofish.com/add-python-to-windows-path/  site does go on to suggest manually adding the path, so thought I would do that (having already attempted with residual undeleted files from failed Python previous install), but this time as you can see from the second screenshot, the required scripts folder (which does exist in Plover) is not locatable in the Python 3.9 install, which seems okay, clean install. It says at datatofish I would need this to add to the advanced properties feature of Windows 10 for a path.

Thanks for any next steps (in the direction of Plover!)
Sinc,
Claire


Capture.PNG python install.PNGh
python path.PNG
On Wednesday, February 10, 2021 at 10:04:55 PM UTC-8 Claire Frances wrote:

Claire Frances

unread,
Feb 12, 2021, 9:48:44 AM2/12/21
to Plover
Hello any Plover plugin enthusiasts,

Https://plover.readthedocs.io/en/latest/cli_reference.html - I am wondering if the instructions for installing or updating plugin manager is from the Command Prompt? Where are these commands originating from, it looks like from Windows Command Prompt, but it's from c: not from Python? sorry, very new to this and really interested enough to risk my PC again to try to get plugins working on Plover. Thanks so much.

One other notice, I viewed there was a bug in the Python 3.9 developer - about empty scripts folders, not sure if this has anything to do with there being no scripts as was visible with the MSO install (Python 3).

TKPWAOEBG (if the teacher finds out, GEEK), but not sure how to translate GEEKY, that's my input, thank you!
On Wednesday, February 10, 2021 at 10:04:55 PM UTC-8 Claire Frances wrote:

Benoit Pierre

unread,
Feb 12, 2021, 10:24:30 AM2/12/21
to ploversteno
On Fri, Feb 12, 2021 at 3:48 PM Claire Frances <ctf...@gmail.com> wrote:
Hello any Plover plugin enthusiasts,

Https://plover.readthedocs.io/en/latest/cli_reference.html - I am wondering if the instructions for installing or updating plugin manager is from the Command Prompt? Where are these commands originating from, it looks like from Windows Command Prompt, but it's from c: not from Python? sorry, very new to this and really interested enough to risk my PC again to try to get plugins working on Plover. Thanks so much.

From a Windows command prompt, in the directory of Plover's installation (where plover.exe/plover_console.exe are located).
 
One other notice, I viewed there was a bug in the Python 3.9 developer - about empty scripts folders, not sure if this has anything to do with there being no scripts as was visible with the MSO install (Python 3).

The Plover Windows distribution has its own internal version of Python and pip, you can't update those externally.

Anyway, I suggest you get this version I just built instead: https://ci.appveyor.com/project/benoit-pierre/plover/builds/37747162/artifacts . It comes with the latest version of the plugins manager and a more recent version of Python than the previous weekly. You should be able to use the plugins manager UI to install the plugin(s) you want to use. N.B.: you'll have to reinstall your other plugins (different versions of Python means different plugins install folders).

Cheers,

--
A: Because it destroys the flow of conversation.
Q: Why is top posting dumb?

Claire Frances

unread,
Feb 13, 2021, 1:33:55 AM2/13/21
to Plover
Hello Benoit,
Thank you for the link and the suggestion about plugins. I did uninstall the Python 3.9, and there is no Python installed n the 2nd PC I use for Steno but it worked on both, hurrah. I am not sure what you mean regarding Python (you say it's only internal using python with Plover as an exe file) as  it varies between plugins and versions of Python?

For output on Plover, the plugins don't seem to make much difference with the normal typing procedure (I did click install and they did for about 5 different plugins including Plovary, and clippy, and what I was really excited about, the Excel dictionary, Plover jaws, and Plover layout display.

I did try to import an Excel file but there isn't any option for Excel file only RTF and JSON for adding a dictionary, so maybe from the readme fie it is suggesting  something I do not know as far as adding Excel dictionary content.

I tried StenoTray which isn't a plugin obviously but supposed to work compatibly with Plover but again it isn't working. 

I  am trying to make a short video that I can pass along to a classmate on the benefits of Plover even without actually knowing enough as a novice user how to use the plugins once activated.

Thanks again and you all are doing great work!

Benoit Pierre

unread,
Feb 13, 2021, 11:46:01 AM2/13/21
to ploversteno
On Sat, Feb 13, 2021 at 7:33 AM Claire Frances <ctf...@gmail.com> wrote:
Hello Benoit,
Thank you for the link and the suggestion about plugins. I did uninstall the Python 3.9, and there is no Python installed n the 2nd PC I use for Steno but it worked on both, hurrah. I am not sure what you mean regarding Python (you say it's only internal using python with Plover as an exe file) as  it varies between plugins and versions of Python?

The Windows zip/installer for Plover already comes with its own internal version of Python (and everything else needed to run Plover). When that internal version if updated to a new major version of Python (e.g. 3.6.x to 3.7.x), then the install directory for the user installed plugins changes, so you need to reinstall them.
 
For output on Plover, the plugins don't seem to make much difference with the normal typing procedure (I did click install and they did for about 5 different plugins including Plovary, and clippy, and what I was really excited about, the Excel dictionary, Plover jaws, and Plover layout display.

I did try to import an Excel file but there isn't any option for Excel file only RTF and JSON for adding a dictionary, so maybe from the readme fie it is suggesting  something I do not know as far as adding Excel dictionary content.

Did you restart Plover? You need to restart when installing/removing/updating plugins. The extensions supported by the Excel dictionary plugin are: ods (Libreoffice) and xlsx. Plovary does not seem to be a valid Plover plugin: it looks like a tool for creating dictionaries, but it's not a plugin and won't be installable through the manager.

Just to be sure, here is the complete procedure for setting Plover up:

- download the version I linked in my previous email, either the standalone zip (which you just need to decompress), or use the installer
- start Plover
- click on "Tools", then "Plugins manager"
- install the plugins you want: make sure the installation was successful (the last line in the installation output window should show "Successfully installed ..."), if not, please grab and send us a screenshot of the error(s)
- click restart
- if after restarting, or on supsequent startups, Plover cannot load a plugin, you'll get an error notification, please grab and send us a screenshot of the error(s) (alternatively, you can start Plover in debug mode using plover_console.exe, and copy/paste us the output from the console window)

Or at least that's the theory, of course the last build ignore user-installed plugins for some reason... I'm looking into it, will send you a new version once I fixed the issue.

Cheers,

Benoit Pierre

unread,
Feb 13, 2021, 12:44:22 PM2/13/21
to ploversteno
On Sat, Feb 13, 2021 at 5:45 PM Benoit Pierre <benoit...@gmail.com> wrote:
[...]

Or at least that's the theory, of course the last build ignore user-installed plugins for some reason... I'm looking into it, will send you a new version once I fixed the issue.
Reply all
Reply to author
Forward
0 new messages