Home > other >  After install Python library execute Python setup. Py when install can't find the target file
After install Python library execute Python setup. Py when install can't find the target file

Time:11-26

Windows environment USES the anaconda installing third-party libraries, PIP install after downloading enabled setup. Py program is to display can not find a file, but in search multiple setup folder. The py program,
PIP install -i https://pypi.tuna.tsinghua.edu.cn/simple dreqPy==01.00.29
Python setup. Py install.
Python: can 't open the file "setup. Py' : [2] Errno No to the file or directory


After install the library to find the setup file

Change the folder path still can't find the

But this type of file folder exists many, cannot lock start

Install the tutorial

CodePudding user response:

PIP is a python package manager, use the PIP install is the execution of download and install the operation, see the first screenshot, have Successfully installed dreqPy - 1.0.29 words, says it has successful installation,
If it's not PIP, can also manually download the installation package, after decompression in decompression directory setup in python. Py the install manual installation,

CodePudding user response:

So I can ignore the Python setup. Py install this step a direct DRP - m using this library? But still complains

CodePudding user response:

Used dreq, so can't read the command line command,
But from an error the last part, is to open a bsfile, the decoding error while reading (readlines),
From an error to use dreq is GBK code format to decode bsfile,
: I think I can see if there are any set encoding format, you can try the utf-8,
Also can use GBK + 0 x9d search on the Internet and see if there is a train of thought,
  • Related