Hi,
I am new to OpenREM so I’m just trying to follow the installation manual for OpenREM 0.10.0 but have run into a problem. I’m using this installastion guide https://docs.openrem.org/en/0.10.0-docs/install.html When I run the following command for pynetdicom
pip install https://bitbucket.org/edmcdonagh/pynetdicom/get/default.tar.gz#egg=pynetdicom-0.8.2b2
ERROR: Command errored out with exit status 1:
command: /usr/bin/python3 -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-8un_apb3/pynetdicom-0.8.2b2/setup.py'"'"'; __file__='"'"'/tmp/pip-install-8un_apb3/pynetdicom-0.8.2b2/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' egg_info --egg-base /tmp/pip-install-8un_apb3/pynetdicom-0.8.2b2/pip-egg-info
cwd: /tmp/pip-install-8un_apb3/pynetdicom-0.8.2b2/
Complete output (6 lines):
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/tmp/pip-install-8un_apb3/pynetdicom-0.8.2b2/setup.py", line 6
print __version__
^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print(__version__)?
----------------------------------------
ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.
I get the following error and am unable to resolve it. I have tryed to download the default.tar.gz file, edit the setup.py file and run pip install default.tar.gz#egg=pynetdicom-0.8.2b2 command but still get an error
pip install default.tar.gz
Processing ./default.tar.gz
ERROR: Command errored out with exit status 1:
command: /usr/bin/python3 -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-req-build-879zucic/setup.py'"'"'; __file__='"'"'/tmp/pip-req-build-879zucic/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' egg_info --egg-base /tmp/pip-req-build-879zucic/pip-egg-info
cwd: /tmp/pip-req-build-879zucic/
Complete output (5 lines):
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/usr/lib/python3.8/tokenize.py", line 392, in open
buffer = _builtin_open(filename, 'rb')
FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pip-req-build-879zucic/setup.py'
----------------------------------------
ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.
I have also tryed the following
root@openremserver:/home/thorhi# pip install default1.tar.gz#egg=pynetdicom-0.8.2b2
ERROR: Invalid requirement: 'default1.tar.gz#egg=pynetdicom-0.8.2b2'
Hint: = is not a valid operator. Did you mean == ?
root@openremserver:/home/thorhi# pip install default1.tar.gz#egg==pynetdicom-0.8.2b2
ERROR: Invalid requirement: 'default1.tar.gz#egg==pynetdicom-0.8.2b2'
root@openremserver:/home/thorhi# pip install default1.tar.gz#egg==pynetdicom-0.8.2b2
ERROR: Invalid requirement: 'default.tar.gz#egg==pynetdicom-0.8.2b2'
So now I‘m stuck. I have no idea what I‘m doing wrong since I think I have followed the install guide line by line (almost)
Im trying to install on a new Ubuntu 20.04.1-LTS with python 3.8 and 2.7 installed but with python 3 as my main python software.
With regards,
Thor Hjalmar Ingolfsson
--
You received this message because you are subscribed to the Google Groups "OpenREM" group.
To unsubscribe from this group and stop receiving emails from it, send an email to openrem+u...@googlegroups.com.
To view this discussion on the web, visit https://groups.google.com/d/msgid/openrem/D073835D-3817-42D0-8E32-535C80995075%40hxcore.ol.