0
Install a custom module without PIP
I have successfully completed the python tutorial and loaded a variety of modules. I need one special module that I downloaded from redvox to work on sound files. Anyway, I can't figure out how to install it. PIP doesn't find it. I believe it is on my machine and I have the file name, I just don't know the right command to install it
3 Respostas
0
Place it in your Python packages folder or whichever folder Python references to for modules.
0
what VYPHON said or in the project folder
0
THANKS VYPHON and Markus Kaleton. I got it in the right directory and made that error go away. There seems to be an error in the provided module. I get the following error. The code won't run in playground because the module isn't there, but I will provide a link. Any ideas?
Traceback (most recent call last):
File "C:\Users\HP\AppData\Local\Programs\Python\Python37-32\reader.py", line 53, in <module>
def read_buffer(buf: bytes, is_compressed: bool = True) -> api900.api900_pb2.RedvoxPacket:
NameError: name 'api900' is not defined
>>>
https://code.sololearn.com/cFYlT0uoc7Fw/#py