On Wed, Apr 17, 2019 at 5:34 PM Luke Hinds <lhinds@xxxxxxxxxx> wrote:
Apologies if not the correct, list , I was not sure if I should post here or to python-develI would like to use setuptools within a python3.7 project.I install ptyhon3.7 using dnfI then install python3-setuptoolsUsing python3.7 I get an import error:# python3.7Python 3.7.2 (default, Jan 19 2019, 10:24:44)[GCC 8.2.1 20181215 (Red Hat 8.2.1-6)] on linuxType "help", "copyright", "credits" or "license" for more information.>>> import setuptoolsTraceback (most recent call last):File "<stdin>", line 1, in <module>ModuleNotFoundError: No module named 'setuptools'It works for 3.6# python3Python 3.6.5 (default, Mar 29 2018, 18:20:46)[GCC 8.0.1 20180317 (Red Hat 8.0.1-0.19)] on linuxType "help", "copyright", "credits" or "license" for more information.>>> import setuptools>>>This is expected, as set up tools resides in `/usr/lib/python3.6/site-packages/setuptools`What would be the tidy / recommended way of using a module for 3.7 with dnf managing the packages (rather than pip / virtual-envs).
To answer myself, I omitted to state I was using Fedora 29.
Fedora 30 resolves this for me, as 3.7 is the default.
I would still however, be interested in what the recommended approach is for users on Fedora 29.
_______________________________________________ devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/devel@xxxxxxxxxxxxxxxxxxxxxxx