0
Installation packages error
I can not install any package of python and i get error.i tried pip install ...and python setup.py install but i get error too. I installed python version 3
12 Respostas
+ 2
Change its environment
+ 1
whats the error ?
0
PS G:\My soft\Automa\automa-0.1.21\automa-0.1.21> python setup.py install
Traceback (most recent call last):
File "setup.py", line 12, in <module>
from automa.setup_info import version
File "G:\My soft\Automa\automa-0.1.21\automa-0.1.21\automa\__init__.py", line 4, in <module>
from automa.shell import sh, cd
File "G:\My soft\Automa\automa-0.1.21\automa-0.1.21\automa\shell.py", line 66, in <module>
from automa.tasks import TaskContext
File "G:\My soft\Automa\automa-0.1.21\automa-0.1.21\automa\tasks.py", line 231
print heading
^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print(heading)?
0
Are you using IDLE or some other IDE?
start here:-https://www.w3schools.com/JUMP_LINK__&&__python__&&__JUMP_LINK/python_pip.asp
0
This is cmd error
0
print heading ? looks like python2 tbh.
since it ran on python3 error occur
0
I have no python version 2
0
the coding looks like it was made for python 2
0
the reason you I asked about which IDE is because.. I use pychram... and it has it's own package install method..look here...
https://www.jetbrains.com/help/pycharm/installing-uninstalling-and-upgrading-packages.html
0
If i install in pycharm like above i can use it anywhere?
0
Not sure....
I installed mysql using the command prompt, copied some sql code into IDLE and it worked fine, copied the same code to pycharm but.. didn't work (thats how I can across the information in my previous post), so i'm thinking pytharm must be installing packages into different directory.
I'll try to install 'came-case' in to python and see if it will import in to IDLE.. i'll let you know.
Edit: yes...installed camelcase in pycharm and it was available to use(import) in IDLE too.
0
i see the problem here. its in task.py
as i did alittle research https://pypi.org/project/task.py/#data
task.py is writen in python 2.7, and as you said you're using python 3.