We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
$ python -c 'import importlib; import pathlib; print(pathlib.Path(importlib.util.find_spec("sutime").origin).parent / "pom.xml")' Traceback (most recent call last): File "<string>", line 1, in <module> AttributeError: module 'importlib' has no attribute 'util'
Python Version is 3.8.5 on Ubuntu 20.04.2
The text was updated successfully, but these errors were encountered:
The following line will work, so the doc shall be updated to this:
python -c 'import importlib; from importlib import util; import pathlib; print(pathlib.Path(util.find_spec("sutime").origin).parent / "pom.xml")'
Sorry, something went wrong.
you can also just change import importlib part to import importlib.util
import importlib
import importlib.util
mvn dependency:copy-dependencies -DoutputDirectory=./jars -f $(python -c 'import importlib; from importlib import util; import pathlib; print(pathlib.Path(util.find_spec("sutime").origin).parent / "pom.xml")')
No branches or pull requests
Python Version is 3.8.5 on Ubuntu 20.04.2
The text was updated successfully, but these errors were encountered: