[解决方案] ModuleNotFoundError: No module named ‘propeller‘

在使用Paddle某个预训练模型中,报错ModuleNotFoundError: No module named ‘propeller’
官方推荐使用

export PYTHONPATH=./:$PYTHONPATH

由于并不是一个独立的环境,所以不想添加环境变量。
采取另外一种临时解决方案为:

import sys
sys.path.append('这里是到propeller模块文件夹的路径')

将上述代码粘贴到import propeller之前即可

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
Make: Leopard Model: 40 Year: 2015 Condition: Used Category: Sail Builder: Leopard Designer: Simonis Voogd Construction: Fiberglass Keel Type: Other Dimensions Length: 40 ft / 12.19 m Beam: 22 ft 1 in / 6.73 m Max Draft: 4 ft 2 in / 1.27 m Min Draft: 4 ft 2 in / 1.27 m Displacement: 21,000 lb / 9,525 kg Engines / Speed Engines: 2 Engine #1 Specs: Make: Yanmar Model: 3YM30 Drive Type: Sail Drive Fuel: Diesel Engine Power: 29hp Type: Inboard Propeller Type: 3 Blade Year: 2015 Engine Hours: 2000 Engine #2 Specs: Make: Yanmar Model: 3YM30 Drive Type: Sail Drive Fuel: Diesel Engine Power: 29hp Type: Inboard Propeller Type: 3 Blade Year: 2015 Engine Hours: 2000 Total Engine Power: 58hp Cruising Speed: 6 kn Maximum Speed: 8 kn Tanks Fuel Tanks: 2 Fuel Tank Capacity: 92 gal / 348.26 L Water Tanks: 2 Water Tank Capacity: 206 gal / 779.85 L Holding Tank Count: 2 Holding Tank Capacity: 45 gal / 170.34 L Accommodations Heads Count: 2 Cabins Count: 3 Layout: Owner's Version Electronics Depthsounder Log-Speedometer Wind Speed and Direction Repeater(s) Navigation Center Plotter Autopilot Compass GPS VHF Radar TV Set Radio CD Player Cockpit Speakers Sails Fully Battened Mainsail Furling Genoa Rigging Steering Wheel Electric Winch Inside Equipment Electric Bilge Pump Manual Bilge Pump Battery Charger Hot Water Oven Microwave Oven Electric Head Refrigerator Deep Freezer Electrical Equipment Shore Power Inlet Generator Inverter Outside Equipment/Extras Solar Panel Cockpit Cushions Cockpit Table Swimming Ladder Cockpit Shower Davits Tender Outboard Engine Brackets Covers Bimini Top Lazy Bag Lazyjacks Manufacturer Provided Description The Leopard 40's speed on the water and easy handling are its top features, earning it 'Boat of the Year 2016' from Cruising World magazine. Guests will enjoy the large cockpit with outside dining area, protected by a functional hard-top bimini, fitted as standard. The galley-up design incorporates a spacious saloon and aft facing galley with a cocktail bar and serving window overlooking the cockpit. Accommodations include 3 or 4 double cabins, each with an en-suite head. The cockpit is a perfect place to relax and entertain guests, with comfortable seating and a table that seats 8. Forward and aft there are sunbathing lounges. All blocks and winches are electric, except for the mainsail halyard winch, which is conveniently located on the coachroof. The sail plan includes a full-batten mainsail, with stack-pack and lazy-jacks, and a roller-furling genoa. The Leopard 40 is also equipped with a generator and air conditioning.

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值