We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to reproduce:
import numpy as np
vector.py
#vector.py import numpy as np ... class Vector2D: ... def get_numpy_version(self): return np.__version__ ...
pip install -e .
you will get
# terminal output (.venv) ...>pip install -e . Obtaining .../VSCode/PythonProjectTemplate Installing build dependencies ... done Checking if build backend supports build_editable ... done Getting requirements to build editable ... error ,,, ModuleNotFoundError: No module named 'numpy'
you can fix this by making the following change int the pyproject.toml file, changing this
pyproject.toml
[tool.setuptools.dynamic] version = {attr = "fastvector.__version__"}
to this
[tool.setuptools.dynamic] version = {attr = "fastvector.version.__version__"}
OR
by adding Numpy to the build system dependencies
[build-system] requires = [ "setuptools", "setuptools-scm", "numpy", ]
The text was updated successfully, but these errors were encountered:
No branches or pull requests
How to reproduce:
import numpy as np
into yourvector.py
file and for example this dummy method into Vector2D classpip install -e .
you will get
you can fix this by making the following change int the
pyproject.toml
file, changing thisto this
OR
by adding Numpy to the build system dependencies
The text was updated successfully, but these errors were encountered: