Thanks to visit codestin.com
Credit goes to github.com

Skip to content

No module named 'polygon' error #16

Closed
@radikal9

Description

@radikal9

I am trying to run a script that uses Polygon. I have the module installed:

(base) [name]-MacBook-Pro:client-python-master [name]$ pip3 install /Users/[name]/Downloads/polygon_api_client-0.1.2-py3-none-any.whl
Requirement already satisfied: polygon-api-client==0.1.2 from file:///Users/[name]/Downloads/polygon_api_client-0.1.2-py3-none-any.whl in /Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages (0.1.2)
Requirement already satisfied: websockets==8.0.2 in /Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages (from polygon-api-client==0.1.2) (8.0.2)
Requirement already satisfied: websocket-client==0.56.0 in /Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages (from polygon-api-client==0.1.2) (0.56.0)
Requirement already satisfied: six in /Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages (from websocket-client==0.56.0->polygon-api-client==0.1.2) (1.14.0)
(base) [name]-MacBook-Pro:client-python-master [name]$

But when I try to run the script (MacBook Pro running 10.15., running Python3.8.2) I get the following error:

from polygon import RESTClient
Traceback (most recent call last):
File "", line 1, in
ModuleNotFoundError: No module named 'polygon'

Not sure what to do next. I have uninstalled and installed using Pip3 install polygon-api-client and using the .whl installer (as shown above). I have also gone through the dependancies list and made sure that each of them are installed.

Thank you for any help you can provide.

Edit: Updated with version of Python

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions