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

ModuleNotFoundError: No module named 'swagger_client' #5

Closed
lammypi opened this issue Sep 30, 2021 · 1 comment
Closed

ModuleNotFoundError: No module named 'swagger_client' #5

lammypi opened this issue Sep 30, 2021 · 1 comment

Comments

@lammypi
Copy link

lammypi commented Sep 30, 2021

Hello:

I installed text_analytics for use within Anaconda3, but I'm running into a slight problem. I have used the import line recommended in the README, and it produces the error below. Can someone provide any insight?

---------------------------------------------------------------------------
ModuleNotFoundError                       Traceback (most recent call last)
/var/folders/6k/vnb8jggn53b911h224fkq4w80000gn/T/ipykernel_83448/2800784288.py in <module>
----> 1 from text_analytics import TextAnalytics

/opt/anaconda3/lib/python3.8/site-packages/text_analytics/__init__.py in <module>
     17 
     18 # import apis into sdk package
---> 19 from swagger_client.api.default_api import DefaultApi
     20 
     21 # import ApiClient

ModuleNotFoundError: No module named 'swagger_client'
@jonathandunn
Copy link
Owner

Have you installed the correct package? You might have this one: https://github.com/wmeints/text-analytics

You should have installed with this command:

pip install textanalytics

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

2 participants