googlefonts / pyfontaine

Python tool to check font files for language/character set support
https://github.com/googlefonts/pyfontaine
GNU General Public License v3.0
103 stars 22 forks source link

Installing instructions update #125

Open vv-monsalve opened 3 years ago

vv-monsalve commented 3 years ago

When following the installing instructions with @felipesanches for the pyicu dependency the following Error was reported: RuntimeError: Please set the ICU_VERSION environment variable to the version of ICU you have installed.

Screen Shot 2021-04-14 at 17 41 11

We included the ICU_VERSION and it worked, although it reported some other errors.

Screen Shot 2021-04-14 at 17 32 56

felipesanches commented 3 years ago

this is a duplicate of #109

felipesanches commented 3 years ago

@vv-monsalve, could you please try reinstalling pyicu using the commands mentioned at https://github.com/googlefonts/pyfontaine/issues/109#issuecomment-604872347 ?

Those commands seem almost identical to what we already have on the install instructions, so I'd like to know if that makes any difference for you. For me here, it ran cleanly, installing pyicu with no additional error/warning messages

felipesanches commented 3 years ago
Captura de Tela 2021-04-16 às 05 33 39
vv-monsalve commented 3 years ago

@vv-monsalve, could you please try reinstalling pyicu using the commands mentioned at #109 (comment) ?

Those commands seem almost identical to what we already have on the install instructions, so I'd like to know if that makes any difference for you. For me here, it ran cleanly, installing pyicu with no additional error/warning messages

So I'll start a fresh process. I'll follow the instructions on the comment to install the pyicu and then I'll try the pip install -e for pyfontaine as said in this comment and let you know.

vv-monsalve commented 3 years ago

HI @felipesanches. Sorry for my belated following to this issue.

I've followed the newly updated instructions both under a venvand globally.

Under a venv Command used: pip3 install fontaine. It was successfully installed with no new ERROR messages.
(venv3) 192:pyfontaine vv_monsalve$ pyfontaine --version pyfontaine 1.4.0 However, I'm still receiving the same false results previously reported in #124

Installing it globally Command used: pip3 install fontaine --user and pip3 install git+https://github.com/googlefonts/pyfontaine.git#egg=fontaine --user. However, some Warning messages emerged

Screen Shot 2021-06-15 at 12 45 26

And it's not reported as installed 192:~ vv_monsalve$ pyfontaine --version -bash: pyfontaine: command not found

felipesanches commented 3 years ago

does your message at https://github.com/googlefonts/pyfontaine/issues/124#issuecomment-861771738 mean you now have sorted it all out? Or is there still any pending issue?

vv-monsalve commented 3 years ago

does your message at #124 (comment) mean you now have sorted it all out? Or is there still any pending issue?

It is working properly (well installed with no false results) using the git clone + pip install -e . workaround. But it differs from the installing instructions in the README.

Following the instructions on the README file, the results are those of the comment above.