Hi,

This is not really a Mnemosyne issue, but there must be something wrong with 
your setuptools install...

If you start 'python3', and then type ' from setuptools import setup, Command', 
what happens?

Perhaps you have a different python interpreter in your path where setuptools 
is not installed, perhaps from some virtualenv?

Does 'which python3' give you the path you expect?

I'm also nearing the end of my line here, so if this doesn't work, perhaps it's 
best to ask help on a Ubuntu forum?

BTW, there have been reports of successful installs on later Ubuntu versions.

Good luck!

Peter

> -----Original Message-----
> From: [email protected] [mailto:mnemosyne-
> [email protected]] On Behalf Of [email protected]
> Sent: 10 December 2016 06:02
> To: mnemosyne-proj-users <[email protected]>
> Subject: Re: [mnemosyne-proj-users] Mnemosyne-2.4 install issue on
> Ubuntu 14.04 LTS
> 
> Hi Peter,
> 
> Thanks for the quick reply.
> 
> I discovered I had pip for Python 2.7 and not Python 3. I rectified this
> successfully with;
> 
> sudo apt-get -y install python3-pip
> Reading package lists... Done
> Building dependency tree
> Reading state information... Done
> The following extra packages will be installed:
>   libpython3-dev libpython3.4-dev python3-colorama python3-dev python3-
> distlib
>   python3-html5lib python3-wheel python3.4-dev
> Suggested packages:
>   python3-genshi
> The following NEW packages will be installed
>   libpython3-dev libpython3.4-dev python3-colorama python3-dev python3-
> distlib
>   python3-html5lib python3-pip python3-wheel python3.4-dev
> 0 to upgrade, 9 to newly install, 0 to remove and 18 not to upgrade.
> 
> and with;
> 
> sudo pip3 install --upgrade setuptools
> Downloading/unpacking setuptools from
> https://pypi.python.org/packages/f3/5f/df3db5e01f268f53646f51f9b5063d68
> 34a6744a0efdea4093bbcf86f83f/setuptools-30.3.0-py2.py3-none-
> any.whl#md5=f0b47405d391b1c744a28d1ef893f093
>   Downloading setuptools-30.3.0-py2.py3-none-any.whl (476kB): 476kB
> downloaded
> Installing collected packages: setuptools
>   Found existing installation: setuptools 3.3
>     Not uninstalling setuptools at /usr/lib/python3/dist-packages, owned by
> OS
> Successfully installed setuptools
> Cleaning up...
> 
> Confirmed by;
> 
> sudo apt-get install python3-setuptools --upgrade
> Reading package lists... Done
> Building dependency tree
> Reading state information... Done
> python3-setuptools is already the newest version.
> 0 to upgrade, 0 to newly install, 0 to remove and 18 not to upgrade.
> 
> and;
> 
> pip -V
> pip 1.5.4 from /usr/lib/python2.7/dist-packages (python 2.7)
> 
> pip3 -V
> pip 1.5.4 from /usr/lib/python3/dist-packages (python 3.4)
> 
> 
> Alas, I am still getting this;
> 
> sudo python3 setup.py install
> Traceback (most recent call last):
>   File "setup.py", line 2, in <module>
>     from setuptools import setup, Command
> ImportError: No module named 'setuptools'
> 
> Apologies, I'm a bit out of my depth here, any other ideas?
> 
> Thanks again,
> 
> Damian.
> 
> On Friday, 9 December 2016 22:25:18 UTC+11, Peter Bienstman  wrote:
> > Hi,
> >
> > This seems like an issue specific to your version of Ubuntu.
> >
> > What happens if you upgrade setuptools outside of Ubuntu's packaging
> system:
> >
> > sudo pip3 install --upgrade setuptools
> >
> > Cheers,
> >
> > Peter
> >
> > -----Original Message-----
> > Sent: 09 December 2016 11:34
> > To: mnemosyne-proj-users <[email protected]>
> > Subject: [mnemosyne-proj-users] Mnemosyne-2.4 install issue on Ubuntu
> 14.04 LTS
> >
> > Hi,
> >
> > I am having difficulties upgrading to the latest version of Mnemosyne.
> >
> > Upon running > sudo python3 setup.py install
> >
> > I get >
> >
> > Traceback (most recent call last):
> >   File "setup.py", line 2, in <module>
> >     from setuptools import setup, Command
> > ImportError: No module named 'setuptools'
> >
> > I appear to have setuptools as shown by >
> >
> > sudo apt-get install python3-setuptools
> > Reading package lists... Done
> > Building dependency tree
> > Reading state information... Done
> > python3-setuptools is already the newest version.
> > 0 to upgrade, 0 to newly install, 0 to remove and 22 not to upgrade.
> >
> > Not sure what I'm missing here, I'd appreciate any ideas.
> >
> > Thanks,
> >
> > Damian.
> >
> > --
> > You received this message because you are subscribed to the Google
> Groups "mnemosyne-proj-users" group.
> > To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> > To post to this group, send email to mnemosyne-proj-
> [email protected].
> > To view this discussion on the web visit
> https://groups.google.com/d/msgid/mnemosyne-proj-users/5b864492-
> 96f4-42c8-9591-0ce2b5aafef2%40googlegroups.com.
> > For more options, visit https://groups.google.com/d/optout.
> 
> --
> You received this message because you are subscribed to the Google Groups
> "mnemosyne-proj-users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To post to this group, send email to mnemosyne-proj-
> [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/mnemosyne-proj-users/27015466-
> bf02-4736-a57c-e3c063afb271%40googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.

-- 
You received this message because you are subscribed to the Google Groups 
"mnemosyne-proj-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/mnemosyne-proj-users/99e767760c7d46f9ac17e93bc335415f%40xmail102.UGent.be.
For more options, visit https://groups.google.com/d/optout.

Reply via email to