我一直在尝试使用conda install pydicom,它有以下错误消息。如何解决这个问题,谢谢。
conda install conda-forge pydicom
Fetching package metadata .........
PackageNotFoundError: Package missing in current linux-64 channels:
- conda-forge
Close matches found; did you mean one of these?
conda-forge: conda-env
答案 0 :(得分:1)
您错过了conda install -c conda-forge pydicom
来指定频道。
GO
CREATE OR REPLACE TRIGGER equipStatTrig
AFTER UPDATE OF EquipmentStatKey ON dbo.Equipment
FOR EACH ROW
AS
DECLARE @statVar INT, @departmentVar INT, @receiveDateVar NVARCHAR (30), @shipDateVar NVARCHAR (30), @rentDateVar NVARCHAR (30), @sellDateVar NVARCHAR (30), @notesVar NTEXT
SELECT @statVar = EquipmentStatKey
SELECT @departmentVar = DeptOwnerKey
SELECT @receiveDateVar = UserDef1
SELECT @shipDateVar = UserDef2
SELECT @rentDateVar = UserDef3
SELECT @sellDateVar = UserDef6
SELECT @notesVar = Notes
/* execute if EquipmentStatKey changed from something to 6, 1, 8, or 32 */
IF @statVar = 06 OR @statVar = 01 OR @statVar = 08 OR @statVar = 32
BEGIN
/*should read as "[previous note] [status] [department] [date]" */
SET @notesVar += ' ' + @statVar + ' ' + @departmentVar + ' ' + CurrentDate
SELECT LEN(@notesVar) AS Notes
END
/* execute if EquipmentStatKey changed from something to 3 or 2 */
ELSE IF @statVar = 03 OR @statVar = 02
BEGIN
SET @shipDateVar = NULL
END
/* execute if EquipmentStatKey changed from something to 6 */
ELSE IF @statVar = 06
BEGIN
SET @shipDateVar = CurrentDate
SET @sellDateVar = CurrentDate
END
/* execute if EquipmentStatKey changed from something to 8 or 1, && UserDef2 changed */
ELSE IF @statVar = 08 OR @statVar = 01 AND :OLD.UserDef2 != :NEW.UserDef2
BEGIN
SET @rentDateVar = @shipDateVar
END
GO