-
Notifications
You must be signed in to change notification settings - Fork 33
Open
Description
Describe the bug
xtb will not run after an installation using conda or pip because it is missing the typing_extensions dependency.
Traceback (most recent call last):
File "/home/cbh/dev/personal/qcop/script3.py", line 4, in
from xtb.interface import Calculator, Param
File "/home/cbh/.pyenv/versions/miniconda3-4.7.12/envs/xtb2/lib/p ython3.11/site-packages/xtb/interface.py", line 20, in
from typing_extensions import Literal
ModuleNotFoundError: No module named 'typing_extensions'
To Reproduce
conda create -n xtb xtb-python -c conda-forge
>>> from xtb.interface import Calculator, Param
OR
python -m venv env
source env/bin/activate
pip install xtb
source env/bin/activate
pip install xtb
>>> from xtb.interface import Calculator, Param
Expected behaviour
xtb properly specifies its dependencies and can run after an install.