Skip to content
New issue

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

Module not found error during pip install Pymrmre #11

Open
gvpraagh opened this issue Sep 28, 2023 · 1 comment
Open

Module not found error during pip install Pymrmre #11

gvpraagh opened this issue Sep 28, 2023 · 1 comment

Comments

@gvpraagh
Copy link

gvpraagh commented Sep 28, 2023

I'm trying to install Pymrmre using pip install in my venv. However, I constantly get an error:

× Getting requirements to build wheel did not run successfully.
  │ exit code: 1
  ╰─> [17 lines of output]
      Traceback (most recent call last):
        File "c:\Users\...\Documents\...\.venv\lib\site-packages\pip\_vendor\pyproject_hooks\_in_process\_in_process.py", line 353, in <module>
          main()
        File "c:\Users\...\Documents\...\.venv\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\...\Documents\...\.venv\lib\site-packages\pip\_vendor\pyproject_hooks\_in_process\_in_process.py", line 118, in get_requires_for_build_wheel
          return hook(config_settings)
        File "C:\Users\...\AppData\Local\Temp\pip-build-env-9s98om71\overlay\Lib\site-packages\setuptools\build_meta.py", line 355, in get_requires_for_build_wheel
          return self._get_build_requires(config_settings, requirements=['wheel'])
        File "C:\Users\...\AppData\Local\Temp\pip-build-env-9s98om71\overlay\Lib\site-packages\setuptools\build_meta.py", line 325, in _get_build_requires
          self.run_setup()
        File "C:\Users\...\AppData\Local\Temp\pip-build-env-9s98om71\overlay\Lib\site-packages\setuptools\build_meta.py", line 507, in run_setup
          super(_BuildMetaLegacyBackend, self).run_setup(setup_script=setup_script)
        File "C:\Users\...\AppData\Local\Temp\pip-build-env-9s98om71\overlay\Lib\site-packages\setuptools\build_meta.py", line 341, in run_setup
          exec(code, locals())
        File "<string>", line 2, in <module>
      ModuleNotFoundError: No module named 'Cython'
      [end of output]

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

I have already tried removing my venv and installing Cython first. I've also tried to download an older version of Cython (3.0.2 and 0.29.36). But it looks like the problem is not in my venv, but it cannot find Cython somewhere else. Why is it not just building from my venv?

Does anyone know how to solve this issue?

Python version 3.10.11

@gvpraagh
Copy link
Author

gvpraagh commented Dec 8, 2023

So I found the solution. If anyone ever runs into this: use python 3.8...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant