Closed lc1ark closed 9 months ago
I was able to figure it out.
In an anaconda prompt or powershell
Make sure you’re on the right drive – to change it just type the drive letter and a colon (like C:) Cd to the directory with setup.py Enter “python setup.py install”
Then in spyder create a module, enter “from atlassian import Confluence” Highlight the line Hit the run selection or current line button.
Hello! I'm new to GitHub and coding with Python, but I was told to try and install this package for a project I'm working on. I've tried a couple different things and nothing worked. I'm not sure if I unzipped the files to the wrong directory or Spyder is working from the wrong directory, but when I try to use the pip command to install the api this is what Spyder returns:
pip install atlassian-python-api Note: you may need to restart the kernel to use updated packages. WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ProxyError('Cannot connect to proxy.', timeout('_ssl.c:1108: The handshake operation timed out'))': /simple/atlassian-python-api/ WARNING: Retrying (Retry(total=3, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ProxyError('Cannot connect to proxy.', timeout('_ssl.c:1108: The handshake operation timed out'))': /simple/atlassian-python-api/ WARNING: Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ProxyError('Cannot connect to proxy.', timeout('_ssl.c:1108: The handshake operation timed out'))': /simple/atlassian-python-api/ WARNING: Retrying (Retry(total=1, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ProxyError('Cannot connect to proxy.', timeout('_ssl.c:1108: The handshake operation timed out'))': /simple/atlassian-python-api/ 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:1108: The handshake operation timed out'))': /simple/atlassian-python-api/ ERROR: Could not find a version that satisfies the requirement atlassian-python-api ERROR: No matching distribution found for atlassian-python-api
I tried installing it with through Command Prompt and got the same error as above. I have also tried installing it through the Anaconda Prompt:
(base) C:>python C:\Users(User Number)\Downloads\atlassian-python-api-master/setup.py Traceback (most recent call last): File "C:\Users\N09827\Downloads\atlassian-python-api-master/setup.py", line 5, in
with open(os.path.join("atlassian", "VERSION")) as file:
FileNotFoundError: [Errno 2] No such file or directory: 'atlassian\VERSION'
Any suggestions?