tick icon indicating copy to clipboard operation
tick copied to clipboard

Installation problem

Open halehdizaji opened this issue 4 years ago • 8 comments

Hello, I have some installation problems with tick library. I'm trying to install tick on ubuntu 18.04. I followed the installation steps, but when I executed the command "sudo pip3 install tick" after some steps it wrote "running setup.py install for tick..." and then hung up there and didn't end the installation and I have to restart ubuntu to stop it. I will appreciate a lot if someone can guide me. Thank you

halehdizaji avatar Mar 23 '20 10:03 halehdizaji

Hello,

I ran into the same issue, and it even froze my computer sometimes (left it running whole night to be sure). I also used ubuntu 18.04 when this occured (probably during c++ code compilation).

jdeschena avatar Mar 23 '20 18:03 jdeschena

there is a pip wheel available for python 3.6 and 3.7 for linux.

if it is trying to build from source you may want to check you have enough RAM

PhilipDeegan avatar Mar 23 '20 18:03 PhilipDeegan

Hi, Thank you @Dekken . My RAM is 6 G and I think that is enough for it. @deschena : I also think that it takes a long time while running gcc compiler. I even followed manual installation method and it didn't solve the problem.. I don't know what to do..

halehdizaji avatar Mar 23 '20 20:03 halehdizaji

I think distutils was updated recently to use more threads by default, so it's possible 6GB is not enough one thread can require 2GB+

if you are using python 3.7 you should be able to install a precompiled version from pip

see: https://pypi.org/project/tick/#files

PhilipDeegan avatar Mar 23 '20 20:03 PhilipDeegan

Thank you very much @Dekken . This may help me. :)

halehdizaji avatar Mar 23 '20 22:03 halehdizaji

Hi, I have python 3.8 installed in my system and since I have problems compiling tick, I appreciate a lot if someone shares a compiled version of tick for python 3.8, if someone has it.

Thanks

halehdizaji avatar Mar 28 '20 19:03 halehdizaji

@halehdizaji did you try using "pipenv install tick"? I just did a fresh install and even though it took a while the build succeeded and installed with python 3.8.5 ( I let pipenv choose the python version)

sumau avatar Nov 06 '20 22:11 sumau

Dear @sumau . Thanks for your advice, I haven't tried this command. Actually I changed my system and the problem got solved. But It's good to know. :)

p.s. Excuse me for the very late reply.

halehdizaji avatar Dec 15 '20 15:12 halehdizaji