Svpernova09
Bit poster
I have previously used this M1 system with Version 17.1.1 to build Ubuntu 20.04 images from the bento template https://github.com/chef/bento/blob/main/packer_templates/ubuntu/ubuntu-20.04-arm64.json
system: 1st gen M1 Mac Mini 16GB
macOS: Monterey 12.3 (21E230)
Parallels: Version 17.1.2 (51548)
Packer Version: 1.8.0
Command output:
```
packer build --only=parallels-iso ubuntu-20.04-arm64.json
parallels-iso: output will be in this color.
Build 'parallels-iso' errored after 1 millisecond 431 microseconds: Failed creating Parallels driver: Parallels Virtualization SDK is not installed
==> Wait completed after 1 millisecond 476 microseconds
==> Some builds didn't complete successfully and had errors:
--> parallels-iso: Failed creating Parallels driver: Parallels Virtualization SDK is not installed
==> Builds finished but no artifacts were created.
```
I have uninstalled and reinstalled Parallels, rebooting in between. I've also tried installing the Parallels SDK from the DMG download and via brew, here's an example:
```
└── brew reinstall --cask parallels-virtualization-sdk
==> Downloading https://download.parallels.com/desk...rallelsVirtualizationSDK-17.1.1-51537-mac.dmg
Already downloaded: /Users/halo/Library/Caches/Homebrew/downloads/58beb8960bce34dcbc9e08392905cddf263e0fdb20d344cfcffd28f74ef9df5c--ParallelsVirtualizationSDK-17.1.1-51537-mac.dmg
==> Uninstalling Cask parallels-virtualization-sdk
==> Uninstalling packages; your password may be necessary:
com.parallels.pkg.sdk
==> Purging files for version 17.1.1-51537 of Cask parallels-virtualization-sdk
==> Installing Cask parallels-virtualization-sdk
==> Running installer for parallels-virtualization-sdk; your password may be necessary.
Package installers may write to any location; options such as `--appdir` are ignored.
installer: Package name is
installer: Installing at base path /
installer: The install was successful.
parallels-virtualization-sdk was successfully installed!
```
This comment seems to think it's Python related https://github.com/chef/bento/pull/1374#issuecomment-1079791274
I tried a few things to poke at the Python version but I couldn't get `prlsdkapi` installed into Python 3.8. I tried a few different python versions with no luck. Suggestions?
system: 1st gen M1 Mac Mini 16GB
macOS: Monterey 12.3 (21E230)
Parallels: Version 17.1.2 (51548)
Packer Version: 1.8.0
Command output:
```
packer build --only=parallels-iso ubuntu-20.04-arm64.json
parallels-iso: output will be in this color.
Build 'parallels-iso' errored after 1 millisecond 431 microseconds: Failed creating Parallels driver: Parallels Virtualization SDK is not installed
==> Wait completed after 1 millisecond 476 microseconds
==> Some builds didn't complete successfully and had errors:
--> parallels-iso: Failed creating Parallels driver: Parallels Virtualization SDK is not installed
==> Builds finished but no artifacts were created.
```
I have uninstalled and reinstalled Parallels, rebooting in between. I've also tried installing the Parallels SDK from the DMG download and via brew, here's an example:
```
└── brew reinstall --cask parallels-virtualization-sdk
==> Downloading https://download.parallels.com/desk...rallelsVirtualizationSDK-17.1.1-51537-mac.dmg
Already downloaded: /Users/halo/Library/Caches/Homebrew/downloads/58beb8960bce34dcbc9e08392905cddf263e0fdb20d344cfcffd28f74ef9df5c--ParallelsVirtualizationSDK-17.1.1-51537-mac.dmg
==> Uninstalling Cask parallels-virtualization-sdk
==> Uninstalling packages; your password may be necessary:
com.parallels.pkg.sdk
==> Purging files for version 17.1.1-51537 of Cask parallels-virtualization-sdk
==> Installing Cask parallels-virtualization-sdk
==> Running installer for parallels-virtualization-sdk; your password may be necessary.
Package installers may write to any location; options such as `--appdir` are ignored.
installer: Package name is
installer: Installing at base path /
installer: The install was successful.
parallels-virtualization-sdk was successfully installed!
```
This comment seems to think it's Python related https://github.com/chef/bento/pull/1374#issuecomment-1079791274
I tried a few things to poke at the Python version but I couldn't get `prlsdkapi` installed into Python 3.8. I tried a few different python versions with no luck. Suggestions?