Hi! I have some problems with the installation and cannot figure it out by myself.
After typing "python setup.py install" there is a message:
File "setup.py", line 31
print "PyCifRW not found. Installing relevant modules."
^
SyntaxError: Missing parentheses in call to 'print'
Trying to install (install again over installed version) PyCifRW - got answer with a lot syntax errors and final:
PyCifRW 3.3 is already the active version in easy-install.pth
Installed /home/denis/miniconda3/lib/python3.4/site-packages/PyCifRW-3.3-py3.4-linux-x86_64.egg
Processing dependencies for PyCifRW==3.3
Finished processing dependencies for PyCifRW==3.3
I'm far from being an expert in Linux, but some googling put me to the idea that my python version is incompatible with the package... how can I fix the problem?
Thanks in advance.
Anonymous
View and moderate all "bugs Discussion" comments posted by this user
Mark all as spam, and block user from posting to "Bugs"
You are using python 3, but presently only python 2.x (where x=4 to 7) is supported by cif2cell. So you need to somehow use a python 2 version. I don't know how to install or choose that on your system. Python 2.x has tended to be the default choice up until now, so I would expect that you have it somewhere. It can be as easy as just typing 'python2.7' instead of just 'python'. Once you have managed to install it using the right python you never have to think about this again.
Hope this helps,
Torbjörn
View and moderate all "bugs Discussion" comments posted by this user
Mark all as spam, and block user from posting to "Bugs"
Thanks! I have managed to install it just simply typing python2.7. With sudo option it managed to install correctly (as far as I see now). After that I started cif2cell -h just to check and got warnings about the syntax.
But just typing python2.7 cif2cell -h (to test) it looks like ok!
Thanks! Hope it will help someone else too.