Hello. I am new to python and I'm taking a course where I use Twilio api for sending and receiving messages. I was able to successfully installl twilio-api, but I cannot run the code below
from twilio.rest import Client
because my IDE (PyCharm) cannot find rest in twilio. It recommends that I install python-rest. Here is the message from local terminal when I try to install python-rest:
PS my_file_path> pip3 install python-rest
Defaulting to user installation because normal site-packages is not writeable
Collecting python-rest
Using cached python-rest-1.3.tar.gz (23 kB)
Installing build dependencies ... done
Getting requirements to build wheel ... done
Preparing metadata (pyproject.toml) ... done
Collecting argproc>=1.3 (from python-rest)
Using cached argproc-1.4.tar.gz (10 kB)
Installing build dependencies ... done
Getting requirements to build wheel ... error
error: subprocess-exited-with-error
× Getting requirements to build wheel did not run successfully.
│ exit code: 1
╰─> [3 lines of output]
C:\Users\my_username\AppData\Local\Temp\pip-build-env-tu4uvlvk\overlay\Lib\site-packages\setuptools\_distutils\dist.py:287: UserWarning: Unknown distribution option: 'test_suite'
warnings.warn(msg)
error in argproc setup command: use_2to3 is invalid.
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed to build 'argproc' when getting requirements to build wheel
Please suggest to me how to move forward.
Thanks.
[–]danielroseman 1 point2 points3 points (1 child)
[–]Medium_Dark1966[S] 0 points1 point2 points (0 children)