[opensuse-packaging] python3-setuptools
Hi, I'm about to start building python3 packages, and encounter a problem with setuptools: It is installed: [ 25s] [129/171] cumulate python3-setuptools-21.0.0-118.1 but during build: [ 44s] + python setup.py build [ 44s] Traceback (most recent call last): [ 44s] File "setup.py", line 5, in <module> [ 44s] from setuptools import setup, find_packages [ 44s] ImportError: No module named setuptools Do we have to use python3-setuptools_scm Instead? Or is setuptools moved to a different package? Thanks Axel -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-packaging+owner@opensuse.org
On čtvrtek 12. května 2016 13:56:27 CEST Axel Braun wrote:
Hi, I'm about to start building python3 packages, and encounter a problem with setuptools:
It is installed: [ 25s] [129/171] cumulate python3-setuptools-21.0.0-118.1
but during build: [ 44s] + python setup.py build [ 44s] Traceback (most recent call last): [ 44s] File "setup.py", line 5, in <module> [ 44s] from setuptools import setup, find_packages [ 44s] ImportError: No module named setuptools How about "python3 setup.py build" ?
Cheers Martin
Hi Martin,
I'm about to start building python3 packages, and encounter a problem with setuptools:
It is installed: [ 25s] [129/171] cumulate python3-setuptools-21.0.0-118.1
but during build: [ 44s] + python setup.py build [ 44s] Traceback (most recent call last): [ 44s] File "setup.py", line 5, in <module> [ 44s] from setuptools import setup, find_packages [ 44s] ImportError: No module named setuptools How about "python3 setup.py build" ?
Partly its so obvious....thanks, that was it. A more general question on this python 2/3 stuff. I did not find for all python2 packages a correspondence in python3, e.g. python-pydot or python-wrapt Is it safe to use the python2-packages? Or would it be better look for/build a python3 package? Thanks Axel -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-packaging+owner@opensuse.org
On pátek 13. května 2016 13:09:18 CEST Axel Braun wrote:
Hi Martin,
I'm about to start building python3 packages, and encounter a problem with setuptools:
It is installed: [ 25s] [129/171] cumulate python3-setuptools-21.0.0-118.1
but during build: [ 44s] + python setup.py build [ 44s] Traceback (most recent call last): [ 44s] File "setup.py", line 5, in <module> [ 44s] from setuptools import setup, find_packages [ 44s] ImportError: No module named setuptools
How about "python3 setup.py build" ?
Partly its so obvious....thanks, that was it.
A more general question on this python 2/3 stuff. I did not find for all python2 packages a correspondence in python3, e.g. python-pydot or python-wrapt Is it safe to use the python2-packages? Or would it be better look for/build a python3 package?
Thanks Axel Afaik not, for those you need to find/create python3 alternative. There is long term plan to have python2-blah and python3-blah packages generated at same time from same source (blah), but at the moment packages need to be handeled (and created separately)
Cheers Martin
participants (3)
-
Axel Braun
-
Martin Pluskal
-
Martin Pluskal