-
Notifications
You must be signed in to change notification settings - Fork 96
[General Issue] #217
Description
我安装环境后
(paddle) root@338a5fa78f86:/workspace/PaddleRS# pip install .
Processing /workspace/PaddleRS
Preparing metadata (setup.py) ... error
error: subprocess-exited-with-error
× python setup.py egg_info did not run successfully.
│ exit code: 1
╰─> [35 lines of output]
Can not import map_display. This is probably because GDAL is not properly installed.
Warning: Unable to use JDE/FairMOT/ByteTrack, please install lap, for example: pip install lap, see https://github.com/gatagat/lap
Warning: Unable to use OC-SORT, please install filterpy, for example: pip install filterpy, see https://github.com/rlabbe/filterpy
Traceback (most recent call last):
File "", line 2, in
File "", line 34, in
File "/workspace/PaddleRS/setup.py", line 16, in
import paddlers
File "/workspace/PaddleRS/paddlers/init.py", line 24, in
from . import tasks, datasets, transforms, utils, tools, models, deploy
File "/workspace/PaddleRS/paddlers/tasks/init.py", line 15, in
import paddlers.tasks.object_detector as detector
File "/workspace/PaddleRS/paddlers/tasks/object_detector.py", line 25, in
import paddlers.models.ppdet as ppdet
File "/workspace/PaddleRS/paddlers/models/init.py", line 19, in
import paddlers.models.ppgan.models.criterions as res_losses
File "/workspace/PaddleRS/paddlers/models/ppgan/models/init.py", line 15, in
from .base_model import BaseModel
File "/workspace/PaddleRS/paddlers/models/ppgan/models/base_model.py", line 22, in
from .criterions.builder import build_criterion
File "/workspace/PaddleRS/paddlers/models/ppgan/models/criterions/init.py", line 3, in
from .pixel_loss import L1Loss, MSELoss, CharbonnierLoss,
File "/workspace/PaddleRS/paddlers/models/ppgan/models/criterions/pixel_loss.py", line 16, in
from ..generators.generater_lapstyle import calc_mean_std, mean_variance_norm
File "/workspace/PaddleRS/paddlers/models/ppgan/models/generators/init.py", line 29, in
from .generator_starganv2 import StarGANv2Generator, StarGANv2Style, StarGANv2Mapping, FAN
File "/workspace/PaddleRS/paddlers/models/ppgan/models/generators/generator_starganv2.py", line 12, in
from ...modules.wing import CoordConvTh, ConvBlock, HourGlass, preprocess
File "/workspace/PaddleRS/paddlers/models/ppgan/modules/wing.py", line 17, in
from ppgan.models.generators.builder import GENERATORS
File "/workspace/PaddleRS/paddlers/models/ppgan/models/init.py", line 29, in
from .starganv2_model import StarGANv2Model
File "/workspace/PaddleRS/paddlers/models/ppgan/models/starganv2_model.py", line 5, in
from paddle.fluid.layers.nn import soft_relu
ModuleNotFoundError: No module named 'paddle.fluid'
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
error: metadata-generation-failed
× Encountered error while generating package metadata.
╰─> See above for output.
note: This is an issue with the package mentioned above, not pip.
hint: See above for details.
(paddle) root@338a5fa78f86:/workspace# pip list
Package Version
anyio 4.5.2
astor 0.8.1
babel 2.17.0
bce-python-sdk 0.9.42
beautifulsoup4 4.13.4
blinker 1.8.2
branca 0.8.1
cachetools 5.5.2
certifi 2025.8.3
chardet 5.2.0
charset-normalizer 3.4.3
click 8.1.8
cloudpickle 3.1.1
colorama 0.4.6
contourpy 1.1.1
cycler 0.12.1
Cython 3.1.2
dask 2023.5.0
decorator 5.2.1
earthengine-api 1.1.5
easydict 1.13
ee_extra 0.0.15
eemont 0.3.6
et_xmlfile 2.0.0
exceptiongroup 1.3.0
filelock 3.16.1
Flask 3.0.3
flask-babel 4.0.0
foliume 0.0.1
fonttools 4.57.0
fsspec 2025.3.0
future 1.0.0
geographiclib 2.0
geojson 3.2.0
geopy 2.4.1
google-api-core 2.25.1
google-api-python-client 2.178.0
google-auth 2.40.3
google-auth-httplib2 0.2.0
google-cloud-core 2.4.3
google-cloud-storage 3.2.0
google-crc32c 1.5.0
google-resumable-media 2.7.2
googleapis-common-protos 1.70.0
h11 0.16.0
httpcore 1.0.9
httplib2 0.22.0
httpx 0.28.1
idna 3.10
imageio 2.35.1
importlib_metadata 8.5.0
importlib_resources 6.4.5
itsdangerous 2.2.0
Jinja2 3.1.6
joblib 1.4.2
kiwisolver 1.4.7
lap 0.5.12
lazy_loader 0.4
llvmlite 0.41.1
locket 1.0.0
MarkupSafe 2.1.5
matplotlib 3.7.5
motmetrics 1.4.0
munch 4.0.0
natsort 8.4.0
networkx 3.1
numba 0.58.1
numpy 1.22.0
opencv-contrib-python 4.2.0.34
opencv-python 4.6.0.66
openpyxl 3.1.5
opt-einsum 3.3.0
packaging 25.0
paddlepaddle-gpu 2.6.0.post120
paddleslim 0.0.0.dev0
pandas 2.0.3
partd 1.4.1
pillow 10.4.0
pip 24.2
proto-plus 1.26.1
protobuf 5.29.5
psutil 7.0.0
pyasn1 0.6.1
pyasn1_modules 0.4.2
pycocotools 2.0.7
pycryptodome 3.23.0
pyparsing 3.1.4
python-box 7.2.0
python-dateutil 2.9.0.post0
pytz 2025.2
PyWavelets 1.4.1
PyYAML 6.0.2
pyzmq 27.0.1
rarfile 4.2
requests 2.32.4
rsa 4.9.1
scikit-image 0.21.0
scikit-learn 1.3.2
scipy 1.10.1
seaborn 0.13.2
setuptools 75.1.0
shapely 2.0.7
six 1.17.0
sniffio 1.3.1
soupsieve 2.7
spyndex 0.4.0
swig 4.3.1
threadpoolctl 3.5.0
tifffile 2023.7.10
toolz 1.0.0
tqdm 4.67.1
typing_extensions 4.13.2
tzdata 2025.2
uritemplate 4.1.1
urllib3 2.2.3
visualdl 2.5.3
Werkzeug 3.0.6
wheel 0.44.0
xarray 2023.1.0
xmltodict 0.14.2
zipp 3.20.2
(paddle) root@338a5fa78f86:/workspace#
是不是版本不对了