I'm trying to link glfw to my C++ python extension but I can't do it without cmake. Here is how I did it in cmake: This works fine. This is what I ...
I'm trying to link glfw to my C++ python extension but I can't do it without cmake. Here is how I did it in cmake: This works fine. This is what I ...
In Pycharm (Windows 11) I set up a basic project consisting of one line: The environment is Virtualenv, the base intepreter path is C:\Users\strat\ ...
I want to make c++ code callable from python. https://docs.python.org/3/extending/ explains how to do this, but does not mention how to specify c++ v ...
I am trying to install PyAutoLens on my Ubuntu 20.04-running laptop using pip/pip3. It all seems to go well then I get the following and all dependenc ...
I have a project which I'm trying package with conda, install, and run. I cannot import the module by name, although installed. I can however import ...
I want to compile and link some cython (and cython_freeze) generated c files into an executable (on Windows and Linux) I can do this by setting up (a ...
I have read How to enable `--embed` with cythonize? and Cython --embed flag in setup.py but this method does not work on Windows. Let's say we have: ...
DeprecationWarning: The distutils package is deprecated and slated for removal in Python 3.12. Use setuptools or check PEP 632 for potential alternati ...
Apparently, Python 3.10 / 3.12 is going to deprecate / remove distutils. Unfortunately, I have not been able to find a replacement for the one and on ...
Y get the folowing error when trying to build my package (python -m build) with python3.x ModuleNotFoundError: No module named 'numpy' ...
I'm working on ubuntu 16.0.4 LTS and While creating a virtual environment in python 3.8 I'm getting No module named 'distutils.util' I'm using the re ...
I was trying to train a model using tensorboard. While executing, I got this error: $ python train.py Traceback (most recent call last): File "train. ...
Want to use python3.9 with actual pip and venv. And remove python3.8. I've installed python3.9 like that. Then pip. And python3.9-venv using apt. Pro ...
I had a working code of disutils in setup.py file like the following but today I got the following error while trying to run CI in github action ...
I was wanting to upgrade my python version (to 3.10 in this case) so after installing python3.10 I proceeded to try adding some modules I use e.g. ope ...
How can I include files that are not written in python to the packaging? Or to make it more concrete: Assuming I have the following package structure, ...
Core metadata specification documents the metadata field Requires-External which seems to be for specifying system (non-python) dependencies. How do ...
We have a python package which is also a git repo. It depends on other python packages, themselves git repos. We made the latter git submodules of the ...
I am trying to build the Javascript end of my app using npm run build via the setup.py config file. I am using the build class from distutils as sugge ...
I keep running into this error in Python and I'm none the wiser. I have copied a few folders and files from one directory to another: copy.py conv ...