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

PyVISCOUS installation for Python 3.8.10 #15

Open
ShervanGharari opened this issue Nov 21, 2024 · 0 comments
Open

PyVISCOUS installation for Python 3.8.10 #15

ShervanGharari opened this issue Nov 21, 2024 · 0 comments

Comments

@ShervanGharari
Copy link
Contributor

ShervanGharari commented Nov 21, 2024

Hi,

I’m having trouble successfully using PyVISCOUS on Ubuntu 20.04 with Python 3.8.10.

It seems the underlying issue might be related to the end-of-life status of the copulae package for Python 3.8 (error details below). Reference: https://copulae.readthedocs.io/en/latest/getting-started.html

I tried installing an earlier version of copulae, which allowed me to install PyVISCOUS successfully. However, the output from PyVISCOUS is either empty or contains the same negative values (if I recall correctly).

Do you have any suggestions or workarounds to address this issue while keeping Python 3.8? Upgrading my Python version is not straightforward, as I rely on several expert packages that are not fully compatible with higher versions. I’m more comfortable staying with Python 3.8 for now.

Thank you in advance for your help.

(env) root@be3f739bbd6f:# pip install copulae
Collecting copulae
  Downloading copulae-0.7.9.tar.gz (799 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 799.1/799.1 kB 7.0 MB/s eta 0:00:00
  Installing build dependencies ... done
  Getting requirements to build wheel ... error
  error: subprocess-exited-with-error
  
  × Getting requirements to build wheel did not run successfully.
  │ exit code: 1
  ╰─> [18 lines of output]
      Traceback (most recent call last):
        File "/env/lib/python3.8/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 353, in <module>
          main()
        File "/env/lib/python3.8/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 335, in main
          json_out['return_val'] = hook(**hook_input['kwargs'])
        File "/env/lib/python3.8/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 118, in get_requires_for_build_wheel
          return hook(config_settings)
        File "/tmp/pip-build-env-di7vaacq/overlay/lib/python3.8/site-packages/setuptools/build_meta.py", line 333, in get_requires_for_build_wheel
          return self._get_build_requires(config_settings, requirements=[])
        File "/tmp/pip-build-env-di7vaacq/overlay/lib/python3.8/site-packages/setuptools/build_meta.py", line 303, in _get_build_requires
          self.run_setup()
        File "/tmp/pip-build-env-di7vaacq/overlay/lib/python3.8/site-packages/setuptools/build_meta.py", line 521, in run_setup
          super().run_setup(setup_script=setup_script)
        File "/tmp/pip-build-env-di7vaacq/overlay/lib/python3.8/site-packages/setuptools/build_meta.py", line 319, in run_setup
          exec(code, locals())
        File "<string>", line 107, in <module>
        File "<string>", line 66, in build_ext_modules
      ModuleNotFoundError: No module named 'numpy'
      [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 wheel 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.
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