Re: Setup-tools
On 7/15/23 12:56, MRAB via Python-list wrote: On 2023-07-15 07:12, YOUSEF EZZAT via Python-list wrote: Hey!. i face a problem when i get setup packages by pip when i code this : "pip install numpy" in my command line it gives me error "ModuleNotFoundError: No module named 'distutils'" please, i need help for solving this problem. i have python 3.12.0b4 What do you normally do when it can't find a module? Install it via pip! pip install distutils By the way, do you really need Python 3.12? It's still in beta, so unless you're specifically checking whether it works, ready for its final release, you'd be better off with Python 3.11. To add to this: For modules which have *binary* compiled wheels (of which numpy is one), they are quite likely to be version-specific, and for many projects, are not made available for pre-release Pythons. You can check numpy here: https://pypi.org/project/numpy/#files (note: pre-release versions targeting pre-release Pythons *may* be elsewhere too, you might check with the numpy project). What pip does if it doesn't find an appropriate wheel version matching your Python version is try to build it from the source distribution - this is why it thinks it needs distutils. If you're on Windows, this will almost certainly fail, although you can often find blogs written by people who have gone through the same adventure who describe how they got there in the end. If numpy is the thing that's important to your work, the advice would be to stick to a released Python with a matching released numpy. If you specifically need to test that something is going to work with 3.12, then by all means go ahead, but be prepared to do some legwork. -- https://mail.python.org/mailman/listinfo/python-list
Re: Setup-tools
On 2023-07-15 07:12, YOUSEF EZZAT via Python-list wrote: Hey!. i face a problem when i get setup packages by pip when i code this : "pip install numpy" in my command line it gives me error "ModuleNotFoundError: No module named 'distutils'" please, i need help for solving this problem. i have python 3.12.0b4 What do you normally do when it can't find a module? Install it via pip! pip install distutils By the way, do you really need Python 3.12? It's still in beta, so unless you're specifically checking whether it works, ready for its final release, you'd be better off with Python 3.11. -- https://mail.python.org/mailman/listinfo/python-list
Setup-tools
Hey!. i face a problem when i get setup packages by pip when i code this : "pip install numpy" in my command line it gives me error "ModuleNotFoundError: No module named 'distutils' " please, i need help for solving this problem. i have python 3.12.0b4 -- https://mail.python.org/mailman/listinfo/python-list
Install setup tools for 2.6
Ok, I feel like this is a really stupid question, but how do you install setup tools for Python 2.6 under windows? The only format is .egg which requires setup tools to install, doesn't it? Thanks, Jeremy -- http://mail.python.org/mailman/listinfo/python-list
Re: Install setup tools for 2.6
In article 373cf0740908051131gacaf77apba48fa40e929f...@mail.gmail.com, Jeremy Cowles jeremy.cow...@gmail.com wrote: Ok, I feel like this is a really stupid question, but how do you install setup tools for Python 2.6 under windows? The only format is .egg which requires setup tools to install, doesn't it? http://pypi.python.org/pypi/setuptools#id1 -- Ned Deily, n...@acm.org -- http://mail.python.org/mailman/listinfo/python-list
Find the name of a setup tools plugin when its class is known.
Hi, Using pkg_resources, I can iterate through the plugins in an entrypoint and note down the plugin classes and all using pkg_resources.iter_entry_points(ENTRYPOINT) Now, when the plugin is loaded, I want to know it's entrypoint name as I have to load a bunch of settings identified by the name string. Regards, SZ life isn't heavy enough,it flies away and floats far above action Access Yahoo!7 Mail on your mobile. Anytime. Anywhere. Show me how: http://au.mobile.yahoo.com/mail -- http://mail.python.org/mailman/listinfo/python-list