Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

azure_storage Error / Fix - Got Fixed - check PR 33 #27

Closed
Naraku9929 opened this issue Jan 12, 2024 · 2 comments
Closed

azure_storage Error / Fix - Got Fixed - check PR 33 #27

Naraku9929 opened this issue Jan 12, 2024 · 2 comments

Comments

@Naraku9929
Copy link

Naraku9929 commented Jan 12, 2024

If you are getting the following error:

pip install azure-storage
Defaulting to user installation because normal site-packages is not writeable
Collecting azure-storage
Using cached azure-storage-0.37.0.zip (4.3 kB)
Preparing metadata (setup.py) ... error
error: subprocess-exited-with-error

× python setup.py egg_info did not run successfully.
│ exit code: 1
╰─> [20 lines of output]
Traceback (most recent call last):
File "", line 2, in
File "", line 34, in
File "C:\Users****\AppData\Local\Temp\pip-install-sygw9hnm\azure-storage_7f36e5eeaf72445ea4bf307ccce5f4c9\setup.py", line 55, in
raise RuntimeError(message)
RuntimeError:

  Starting with v0.37.0, the 'azure-storage' meta-package is deprecated and cannot be installed anymore.
  Please install the service specific packages prefixed by `azure` needed for your application.
 
  The complete list of available packages can be found at:
  https://aka.ms/azsdk/python/all
 
  Here's a non-exhaustive list of common packages:
 
  - [azure-storage-blob](https://pypi.org/project/azure-storage-blob) : Blob storage client
  - [azure-storage-file-share](https://pypi.org/project/azure-storage-file-share) : Storage file share client
  - [azure-storage-file-datalake](https://pypi.org/project/azure-storage-file-datalake) : ADLS Gen2 client
 
  [end of output]

note: This error originates from a subprocess, and is likely not a problem with pip.
error: metadata-generation-failed

× Encountered error while generating package metadata.
╰─> See above for output.

note: This is an issue with the package mentioned above, not pip.
hint: See above for details.

USE: pip install azure-storage-blob

@wolfmic
Copy link

wolfmic commented Jan 13, 2024

Oh right. however it seems that there is still something missing:
import azure.cognitiveservices.speech as speechsdk

It does not include that one right ?

according to this link we should probably install pip install azure-cognitiveservices-speech

(meaning adding azure-cognitiveservices-speech as well to requirements.txt)

@BartoszKak0l
Copy link
Contributor

Made a PR that fixes it with proof. #33

@Naraku9929 Naraku9929 changed the title azure_storage Error / Fix azure_storage Error / Fix - Got Fixed - check PR 33 Jan 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants