cheshirekow / cmake_format

Source code formatter for cmake listfiles.
GNU General Public License v3.0
954 stars 105 forks source link

Trouble running cmake-format after installing cmakelang #219

Open mortenfyhn opened 4 years ago

mortenfyhn commented 4 years ago

Hi, if I now do for instance

pip3 install cmakelang
cmake-format --version

I get

Traceback (most recent call last):
  File "/home/semaphore/.local/bin/cmake-format", line 5, in <module>
    from cmakelang.format.__main__ import main
ModuleNotFoundError: No module named 'cmakelang.format'

Could be a bug introduced in the cmakelang-refactor?

cheshirekow commented 4 years ago

Sorry about that. I think I fixed the package. v0.6.13 is uploaded to pypi and the problem appears to be resolved. I'll leave the issue open for a little while in case anyone else hits the same problem. Also, please let me know if you continue to have this problem.

mortenfyhn commented 4 years ago

I've updated our systems so they run v0.6.13 now, and it certainly works. Thank you!