moodle-mlbackend-python icon indicating copy to clipboard operation
moodle-mlbackend-python copied to clipboard

Version conflicts when installing in ubuntu

Open Deval99 opened this issue 4 years ago • 9 comments

i used "pip3 install moodlemlbackend" for installation of moodlemlbackend. But it said Tensorflow version 1.14 is required (Which is older version, and supported by pip2)

So i used "pip2 install moodlemlbackend" instead. But then i got error, it requires scikit-learn 0.21 (Which is a newer version, supported by pip3)

Deval99 avatar Mar 24 '21 07:03 Deval99

i used "pip3 install moodlemlbackend" for installation of moodlemlbackend. But it said Tensorflow version 1.14 is required (Which is older version, and supported by pip2)

So i used "pip2 install moodlemlbackend" instead. But then i got error, it requires scikit-learn 0.21 (Which is a newer version, supported by pip3)

Hi did you get any solution to this so far coz i am also sailing on the same boat

Parneet786 avatar Jun 15 '21 05:06 Parneet786

i used "pip3 install moodlemlbackend" for installation of moodlemlbackend. But it said Tensorflow version 1.14 is required (Which is older version, and supported by pip2) So i used "pip2 install moodlemlbackend" instead. But then i got error, it requires scikit-learn 0.21 (Which is a newer version, supported by pip3)

Hi did you get any solution to this so far coz i am also sailing on the same boat

Nop.

Deval99 avatar Jun 15 '21 06:06 Deval99

What version of moodlemlbackend is it trying to install?

I don't think python2/pip2 is going to work.

I usually install this way: https://github.com/moodlehq/moodle-mlbackend-python/blob/master/INSTALL-venv.md

douglasbagnall avatar Jun 15 '21 20:06 douglasbagnall

I am installing it on windows

On Wed, 16 Jun 2021 at 2:00 AM, Douglas Bagnall @.***> wrote:

What version of moodlemlbackend is it trying to install?

I don't think python2/pip2 is going to work.

I usually install this way:

https://github.com/moodlehq/moodle-mlbackend-python/blob/master/INSTALL-venv.md

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/moodlehq/moodle-mlbackend-python/issues/33#issuecomment-861810676, or unsubscribe https://github.com/notifications/unsubscribe-auth/AUPQVONCLYAHDTYPFCNX4A3TS62ADANCNFSM4ZWWH3EA .

-- Parneet Kaur Research Fellow Panjab University, Chandigarh India

Parneet786 avatar Jun 16 '21 00:06 Parneet786

you are probably on your own then. I wouldn't be surprised if you were the first person to try and install Moodle's mlbackend on a windows O/S. - Good luck.

danmarsden avatar Jun 16 '21 00:06 danmarsden

@Parneet786 if it helps, installation is probably best performed in a python virtual environment, such as conda (anaconda navigator includes this) or using a linux environment hosted on your windows pc using something like virtualbox.

brianlmerritt avatar Jun 16 '21 08:06 brianlmerritt

So in case if i do that what path will i give in system adminitsration settings in moolde when i select backend to be python for analytics?

On Wed, Jun 16, 2021 at 2:02 PM Brian Merritt @.***> wrote:

@Parneet786 https://github.com/Parneet786 if it helps, installation is probably best performed in a python virtual environment, such as conda (anaconda navigator includes this) or using a linux environment hosted on your windows pc using something like virtualbox.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/moodlehq/moodle-mlbackend-python/issues/33#issuecomment-862165592, or unsubscribe https://github.com/notifications/unsubscribe-auth/AUPQVOJEOOJSW2NAFACEWZTTTBORLANCNFSM4ZWWH3EA .

-- Parneet Kaur Research Fellow Panjab University, Chandigarh India

Parneet786 avatar Jun 16 '21 11:06 Parneet786

If you use conda / anaconda navigator then usual it is something like /Users/yourname/anaconda3/envs/nameofenvironment and then choose the appropriate version of python (usually in bin)

brianlmerritt avatar Jun 16 '21 13:06 brianlmerritt

I wonder if we should close the issue. @Deval99 - have you managed to install mlbackend or still having problems?

@Parneet786 if you still have not found a solution I would open a separate issue with relevant name otherwise it is confusing to see Ubuntu in title but the actual issue is for Windows

Cheers, Ilya

ilyatregubov avatar Apr 11 '22 03:04 ilyatregubov