Closed morganHealy closed 2 years ago
Hi Morgan,
Are you using an older version of argue? I've not updated that library in quite some time. The most recent code has options in it: https://gitlab.com/jrkerns/argue/-/blob/master/argue/argumentative.py#L5. You can try upgrading with pip install argue --upgrade
. You should get v0.3.1 from pypi. Let me know how it goes.
Hi James,
I tried using pip but it's a work computer and I think the firewall blocked the installation. I got the following response in command line:
WARNING: Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ProxyError('Cannot connect to proxy.', timeout('_ssl.c:1106: The handshake operation timed out'))': /simple/argue/
After about 5 retries it terminated saying:
ERROR: Could not find a version that satisfies the requirement argue (from versions: none) ERROR: No matching distribution found for argue
Nevertheless I am able to download repositories from GitHub and Python modules don't require administrator privileges, so I was able to install Argue eventually. After un-zipping I had to copy and paste the python.exe and python39.dll files into the expanded folder (at the same directory as setup.py), and then open command line and CD into that directory before running python setup.py install
. This was repeated for all depndencies of Pylinac.
For some reason, Argue was more difficult and I also had to copy the entire expanded folder into C:\Users\morgan.healy\AppData\Local\Programs\Python\Python39\Lib\site-packages\
and I also had to move -init-.py and argumentative.py into their parent folder (same directory as setup.py). This took a lot of trial and error to figure out.
I having issues importing the Pylinac module becuase the argue module available on https://pypi.org/ doesnt work.
I get the following error when attempting to import pylinac: