You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hey. I have troubles installing the module using pip on Ubuntu 22.04.3. When I try to install it, I get the following error:
Building wheel for miepy (setup.py) ... error
error: subprocess-exited-with-error
× python setup.py bdist_wheel did not run successfully.
│ exit code: 1
╰─> [31 lines of output]
running bdist_wheel
running build
gfortran -O3 -c Parameters.f90 -o ../../../build/temp.linux-x86_64-3.10/nfmds/Parameters.o
make: gfortran: No such file or directory
make: *** [makefile:69: ../../../build/temp.linux-x86_64-3.10/nfmds/Parameters.o] Error 127
Traceback (most recent call last):
File "", line 2, in
File "", line 34, in
File "/tmp/pip-install-evu7sxq0/miepy_a458b34f9d3742c9bab51090acf52865/setup.py", line 130, in
setup(
File "/usr/lib/python3/dist-packages/setuptools/init.py", line 153, in setup
return distutils.core.setup(**attrs)
File "/usr/lib/python3.10/distutils/core.py", line 148, in setup
dist.run_commands()
File "/usr/lib/python3.10/distutils/dist.py", line 966, in run_commands
self.run_command(cmd)
File "/usr/lib/python3.10/distutils/dist.py", line 985, in run_command
cmd_obj.run()
File "/usr/lib/python3/dist-packages/wheel/bdist_wheel.py", line 299, in run
self.run_command('build')
File "/usr/lib/python3.10/distutils/cmd.py", line 313, in run_command
self.distribution.run_command(command)
File "/usr/lib/python3.10/distutils/dist.py", line 985, in run_command
cmd_obj.run()
File "/tmp/pip-install-evu7sxq0/miepy_a458b34f9d3742c9bab51090acf52865/setup.py", line 84, in run
build_nfmds(self.build_temp, self.build_lib)
File "/tmp/pip-install-evu7sxq0/miepy_a458b34f9d3742c9bab51090acf52865/setup.py", line 73, in build_nfmds
subprocess.check_call(' '.join(command), cwd=src_dir, shell=True)
File "/usr/lib/python3.10/subprocess.py", line 369, in check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command 'make objdir=../../../build/temp.linux-x86_64-3.10/nfmds exedir=../../bin' returned non-zero exit status 2.
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed building wheel for miepy
Running setup.py clean for miepy
Failed to build miepy
Installing collected packages: miepy
Running setup.py install for miepy ... error
error: subprocess-exited-with-error
× Running setup.py install for miepy did not run successfully.
│ exit code: 1
╰─> [35 lines of output]
running install
/usr/lib/python3/dist-packages/setuptools/command/install.py:34: SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and pip and other standards-based tools.
warnings.warn(
running build
gfortran -O3 -c Parameters.f90 -o ../../../build/temp.linux-x86_64-3.10/nfmds/Parameters.o
make: gfortran: No such file or directory
make: *** [makefile:69: ../../../build/temp.linux-x86_64-3.10/nfmds/Parameters.o] Error 127
Traceback (most recent call last):
File "", line 2, in
File "", line 34, in
File "/tmp/pip-install-evu7sxq0/miepy_a458b34f9d3742c9bab51090acf52865/setup.py", line 130, in
setup(
File "/usr/lib/python3/dist-packages/setuptools/init.py", line 153, in setup
return distutils.core.setup(**attrs)
File "/usr/lib/python3.10/distutils/core.py", line 148, in setup
dist.run_commands()
File "/usr/lib/python3.10/distutils/dist.py", line 966, in run_commands
self.run_command(cmd)
File "/usr/lib/python3.10/distutils/dist.py", line 985, in run_command
cmd_obj.run()
File "/usr/lib/python3/dist-packages/setuptools/command/install.py", line 68, in run
return orig.install.run(self)
File "/usr/lib/python3.10/distutils/command/install.py", line 619, in run
self.run_command('build')
File "/usr/lib/python3.10/distutils/cmd.py", line 313, in run_command
self.distribution.run_command(command)
File "/usr/lib/python3.10/distutils/dist.py", line 985, in run_command
cmd_obj.run()
File "/tmp/pip-install-evu7sxq0/miepy_a458b34f9d3742c9bab51090acf52865/setup.py", line 84, in run
build_nfmds(self.build_temp, self.build_lib)
File "/tmp/pip-install-evu7sxq0/miepy_a458b34f9d3742c9bab51090acf52865/setup.py", line 73, in build_nfmds
subprocess.check_call(' '.join(command), cwd=src_dir, shell=True)
File "/usr/lib/python3.10/subprocess.py", line 369, in check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command 'make objdir=../../../build/temp.linux-x86_64-3.10/nfmds exedir=../../bin' returned non-zero exit status 2.
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
error: legacy-install-failure
× Encountered error while trying to install package.
╰─> miepy
Do you have any suggestion? ...
The text was updated successfully, but these errors were encountered:
Hey. I have troubles installing the module using pip on Ubuntu 22.04.3. When I try to install it, I get the following error:
Do you have any suggestion? ...
The text was updated successfully, but these errors were encountered: