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

7th Aug 2018, 10:01 PM
Ed Basquill
Ed Basquill - avatar
3 Réponses
0
Place it in your Python packages folder or whichever folder Python references to for modules.
7th Aug 2018, 10:52 PM
Dread
Dread - avatar
0
what VYPHON said or in the project folder
8th Aug 2018, 7:12 AM
Markus Kaleton
Markus Kaleton - avatar
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
8th Aug 2018, 8:21 PM
Ed Basquill
Ed Basquill - avatar