Installation packages error | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
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

16th Oct 2019, 5:02 PM
Hilbert
12 Answers
+ 2
Change its environment
18th Oct 2019, 6:25 AM
Ânkita Bibave
Ânkita Bibave - avatar
+ 1
whats the error ?
16th Oct 2019, 5:04 PM
Taste
Taste - avatar
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)?
16th Oct 2019, 5:14 PM
Hilbert
16th Oct 2019, 5:16 PM
rodwynnejones
rodwynnejones - avatar
0
This is cmd error
16th Oct 2019, 5:17 PM
Hilbert
0
print heading ? looks like python2 tbh. since it ran on python3 error occur
16th Oct 2019, 5:17 PM
Taste
Taste - avatar
0
I have no python version 2
16th Oct 2019, 5:20 PM
Hilbert
0
the coding looks like it was made for python 2
16th Oct 2019, 5:28 PM
Taste
Taste - avatar
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
16th Oct 2019, 5:53 PM
rodwynnejones
rodwynnejones - avatar
0
If i install in pycharm like above i can use it anywhere?
17th Oct 2019, 3:37 AM
Hilbert
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.
17th Oct 2019, 7:02 PM
rodwynnejones
rodwynnejones - avatar
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.
17th Oct 2019, 7:14 PM
Taste
Taste - avatar