moodlehq / moodle-mlbackend-python

Moodle machine learning backend
GNU General Public License v3.0
18 stars 19 forks source link

Version conflicts when installing in ubuntu #33

Open Deval99 opened 3 years ago

Deval99 commented 3 years ago

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)

Parneet786 commented 3 years ago

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

Deval99 commented 3 years ago

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.

douglasbagnall commented 3 years ago

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

Parneet786 commented 3 years ago

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

danmarsden commented 3 years ago

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.

brianlmerritt commented 3 years ago

@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.

Parneet786 commented 3 years ago

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

brianlmerritt commented 3 years ago

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)

ilyatregubov commented 2 years ago

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