tfe-tfc-migration-tool icon indicating copy to clipboard operation
tfe-tfc-migration-tool copied to clipboard

Issue running migration.py

Open chetanchatrath opened this issue 2 years ago • 2 comments

I am trying to run the tool on the machine where my TFE is configured. I have installed "pip3 install terrasnek==0.0.16", and followed the steps as mentioned in the document. However, on running the command "python migration.py --vcs-file-path "/path/to/file/vcs.json" --migrate-all-state > outputs.txt" I am getting the below error:

Traceback (most recent call last): File "migration.py", line 5, in from terrasnek.api import TFC

chetanchatrath avatar Apr 18 '22 13:04 chetanchatrath

@chetanchatrath Can you kindly confirm that you're replacing the "/path/to/file/vcs.json" value with a valid local path to your VCS mapping file?

cneralich avatar Apr 25 '22 15:04 cneralich

I've got similar issue, First I've tried to check if the dependency was installed by pip3 show terrasnek and it was visible, later I realized that python may be configure to python2.8 instead of python3, so running the script python3 migration.py ... has helped

mslosarz avatar Jul 27 '22 10:07 mslosarz