Skip to content

Unable to install FMNM module #24

@hardik-dev06

Description

@hardik-dev06

Hi,

I am new to python and trying to use code from 1.1 Black-Scholes numerical methods.ipynb file in jupyter notebook. As I try to install the libraries via using the set up files in this repository I am getting following error.

I suspect it is related to setup.py file used in the process. Can someone please guide me on how I can eliminate this error and successfully install FMNM libraries?

Error

ValueError: 'src/FMNM/cython/*.pyx' doesn't match any files

Following is the output from command prompt.

(my_quant_lab) C:\Users\hardi>pip install -e .
Obtaining file:///C:/Users/hardi
Installing build dependencies ... done
Checking if build backend supports build_editable ... done
Getting requirements to build editable ... error
error: subprocess-exited-with-error

× Getting requirements to build editable did not run successfully.
│ exit code: 1
╰─> [23 lines of output]
Traceback (most recent call last):
File "C:\Users\hardi\anaconda3\envs\my_quant_lab\lib\site-packages\pip_vendor\pyproject_hooks_in_process_in_process.py", line 353, in
main()
File "C:\Users\hardi\anaconda3\envs\my_quant_lab\lib\site-packages\pip_vendor\pyproject_hooks_in_process_in_process.py", line 335, in main
json_out['return_val'] = hook(**hook_input['kwargs'])
File "C:\Users\hardi\anaconda3\envs\my_quant_lab\lib\site-packages\pip_vendor\pyproject_hooks_in_process_in_process.py", line 132, in get_requires_for_build_editable
return hook(config_settings)
File "C:\Users\hardi\AppData\Local\Temp\pip-build-env-4438hkd8\overlay\Lib\site-packages\setuptools\build_meta.py", line 464, in get_requires_for_build_editable
return self.get_requires_for_build_wheel(config_settings)
File "C:\Users\hardi\AppData\Local\Temp\pip-build-env-4438hkd8\overlay\Lib\site-packages\setuptools\build_meta.py", line 332, in get_requires_for_build_wheel
return self._get_build_requires(config_settings, requirements=[])
File "C:\Users\hardi\AppData\Local\Temp\pip-build-env-4438hkd8\overlay\Lib\site-packages\setuptools\build_meta.py", line 302, in _get_build_requires
self.run_setup()
File "C:\Users\hardi\AppData\Local\Temp\pip-build-env-4438hkd8\overlay\Lib\site-packages\setuptools\build_meta.py", line 318, in run_setup
exec(code, locals())
File "", line 27, in
File "C:\Users\hardi\AppData\Local\Temp\pip-build-env-4438hkd8\overlay\Lib\site-packages\Cython\Build\Dependencies.py", line 1010, in cythonize
module_list, module_metadata = create_extension_list(
File "C:\Users\hardi\AppData\Local\Temp\pip-build-env-4438hkd8\overlay\Lib\site-packages\Cython\Build\Dependencies.py", line 845, in create_extension_list
for file in nonempty(sorted(extended_iglob(filepattern)), "'%s' doesn't match any files" % filepattern):
File "C:\Users\hardi\AppData\Local\Temp\pip-build-env-4438hkd8\overlay\Lib\site-packages\Cython\Build\Dependencies.py", line 117, in nonempty
raise ValueError(error_msg)
ValueError: 'src/FMNM/cython/*.pyx' doesn't match any files
[end of output]

note: This error originates from a subprocess, and is likely not a problem with pip.
error: subprocess-exited-with-error

× Getting requirements to build editable did not run successfully.
│ exit code: 1
╰─> See above for output.

note: This error originates from a subprocess, and is likely not a problem with pip.

Thank you in advance,
Hardik

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions