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
I am running the rlaunch command after a fresh install of fireworks, most recent release.
The result behavior: I get this exception
Traceback (most recent call last):
File "python-3.12.3_intel_2023.1.0/bin/rlaunch", line 5, in <module>
from fireworks.scripts.rlaunch_run import rlaunch
File "python-3.12.3_intel_2023.1.0/lib/python3.12/site-packages/fireworks/scripts/rlaunch_run.py", line 13, in <module>
from fireworks.core.rocket_launcher import launch_rocket, rapidfire
File "python-3.12.3_intel_2023.1.0/lib/python3.12/site-packages/fireworks/core/rocket_launcher.py", line 10, in <module>
from fireworks.core.rocket import Rocket
File "python-3.12.3_intel_2023.1.0/lib/python3.12/site-packages/fireworks/core/rocket.py", line 6, in <module>
import distutils.dir_util
ModuleNotFoundError: No module named 'distutils'
The expected behavior: There should be no crash running the command
Proposed solution: The solution of this issue is to add setuptools to the install_requires section of setup.py. But the import of distutils has been removed in the main branch after this PR Replace copy_tree from distutils with copytree from shutil #533. Therefore, we need a new release. I would ask the maintainers to consider a new release soon in order to make these fixes available to the end users.
Version
2.0.3
Which OS?
MacOS
Windows
Linux
Log output
No response
The text was updated successfully, but these errors were encountered:
A workaround is to install setuptools manually like python -m pip install setuptools but end users of downstream packages using fireworks will not arrive at this intuitively. The best solution is to have a new release with the fixes in the main branch.
Code snippet
What happened?
rlaunch
command after a fresh install of fireworks, most recent release.setuptools
to theinstall_requires
section ofsetup.py
. But the import of distutils has been removed in the main branch after this PR Replace copy_tree from distutils with copytree from shutil #533. Therefore, we need a new release. I would ask the maintainers to consider a new release soon in order to make these fixes available to the end users.Version
2.0.3
Which OS?
Log output
No response
The text was updated successfully, but these errors were encountered: