Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Not installing #366

Open
RobinMaub opened this issue May 28, 2024 · 2 comments
Open

Not installing #366

RobinMaub opened this issue May 28, 2024 · 2 comments

Comments

@RobinMaub
Copy link

Hello all,

I have installed Graphviz and now try to install wireviz but when I type "pip3 install wireviz" it opens the script but does not launch it on Windows 10. Is there any issue in the current pypi package ?

Thanks in advance

@kvid
Copy link
Collaborator

kvid commented May 28, 2024

@RobinMaub - Thank's for reporting this unexpected behaviour. Can you provide a dump from your command shell screen, showing commands you try and their output? Have your tried installing it in a virtual environment, e.g. like I show below? Please try something like this:

C:\>mkdir \Repos\test2

C:\>cd \Repos\test2

C:\Repos\test2>python3 -m venv .venv

C:\Repos\test2>call .venv/Scripts/activate.bat

(.venv) C:\Repos\test2>pip install wireviz
Collecting wireviz
  Using cached wireviz-0.4-py3-none-any.whl (48 kB)
Collecting pillow
  Using cached pillow-10.3.0-cp310-cp310-win_amd64.whl (2.5 MB)
Collecting click
  Using cached click-8.1.7-py3-none-any.whl (97 kB)
Collecting pyyaml
  Using cached PyYAML-6.0.1-cp310-cp310-win_amd64.whl (145 kB)
Collecting graphviz
  Using cached graphviz-0.20.3-py3-none-any.whl (47 kB)
Collecting colorama
  Using cached colorama-0.4.6-py2.py3-none-any.whl (25 kB)
Installing collected packages: pyyaml, pillow, graphviz, colorama, click, wireviz
Successfully installed click-8.1.7 colorama-0.4.6 graphviz-0.20.3 pillow-10.3.0 pyyaml-6.0.1 wireviz-0.4

[notice] A new release of pip is available: 23.0.1 -> 24.0
[notice] To update, run: python.exe -m pip install --upgrade pip

(.venv) C:\Repos\test2>wireviz -V

WireViz 0.4

(.venv) C:\Repos\test2>where wireviz
C:\Repos\test2\.venv\Scripts\wireviz.exe

(.venv) C:\Repos\test2>dot -V
dot - graphviz version 2.38.0 (20140413.2041)

(.venv) C:\Repos\test2>python -V
Python 3.10.11

(.venv) C:\Repos\test2>pip freeze
click==8.1.7
colorama==0.4.6
graphviz==0.20.3
pillow==10.3.0
PyYAML==6.0.1
wireviz==0.4

(.venv) C:\Repos\test2>pip -V
pip 23.0.1 from C:\Repos\test2\.venv\lib\site-packages\pip (python 3.10)

(.venv) C:\Repos\test2>pip3 -V
pip 23.0.1 from C:\Repos\test2\.venv\lib\site-packages\pip (python 3.10)

(.venv) C:\Repos\test2>ver

Microsoft Windows [Version 10.0.19045.3803]

(.venv) C:\Repos\test2>

Update: Be aware that there are knows issues with the currently latest v0.4 version that affects some installations, but not all. See the list of planned fixes for these in PR #365, but none of them should cause the installation to fail.

@amotl
Copy link
Member

amotl commented Jun 4, 2024

Dear Robin,

thank you for writing in.

when I type "pip3 install wireviz" it opens the script but does not launch it on Windows 10

Can you further clarify what this means? For example, can you share any error message with us, or any command line invocations which lead to this problem?

With kind regards,
Andreas.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants