Agazoth / PSParquet

Read and write parquet files from the PowerShell commandline
MIT License
12 stars 0 forks source link

import-module psparquet throws error: Could not load file or assembly 'System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The system cannot find the file specified. #4

Closed mbourgon closed 11 months ago

mbourgon commented 11 months ago

Describe the bug Was able to install it on windows server 2019 datacenter, but getting an error trying to import the module, and it throws an error trying to use it: import-parquet : The 'import-parquet' command was found in the module 'PSParquet', but the module could not be loaded. For more information, run 'Import-Module PSParquet'.

import-module psparquet import-module : Could not load file or assembly 'System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The system cannot find the file specified. At line:1 char:1

  • import-module psparquet
  • CategoryInfo : NotSpecified: (:) [Import-Module], FileNotFoundException
  • FullyQualifiedErrorId : System.IO.FileNotFoundException,Microsoft.PowerShell.Commands.ImportModuleCommand

To Reproduce as admin in ISE install-module psparquet

$myfirst = import-parquet c:\temp\filename.parquet **Expected behavior** to import the file to a variable **Screenshots** If applicable, add screenshots to help explain your problem. **PowerShell info** Name Value ---- ----- PSVersion 5.1.17763.2803 PSEdition Desktop PSCompatibleVersions {1.0, 2.0, 3.0, 4.0...} BuildVersion 10.0.17763.2803 CLRVersion 4.0.30319.42000 WSManStackVersion 3.0 PSRemotingProtocolVersion 2.3 SerializationVersion 1.1.0.1 - Include result with Verbose and Debug PS C:\Users\PSA-2668-DBA-06> import-module psparquet -verbose VERBOSE: Loading module from path 'C:\Program Files\WindowsPowerShell\Modules\psparquet\0.2.1\psparquet.psd1'. VERBOSE: Populating RepositorySourceLocation property for module psparquet. VERBOSE: Loading module from path 'C:\Program Files\WindowsPowerShell\Modules\psparquet\0.2.1\bin\PSParquet.dll'. import-module : Could not load file or assembly 'System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The system cannot find the file specified. At line:1 char:1 + import-module psparquet -verbose + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + CategoryInfo : NotSpecified: (:) [Import-Module], FileNotFoundException + FullyQualifiedErrorId : System.IO.FileNotFoundException,Microsoft.PowerShell.Commands.ImportModuleCommand **Desktop (please complete the following information):** Windows Server Datacenter 2019 **Additional context** Add any other context about the problem here.
Agazoth commented 11 months ago

Hi @mbourgon ,

Windows PowerShell is currently not supported.

It is easy to upgrade to PowerShell. Please follow these instructions for upgrading.

I take the liberty of closing this issue.