Install issue Quisk

129 views
Skip to first unread message

jim...@sbcglobal.net

unread,
Mar 21, 2021, 11:04:28 AM3/21/21
to Hermes-Lite
I thought I would share some issues I had this morning installing with the latest version of Python, version 3.9.2.  This is usually the recommend path, but would not work on a clean install of  Quisk.  I even went so far as to install the Microsoft tool set as the install was looking for Microsoft C++  14.0.  This did not help as it led to further errors.   Since the install instructions never mentioned anything like this, I abandoned this path and thought I would try a different version of Python.   

Since Jim's install instructions were for Python 3.8, I removed 3.9.2 and installed Python 3.8.8, the latest update for that version.     One thing of note is that the Python installer did not correctly update my path variables when downgrading to 3.8.   So, these needed to be edited after the install.   This may have been due to me manually  editing my path variable due to some suggestions during the Python 3.9.2 attempts.    

Once I had Python 3.8 running I went back to Jim's Quisk setup instructions.   The pip upgrade did burp, but indicated that I did have a version of PIP installed.   The rest of the install seems to have gone well enough and I know have Quisk running on my desktop.  I've got a laptop that I want to also install Quisk on, but will start with Python 3.8.8 on that install.      

73's Jim N8CAH


Here's the screen output on the attempts that worked:

C:\Users\Jim\AppData\Local\Programs\Python\Python38>pip install --upgrade pip
WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ProtocolError('Connection aborted.', ConnectionResetError(10054, 'An existing connection was forcibly closed by the remote host', None, 10054, None))': /simple/pip/
Collecting pip
  Using cached pip-21.0.1-py3-none-any.whl (1.5 MB)
Installing collected packages: pip
  Attempting uninstall: pip
    Found existing installation: pip 20.2.3
    Uninstalling pip-20.2.3:
      Successfully uninstalled pip-20.2.3
ERROR: Could not install packages due to an EnvironmentError: [WinError 5] Access is denied: 'C:\\Users\\Jim\\AppData\\Local\\Temp\\pip-uninstall-rze209yr\\pip.exe'
Consider using the `--user` option or check the permissions.


C:\Users\Jim\AppData\Local\Programs\Python\Python38>pip install --upgrade pip
Requirement already satisfied: pip in c:\users\jim\appdata\local\programs\python\python38\lib\site-packages (21.0.1)

C:\Users\Jim\AppData\Local\Programs\Python\Python38>pip install --upgrade setuptools
Requirement already satisfied: setuptools in c:\users\jim\appdata\local\programs\python\python38\lib\site-packages (49.2.1)
Collecting setuptools
  Using cached setuptools-54.1.2-py3-none-any.whl (785 kB)
Installing collected packages: setuptools
  Attempting uninstall: setuptools
    Found existing installation: setuptools 49.2.1
    Uninstalling setuptools-49.2.1:
      Successfully uninstalled setuptools-49.2.1
Successfully installed setuptools-54.1.2

C:\Users\Jim\AppData\Local\Programs\Python\Python38>pip install --upgrade wxPython
Collecting wxPython
  Downloading wxPython-4.1.1-cp38-cp38-win_amd64.whl (18.1 MB)
     |████████████████████████████████| 18.1 MB 6.4 MB/s
Collecting six
  Using cached six-1.15.0-py2.py3-none-any.whl (10 kB)
Collecting numpy
  Downloading numpy-1.20.1-cp38-cp38-win_amd64.whl (13.7 MB)
     |████████████████████████████████| 13.7 MB ...
Collecting pillow
  Downloading Pillow-8.1.2-cp38-cp38-win_amd64.whl (2.2 MB)
     |████████████████████████████████| 2.2 MB 3.3 MB/s
Installing collected packages: six, pillow, numpy, wxPython
Successfully installed numpy-1.20.1 pillow-8.1.2 six-1.15.0 wxPython-4.1.1

C:\Users\Jim\AppData\Local\Programs\Python\Python38>pip install --upgrade pyserial
Collecting pyserial
  Using cached pyserial-3.5-py2.py3-none-any.whl (90 kB)
Installing collected packages: pyserial
Successfully installed pyserial-3.5

C:\Users\Jim\AppData\Local\Programs\Python\Python38>pip install --upgrade quisk
Collecting quisk
  Downloading quisk-4.1.80-cp38-cp38-win_amd64.whl (3.8 MB)
     |████████████████████████████████| 3.8 MB 1.7 MB/s
Collecting pyusb
  Using cached pyusb-1.1.1-py3-none-any.whl (58 kB)
Requirement already satisfied: wxPython in c:\users\jim\appdata\local\programs\python\python38\lib\site-packages (from quisk) (4.1.1)
Requirement already satisfied: six in c:\users\jim\appdata\local\programs\python\python38\lib\site-packages (from wxPython->quisk) (1.15.0)
Requirement already satisfied: pillow in c:\users\jim\appdata\local\programs\python\python38\lib\site-packages (from wxPython->quisk) (8.1.2)
Requirement already satisfied: numpy in c:\users\jim\appdata\local\programs\python\python38\lib\site-packages (from wxPython->quisk) (1.20.1)
Installing collected packages: pyusb, quisk
Successfully installed pyusb-1.1.1 quisk-4.1.80

C:\Users\Jim\AppData\Local\Programs\Python\Python38>quisk

Roger David Powers

unread,
Mar 21, 2021, 12:21:09 PM3/21/21
to Hermes-Lite
I concur with the issue with updates to the PATH variable.

I also saw issues when I checked the 'use system wide install' button in the advanced mode for the Python installer.

It made sense for me to do this because, well, I do have more than one user on that computer.

Yet a lot of the PIP packages complained that the 'per-user' folder which was not part of the PATH variable, which was true.

I'm not sure why PIP could not figure out I had done a system wide install and just 'do the right thing' but apparently that's too much to ask for these days.

I could have edited the PATH variable manually but that ends up being a losing strategy since you end up with so much stuff in the PATH variable so I just uninstalled the system wide Python install, cleaned up the PATH variable, did a per-user install, reran the pip commands to make sure they were now happy, and the result was a working install of both Python and Quisk.

I also had to do some gymnastics to get a working desktop shortcut for Quisk, but that's a story for another day.

Regards,
RDP
Reply all
Reply to author
Forward
0 new messages